Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a complete demo of how to build a kata container that shielded by Intel TDX? #9586

Open
zibinpan opened this issue May 2, 2024 · 4 comments
Labels
area/tdx question Requires an answer

Comments

@zibinpan
Copy link

zibinpan commented May 2, 2024

Is there a complete demo of how to build a kata container that shielded by Intel TDX?

I have a cloud server that supports Intel TDX. But I need to create some guest containers for other users to use. How can I use kata-container to do that? And how can the users do the remote attestation to ensure that their container is built from a trusted image and is shielded by Intel TDX?

Thanks.

@zibinpan zibinpan added the question Requires an answer label May 2, 2024
@fidencio
Copy link
Member

fidencio commented May 3, 2024

Is there a complete demo of how to build a kata container that shielded by Intel TDX?

It depends is the best answer I can give you.
Do you know what's the host stack on your side? Depending on the host stack we'll be able to guide you further on this.

I'd be interested to know what is:

  • Host OS
  • Host OS kernel version
  • TDX version

Once we know that, we can go into your other questions.

@zibinpan
Copy link
Author

zibinpan commented May 3, 2024

@fidencio Hi, it's on Ubuntu 22.04 OS in the kernel version of 6.5.0-28-generic. But my TDX version is unknown.

@fidencio
Copy link
Member

fidencio commented May 3, 2024

@fidencio Hi, it's on Ubuntu 22.04 OS in the kernel version of 6.5.0-28-generic. But my TDX version is unknown.

For Ubuntu, I'd recommend you move to 24.04 and then set up TDX according to: https://github.com/canonical/tdx/tree/noble-24.04
I was not yet able to validate that Kata Containers will work on the distro as it is, but I'm in the process to do so (but I will be off till Thu next week, so responses will get delayed).

Let me know if you can follow those instructions, and then I will give you more instructions on how to deploy Kata Containers on that system (after TDX is fully enabled). Last but not least, I'm not sure if Canonical's shipped QEMU has full support for attestation, I'll need to double check that, and will let you know once I get my evaluation done.

@fidencio
Copy link
Member

fidencio commented May 3, 2024

Also, please, subscribe to #9590, as that is of your interest as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/tdx question Requires an answer
Projects
Issue backlog
  
To do
Development

No branches or pull requests

2 participants