A company is deploying a containerized network monitoring tool on AWS. The tool must capture network traffic by running in privileged mode to access raw network sockets on the host. The application runs continuously, and the company wants to use a managed container orchestration service to manage the containers while retaining the ability to configure the host operating system when necessary. Which AWS compute option best meets these requirements?
- Amazon Elastic Container Service (Amazon ECS) hosted on Amazon Elastic Compute Cloud (Amazon EC2)Answer
- BAmazon Elastic Container Service (Amazon ECS) hosted on AWS Fargate
- CAWS Lambda function package deployed as a container image
- DAmazon Lightsail container service
Answer
Amazon Elastic Container Service (Amazon ECS) hosted on Amazon Elastic Compute Cloud (Amazon EC2)
Amazon Elastic Container Service (Amazon ECS) hosted on Amazon Elastic Compute Cloud (Amazon EC2) is correct because it provides container orchestration while allowing full administrative root access to the underlying EC2 instances. This allows the customer to run containers in privileged mode and modify the host operating system settings to capture raw network traffic.
Step-by-Step Solution
Key Concept
Distinguishing between serverless container hosting (AWS Fargate) and server-based container hosting (Amazon ECS on Amazon EC2) based on host-level control and privileged access requirements.
Estimated Time:2m 0s