how-to-install-on-aws
This doc describes the steps to install kata-containers + containerd on AWS and running a workload.
Since AWS does not support nested virtualization, we will have to use bare-metal instances.
For testing purposes, i3.metal instance type with Ubuntu 22.04 x86-64 AMI works the best. This combination is ideal for testing purposes. Allocate high amount of storage (64GB works)
Follow these steps to get the kata-containers release (steps borrowed from this link) :
Running a kata-container workload :
This creates a container named
test-kata
, which runs the shell workload (specified using the “sh” at the end of the run command). The final ls command is to view the containers. The hypervisor used is QEMU. The file-system for the guest is read-only in the default setting (which uses images, instead of initrd, the distinction is made clear further in this document)Attaching the debug-console to access the guest VM and exploring the kata-runtime options :
This command gives information about the configuration file and the OS image used by the guest VM. We need to change the following field in
Any containers created after enabling debug-console would have the facility of connecting with the guest VM. The command to connect with the guest VM is :
Last updated
Was this helpful?