Skip to content

Are there any problem to set MapPublicIpOnLaunch of public subnets to FALSE? #2451

Answered by Lou1415926
zkohi asked this question in Q&A
Discussion options

You must be logged in to vote

Hi zkohi!!

MapPublicIpOnLaunch is set true so that instances in those subnets are automatically assigned a public address, which is required for them to communicate with the internet.

If set to FALSE, future instances (for example, your service's tasks) launched in that subnet will not receive a public address during launch. You can still manually assign the instance a public IP after launch, but you will have to use an Elastic IP address, as noted in this doc:

This feature is only available during launch. However, whether or not you assign a public IPv4 address to your instance during launch, you can associate an Elastic IP address with your instance after it's launched. For more inform…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@zkohi
Comment options

Answer selected by zkohi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants