Question #1919
A company wants to use Amazon Elastic Container Service (Amazon ECS) to deploy its application in a hybrid environment spanning on-premises infrastructure and the AWS Cloud. The application is containerized and requires a solution that can scale seamlessly across both environments. The company needs to maintain control over the underlying EC2 instances for their cloud-based containers and must implement a load balancer optimized for HTTP traffic.
Which combination of steps will meet these requirements? (Choose two.)
Configure an ECS cluster using AWS Fargate launch type for cloud containers and Amazon ECS Anywhere external launch type for on-premises containers.
Set up an Application Load Balancer to manage HTTP traffic for the cloud-based ECS services.
Deploy a Network Load Balancer to direct traffic to the ECS services running in the cloud.
Use AWS Fargate launch type for both cloud and on-premises containers within a single ECS cluster.
Create an ECS cluster with the Amazon EC2 launch type for cloud containers and Amazon ECS Anywhere with EC2 instances for on-premises containers.
Explanation
The company requires control over EC2 instances in the cloud, which rules out AWS Fargate (A, D). Option E uses the EC2 launch type for cloud containers (retaining EC2 control) and ECS Anywhere for on-premises integration. For HTTP traffic, an Application Load Balancer (B) is ideal due to its Layer 7 routing and HTTP/HTTPS optimization, unlike the Network Load Balancer (C), which operates at Layer 4. Key points: Use EC2 launch type for EC2 control, ECS Anywhere for hybrid environments, and ALB for HTTP traffic.
Answer
The correct answer is: BE