I have a "Custom VPC" with two subnets (A private subnet & a public subnet).
In ECS, when I try and create a cluster with "Custom VPC" and both subnets selected. The EC2 instances launched, are by default launched in the private subnets.
- Why?, Is there a way to change the instance subnet after it is launched?
- Should ECS cluster only have public subnets of a VPC? and launch an instance on the private subnet through the 'Launch instance' wizard?
- Also, these instances have a public DNS even when the private subnet 'auto assign public IP' is disabled. Why?