概念
Choosing a compute option
Virtual servers, containers or serverless: how to pick the right AWS compute service.
本课尚未翻译,暂以英文显示。
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
| If the question mentions | Choose |
|---|---|
| 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 |
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
| If the question mentions | Choose |
|---|---|
| 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 |
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
| If the question mentions | Choose |
|---|---|
| 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 |
是什么
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.