Is it possible to run docker on EC2?

8/15/2018

Is it possible to have nested virtualization in AWS with the EC2 in order to use Docker or Kubernetes or should I rather use the ECS (elastic container service) for Docker or EKS ( elastic kubernetes service) for Kubernetes?

-The reason I am asking this question is first if is possible to run docker or kubernetes on EC2 and in case I can why there are such services as EKS and ECS?

Thank you in advance!

-- PyTux
amazon-ec2
amazon-web-services
docker
kubernetes

1 Answer

8/15/2018

Yes, you can run a container on a VM. This is described in Docker's introductory documentation. ECS and EKS both have the option to run on EC2 instances. The reason to use ECS and EKS is to outsource the management of the orchestration tooling. Many people have and continue to manage the orchestration themselves for either control or cost savings, while many others look for opportunities to outsource these pieces.

-- BMitch
Source: StackOverflow