Deployment Pattern 3 - Amazon ECS (Containerized)
Amazon Elastic Container Service (ECS) with API gateway orchestrates Docker containers running MCP server applications. ECS supports both AWS Fargate for serverless container execution and EC2 launch types for more control. The architecture diagram illustrates the "Public front door + private MCP runtime" pattern, where Amazon API Gateway is the only internet-facing endpoint, and enforces OAuth authorization. API Gateway then reaches into the VPC using VPC link v2 to call an internal Application Load Balancer. The private ALB forwards an ECS service running on the remote MCP server.
Sample implementation: https://github.com/aws-samples/sample-mcp-deployment-patterns/tree/main/deploy-ecs

Architecture Characteristics
Pros: Backend stays private: ALB and ECS are not internet-exposed; only API Gateway is public. Centralized security controls at API Gateway, Centralized throttling, quotas, and logging management.
Limitations: API Gateway has default Timeouts and Payload limits. If any of the MCP tools are taking longer, then need to make the MCP tool async, or use Rest API and raise timeouts beyond 29s. If there are tools designed to run for a long time, then need to remove API Gateway and use public Application Load Balancer instead.