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.
Amazon EC2 provides complete control over the underlying compute resources, such as virtual machines (instances), that host your containers. With EC2, you can choose the instance types, customize the instance configurations, and manage the operating system and software stack. This gives you full flexibility and control over your container environment.
C. Amazon EC2
If a company wants full control of the compute resources that host their containers, they can deploy containers on Amazon EC2 instances. This approach allows them to configure and manage the underlying virtual machines (e.g., operating system, instance type, and storage), giving them complete control over the environment.
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.
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 9 months, 1 week agoMephiboshethGumani
Most Recent 1 week, 3 days agoAmin_013
1 month agoKeeRee
2 months, 2 weeks agoAravindrajG
4 months agoMUTA
7 months, 3 weeks agomoadabdou
8 months, 1 week agoclermagic224
8 months, 3 weeks agochalaka
9 months, 3 weeks agoDeepu_Ahuja
10 months, 3 weeks agobd009999
11 months, 3 weeks agoLinuxChamp
11 months, 3 weeks agoBobFar
11 months, 4 weeks agoJames_Srm
12 months agoCjroblese
12 months agoNaj_64
1 year agoBobFar
11 months, 4 weeks agoetrop
1 year agoAnnkurrrr
1 year agoetrop
1 year ago