Lesson 4 of 4 Compute Services

Choosing the Compute Option with the Least Management

This lesson explains how AWS offers compute at several levels of control. The more AWS manages, the less you operate, but the fewer settings you can change, and questions usually ask for the option with the least management that still fits the need.

Learning outcomes

After completing this lesson, you will be able to:

  • Order the AWS compute services from most control to least management.
  • Distinguish Amazon ECS, Amazon EKS and AWS Fargate.
  • Identify the compute options that run outside AWS Regions.

From most control to least management

AWS compute services range from full control to almost no management. With Amazon EC2, you manage the operating system, patching, scaling and software, which gives full control and suits any software and lift-and-shift migrations. Amazon Lightsail offers simple virtual servers at a fixed monthly price, for simple websites, blogs and beginners. With AWS Elastic Beanstalk, you provide only the application code, and AWS creates the servers, load balancing and scaling.

With ECS or EKS on Fargate, you provide container images and manage no servers at all. With AWS Lambda, you provide only functions, which run in response to events for up to 15 minutes each. AWS Batch runs large numbers of batch jobs, scheduling and scaling the compute for you. When several options meet a requirement, the expected exam answer is usually the one with the least management. The following table summarises the options.

ServiceYou manageGood for
Amazon EC2The OS, patching, scaling setup and softwareFull control, any software, lift-and-shift migrations
Amazon LightsailA simple virtual server with a fixed monthly priceSimple websites, blogs and small applications; beginners
AWS Elastic BeanstalkYour application code; AWS provisions servers, load balancing and scalingDeploying web applications quickly without managing infrastructure
Amazon ECS / EKS with FargateContainer images; no serversContainerized applications
AWS LambdaOnly your functionsEvent-driven code that runs for up to 15 minutes
AWS BatchJob definitions; AWS schedules and scales computeLarge numbers of batch jobs
Put in order

Control versus management

Exam skills 3.3.1 · 3.3.3

Order the compute options from most customer management to least.

Log in to try this activity Interactive activities are free with an account.

Containers

AWS offers several services for running and storing containers. The following list describes them.

  • Amazon ECS: AWS's own container orchestration service.
  • Amazon EKS: managed Kubernetes, for teams that use Kubernetes.
  • AWS Fargate: runs ECS or EKS containers without managing servers.
  • Amazon ECR: stores container images.

Compute outside AWS Regions

Some workloads require compute capacity outside the AWS Regions. The following list describes the services that provide it.

  • AWS Outposts: AWS hardware installed in your own data centre.
  • AWS Local Zones: compute close to large cities for low latency.
Scenario questions

Choosing compute

Exam skills 3.3.1 · 3.3.3

Choose the compute option with the least management that meets each need.

Log in to try this activity Interactive activities are free with an account.
Worked example

A developer wants to deploy a web application by uploading code, with AWS handling capacity provisioning, load balancing, scaling and health monitoring. Which service fits best?

AWS Elastic Beanstalk. EC2 would require setting up the infrastructure; Lambda runs functions rather than a traditional web application; Lightsail is simpler but does not automatically scale the application in the same way.

Check yourself

Which service runs batch computing jobs without you managing the servers?

Show answer

AWS Batch.

Exam Tips

Remember for the exam

  • EC2 gives the most control; Lambda requires the least management.
  • Lightsail offers simple virtual servers with predictable monthly pricing.
  • Elastic Beanstalk deploys applications while AWS manages the infrastructure.
  • Fargate runs containers without servers; ECS and EKS orchestrate them.
  • AWS Batch runs batch jobs at scale.
  • Outposts and Local Zones extend AWS beyond Regions.