A company plans to deploy containers on AWS. The company wants full control of the compute resources that host the containers. Which AWS service will meet these requirements?
C. Amazon EC2
Amazon EC2 (Elastic Compute Cloud) provides resizable compute capacity and allows you to have full control over the underlying infrastructure. With EC2, you can launch instances and deploy containers on them using container orchestration tools like Docker or Kubernetes while retaining control over the configuration, scaling, and management of the underlying virtual servers. This option provides the flexibility and control needed for managing compute resources directly.
Keyword: The company wants full control of the compute resources that host the containers.
The container should be run by using compute resource, so here EC2 is a only compute resource.
Answer is C. Amazon EC2
To deploy containers on AWS while maintaining full control over the compute resources that host the containers, the company should use Amazon Elastic Kubernetes Service (EKS) with self-managed nodes or Amazon Elastic Container Service (ECS) with self-managed EC2 instances.
Answer: C. Amazon EC2
Fargate: for serverless compute for containers, where AWS will manage your infrastructure provisioning.
EC2: For full control over your compute environment.
Amazon Elastic Container Service or Amazon Elastic Kubernetes Service: For container orchestrators.
C. Amazon EC2
Here's why:
Requirement: Full control over compute resources for container deployment.
Service Features:
EC2: Provides virtual machines (VMs) where users have complete control over configuration, resource allocation, and management.
EKS: A managed Kubernetes service, not offering direct control over underlying compute resources.
Fargate: Serverless container platform within ECS, where resources are managed by AWS.
ECS: Offers both managed and unmanaged options (EC2 Launch Type), but the EC2 Launch Type provides full control over compute resources.
Therefore, only EC2 allows complete user control over the VMs hosting the containers, fulfilling the company's specific need
Amazon Elastic Container Service (ECS) is a fully managed container orchestration service that helps you to more efficiently deploy, manage, and scale containerized applications. It deeply integrates with the AWS environment to provide an easy-to-use solution for running container workloads in the cloud and on premises with advanced security features using Amazon ECS Anywhere.
ECS for sure. Below is an excerpt from the doc:
"For full control over your compute environment, choose to run your containers on Amazon Elastic Compute Cloud (EC2)"
https://aws.amazon.com/containers/
In the link that you shared it's also mentioned EC2
"For full control over your compute environment, choose to run your containers on Amazon Elastic Compute Cloud (EC2)"
First EC2 is not ECS so this cannot be accurate.
Second for this who picked EC2 im not so sure check this out:
https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html
Main points are:
Provide bootstrap arguments at deployment of a node, such as extra kubelet arguments.
Assign IP addresses to Pods from a different CIDR block than the IP address assigned to the node.
Deploy your own custom AMI to nodes.
Deploy your own custom CNI to nodes.
That’s basically full control, you can use your own custom AMIs and also control all the other features so basically EKS should be the correct answer here.
Services like ECS and EKS provide managed orchestration of containers but the underlying compute is abstracted away. With EC2, the company can choose the instance types, availability zones, security groups etc as per their needs.
Not really though with EKS you can login to the systems and you can provide your own images so actually you do have full control of the compute it’s the backplane that is taken care of. Yes a lot of stuff gets automated on those node systems but to say you don’t have full control of them isn’t accurate.
"AWS Container services" section on following link explains use cases for different AWS services very well. Company can have full control of the compute resources that hosts the containers through Amazon EC2.
https://aws.amazon.com/containers/
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
chalaka
Highly Voted 7 months agoKeeRee
Most Recent 1 week agoAravindrajG
1 month, 3 weeks agoMUTA
5 months, 2 weeks agomoadabdou
6 months agoclermagic224
6 months, 1 week agochalaka
7 months, 1 week agoDeepu_Ahuja
8 months, 1 week agobd009999
9 months, 2 weeks agoLinuxChamp
9 months, 2 weeks agoBobFar
9 months, 2 weeks agoJames_Srm
9 months, 2 weeks agoCjroblese
9 months, 3 weeks agoNaj_64
10 months agoBobFar
9 months, 2 weeks agoetrop
10 months agoAnnkurrrr
10 months, 1 week agoetrop
10 months agoBShelat
10 months, 2 weeks agojazkhan
10 months, 2 weeks ago