Service · Serverless
AWS Fargate
Serverless compute for containers: no servers or clusters of instances to manage.
ဒီသင်ခန်းစာကို မြန်မာဘာသာ မပြန်ရသေးလို့ အင်္ဂလိပ်လို ပြထားပါတယ်။
- 1You define a task or pod with the CPU and memory it needs, and give it to ECS or EKS.
- 2Fargate provides the compute and runs it in its own isolated environment.
- 3You pay for the resources it requested, only while it runs.
အဆင့်ဆင့်
- 1You define a task or pod with the CPU and memory it needs, and give it to ECS or EKS.
- 2Fargate provides the compute and runs it in its own isolated environment.
- 3You pay for the resources it requested, only while it runs.
How a container runs on Fargate.
Servers
- On Fargate
- None for you to manage
- On EC2 instances
- Instances in your account, managed by you or by AWS
You pay for
- On Fargate
- The CPU and memory each task requests, while it runs
- On EC2 instances
- The instances, even when they are not fully used
A good fit for
- On Fargate
- Less operational work, with no servers to patch
- On EC2 instances
- GPUs, specific instance types, or full control of the hosts
| နှိုင်းယှဉ်ချက် | On Fargate | On EC2 instances |
|---|---|---|
| Servers | None for you to manage | Instances in your account, managed by you or by AWS |
| You pay for | The CPU and memory each task requests, while it runs | The instances, even when they are not fully used |
| A good fit for | Less operational work, with no servers to patch | GPUs, specific instance types, or full control of the hosts |
1 / 2
Servers
- On Fargate
- None for you to manage
- On EC2 instances
- Instances in your account, managed by you or by AWS
You pay for
- On Fargate
- The CPU and memory each task requests, while it runs
- On EC2 instances
- The instances, even when they are not fully used
| နှိုင်းယှဉ်ချက် | On Fargate | On EC2 instances |
|---|---|---|
| Servers | None for you to manage | Instances in your account, managed by you or by AWS |
| You pay for | The CPU and memory each task requests, while it runs | The instances, even when they are not fully used |
2 / 2
A good fit for
- On Fargate
- Less operational work, with no servers to patch
- On EC2 instances
- GPUs, specific instance types, or full control of the hosts
| နှိုင်းယှဉ်ချက် | On Fargate | On EC2 instances |
|---|---|---|
| A good fit for | Less operational work, with no servers to patch | GPUs, specific instance types, or full control of the hosts |
ဘာလဲ
AWS Fargate is a serverless compute engine for containers. It works with Amazon Elastic Container Service (Amazon ECS), Amazon Elastic Kubernetes Service (Amazon EKS) and AWS Batch. You say how much CPU and memory each task or pod needs, and Fargate runs it. You never choose, patch or scale the servers underneath.
Each task or pod runs in its own isolated environment. You pay for the CPU and memory that your tasks request, while they run, so there is no idle server to pay for.
ဘာလဲ
Fargate and AWS Lambda are both serverless. Choose Fargate when your application is already packaged as containers, or runs for a long time. Choose containers on Amazon EC2 instances instead when you need GPUs or specific instance types.
မှတ်ထားရန်
- Serverless containers: no EC2 instances to manage.
- Works with Amazon ECS, Amazon EKS and AWS Batch.
- You set the CPU and memory per task. Fargate provides the capacity.
- Each task or pod is isolated in its own environment.
- You pay for the resources your tasks request, while they run.
စာမေးပွဲမှာ
- “Run containers without managing servers or clusters” points to AWS Fargate.
- “Run code without managing servers”, with no mention of containers, points to AWS Lambda instead.