ladderlore
ガイドをリクエスト
  • S3 や IAM などのサービス名を入力してください。

概念

Choosing a compute option

Virtual servers, containers or serverless: how to pick the right AWS compute service.

このレッスンはまだ翻訳されていないため、英語で表示しています。

Do you need full control of the server?
EC2
Is the app packaged as containers?
Containers
Does it run only when an event happens?
LambdaElastic Beanstalkはいいいえはいいいえはいいいえ
A quick way to narrow the choice.
  • Full control of a virtual server and its operating system

  • Upload code, and AWS sets up the servers, load balancing and scaling

  • A simple website or small app for a fixed monthly price

  • Containers run by AWS’s own orchestration service

  • Containers run with Kubernetes

  • Containers with no servers to manage

  • Code that runs when an event happens, with no servers

  • Large numbers of batch jobs, queued and scheduled

  • AWS compute inside your own data center

Clues that point to each compute service.

1 / 3

  • Full control of a virtual server and its operating system

  • Upload code, and AWS sets up the servers, load balancing and scaling

  • A simple website or small app for a fixed monthly price

2 / 3

  • Containers run by AWS’s own orchestration service

  • Containers run with Kubernetes

  • Containers with no servers to manage

3 / 3

  • Code that runs when an event happens, with no servers

  • Large numbers of batch jobs, queued and scheduled

  • AWS compute inside your own data center

Clues that point to each compute service.

概要

Compute is the processing power that runs your applications. AWS offers it in three main forms. Virtual servers on Amazon Elastic Compute Cloud (Amazon EC2) give you the most control. Containers package an application so it runs the same way everywhere. Amazon Elastic Container Service (Amazon ECS) or Amazon Elastic Kubernetes Service (Amazon EKS) runs them. Serverless options run your work with no servers for you to manage: AWS Lambda runs code, and AWS Fargate runs containers.

概要

The more AWS manages, the less work you do, and the less control you keep. Exam questions usually describe a need, such as “no servers to manage” or “full control of the operating system”, and ask which service fits.

Other services fit special cases. AWS Elastic Beanstalk deploys a web application from your code. Amazon Lightsail gives you a simple server for a fixed monthly price. AWS Batch queues and runs large numbers of jobs. AWS Outposts brings AWS compute into your own data center.

覚えること

  • Amazon EC2: the most control. You manage the operating system and its patches.
  • Containers: Amazon ECS or Amazon EKS runs them, on EC2 instances or on Fargate.
  • Serverless: Lambda runs code and Fargate runs containers, with no servers for you to manage.
  • Elastic Beanstalk and Lightsail set up the servers for you.

覚えること

  • More managed means less work, but fewer settings you can change.
  • Auto Scaling adds and removes instances as demand changes, which gives elasticity. Elastic Load Balancing spreads traffic across them.

試験では

  • “Run code without provisioning or managing servers” points to AWS Lambda. “Run containers without managing servers” points to AWS Fargate.
  • “Full control of the operating system” or “move a server to AWS as it is” points to Amazon EC2.