When to use serverless
How do you decide whether a serverless deployment model is right for your application? As the following diagram shows, the decision begins with determining whether your applications need full access to the underlying operating system on the EC2 instance onto which they are deployed. If they do need to access the operating system for application administration, management, or functionally purposes, a server-based deployment using EC2 instances is the best option.
If your applications do not need to access the underlying operating system directly, you should consider the application type. Applications that consist of short-running functions, or service-oriented event-driven applications, are a good fit for deploying to Lambda if you do not want to manage the underlying application environment. Otherwise, Amazon EC2 is a good choice.
For applications that are deployed using a Docker-based, container deployment model, you should consider using Amazon ECS or Amazon EKS. If you don't want to manage EC2 instances that the Docker platform resides on, Fargate would be a good fit for your application. Otherwise, it would be appropriate to deploy Amazon ECS or Amazon EKS on EC2 instances that you manage.
'CLOUD > AWS Cloud' 카테고리의 다른 글
AWS route tables에서 destination과 target이 의미하는 것? (+local의 의미?) (0) | 2022.09.07 |
---|---|
EC2에 SSH/RDP로 접근이 불가능하다면? (0) | 2022.09.06 |
Fargate (0) | 2022.09.06 |
SNS와 SQS의 차이? (0) | 2022.09.06 |
[의문] Auto-Scaling (+Scaling 더 빠르게 하는 법) (0) | 2022.09.06 |
최근댓글