Q58. AWS Fargate로 컨테이너 관리의 부담을 덜다 - ECS의 서버리스 솔루션
AWS 자격증을 준비하는 여러분, 안녕하세요. 오늘은 컨테이너 관리와 관련된 중요한 개념을 다루는 문제를 살펴보겠습니다. 이 문제는 기업이 인프라 관리 부담을 줄이면서 컨테이너화된 애플리케이션을 효율적으로 운영하는 방법에 대해 다루고 있습니다.
문제 상황
Q1:
회사는 확장성 및 가용성에 대한 요구 사항을 충족하기 위해 컨테이너에서 중요한 응용 프로그램을 실행하려고 합니다. 회사는 중요한 응용 프로그램의 유지 관리에 집중하는 것을 선호합니다. 회사는 컨테이너화된 워크로드를 실행하는 기본 인프라의 프로비저닝 및 관리에 대한 책임을 원하지 않습니다.
솔루션 설계자는 이러한 요구 사항을 충족하기 위해 무엇을 해야 합니까?
<small>A company wants to run a critical application in containers to meet requirements for scalability and availability. The company prefers to focus on maintenance of the critical application. The company does not want responsibility for provisioning and managing the underlying infrastructure that runs the containerized workloads.
What should a solutions architect do to meet these requirements?</small>
선택지
A. Amazon EC2 인스턴스를 사용하고 인스턴스에 Docker를 설치합니다.
<small>Use Amazon EC2 instances and install Docker on the instances.</small>
B. Amazon EC2 작업자 노드에서 Amazon Elastic Container Service(Amazon ECS)를 사용합니다.
<small>Use Amazon Elastic Container Service (Amazon ECS) on Amazon EC2 worker nodes.</small>
C. AWS Fargate에서 Amazon Elastic Container Service(Amazon ECS)를 사용합니다.
<small>Use Amazon Elastic Container Service (Amazon ECS) on AWS Fargate.</small>
D. Amazon Elastic Container Service(Amazon ECS)에 최적화된 Amazon 머신 이미지(AMI)의 Amazon EC2 인스턴스를 사용합니다.
<small>Use Amazon EC2 instances from an Amazon Machine Image (AMI) that is optimized for Amazon Elastic Container Service (Amazon ECS).</small>
정답 및 해설
정답은 C입니다.
AWS Fargate에서 Amazon Elastic Container Service(Amazon ECS)를 사용하는 것이 이 상황에 가장 적합한 솔루션입니다.
<small>The correct answer is C. Using Amazon Elastic Container Service (Amazon ECS) on AWS Fargate is the most suitable solution for this scenario.</small>
AWS Fargate는 서버리스 컴퓨팅 엔진으로, Amazon ECS와 함께 사용하여 컨테이너를 실행할 수 있습니다. Fargate를 사용하면 기업은 컨테이너화된 애플리케이션을 실행하는 데 필요한 서버를 프로비저닝하고 관리할 필요가 없습니다. 이는 다음과 같은 이점을 제공합니다:
-
인프라 관리 부담 감소: Fargate는 기본 인프라를 자동으로 관리하므로, 기업은 서버 프로비저닝, 패치 적용, 클러스터 관리 등에 신경 쓰지 않아도 됩니다.
-
확장성: Fargate는 애플리케이션의 요구사항에 따라 자동으로 확장되므로, 높은 확장성을 제공합니다.
-
가용성: AWS가 인프라를 관리하므로, 높은 가용성을 보장합니다.
-
비용 효율성: 실제 사용한 리소스에 대해서만 비용을 지불하므로, 리소스 활용도를 최적화할 수 있습니다.
이러한 특성들은 문제에서 언급된 회사의 요구사항, 즉 애플리케이션 유지보수에 집중하고 인프라 관리 부담을 줄이면서 확장성과 가용성을 확보하고자 하는 목표와 정확히 일치합니다.
<small>AWS Fargate is a serverless compute engine for containers that works with Amazon ECS. By using Fargate, companies can run containerized applications without the need to provision and manage the underlying servers. This provides several benefits:
-
Reduced infrastructure management: Fargate automatically manages the underlying infrastructure, so companies don't need to worry about server provisioning, patching, or cluster management.
-
Scalability: Fargate scales automatically based on the application's requirements, providing high scalability.
-
Availability: As AWS manages the infrastructure, high availability is ensured.
-
Cost-efficiency: You only pay for the resources you actually use, optimizing resource utilization.
These characteristics align perfectly with the company's requirements mentioned in the problem: focusing on application maintenance, reducing infrastructure management burden, while ensuring scalability and availability.</small>
오답 설명
A. Amazon EC2 인스턴스를 사용하고 인스턴스에 Docker를 설치하는 방법:
이 방법은 인프라 관리에 대한 책임을 회사가 져야 하므로 요구사항을 충족하지 않습니다.
<small>A. Using Amazon EC2 instances and installing Docker on them:
This approach doesn't meet the requirements as it would require the company to take responsibility for infrastructure management.</small>
B. Amazon EC2 작업자 노드에서 Amazon ECS를 사용하는 방법:
이 방법도 EC2 인스턴스 관리에 대한 책임이 회사에 있어 요구사항을 충족하지 않습니다.
<small>B. Using Amazon ECS on Amazon EC2 worker nodes:
This approach also doesn't meet the requirements as it would still require the company to manage EC2 instances.</small>
D. ECS에 최적화된 AMI의 EC2 인스턴스를 사용하는 방법:
이 방법 역시 EC2 인스턴스 관리에 대한 책임이 회사에 있어 요구사항을 충족하지 않습니다.
<small>D. Using EC2 instances from an ECS-optimized AMI:
This approach also doesn't meet the requirements as it would still require the company to manage EC2 instances, even if they are optimized for ECS.</small>
결론
이 문제는 AWS의 컨테이너 서비스와 서버리스 컴퓨팅의 개념을 이해하고 있는지 평가합니다. AWS Fargate를 사용한 ECS는 기업이 인프라 관리 부담 없이 컨테이너화된 애플리케이션을 효율적으로 운영할 수 있게 해주는 강력한 솔루션입니다. 이는 현대적인 클라우드 아키텍처에서 중요한 개념이므로, AWS 솔루션 아키텍트로서 이러한 서비스의 특성과 사용 사례를 잘 이해하고 있어야 합니다.
<small>This question assesses understanding of AWS container services and serverless computing concepts. Using ECS with AWS Fargate is a powerful solution that allows companies to efficiently run containerized applications without the burden of infrastructure management. This is an important concept in modern cloud architecture, so as an AWS Solutions Architect, it's crucial to understand the characteristics and use cases of these services.</small>
댓글
댓글 쓰기