aws / containers-roadmap

This is the public roadmap for AWS container services (ECS, ECR, Fargate, and EKS).
https://aws.amazon.com/about-aws/whats-new/containers/
Other
5.19k stars 315 forks source link

[ECS] [request]: auto assign public IP with EC2 launch type #450

Open blakegreendev opened 4 years ago

blakegreendev commented 4 years ago

Tell us about your request Please add support to auto assign public IP with EC2 mode and awsvpc network mode.

Which service(s) is this request for? ECS

Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard? We are trying to deploy a publicly accessible ECS service with EC2 mode and awsvpc network mode, however, when we ENABLE assign public IP in the network configuration of the cloudformation template, the error messages says it's not supported.

Are you currently working around this issue? Currently don't have a workaround yet, although might consider Fargate.

02strich commented 4 years ago

This is a really surprising limitation making it hard to host services that do not support load balancers very well (e.g. because they insist on auto-discovering their public IP).

BwL1289 commented 5 months ago

Is there an update on this? It's hard to believe this is still a limitation. NAT gateways are expensive and unnecessary for many use cases. And if Fargate is not an option due to its own limitations, we're left with Host or Bridge mode.

Re: Host mode, the aws docs even explicitly state "We do not recommend using this mode."