I launched the majority of my EC2 instances with network interfaces that automatically assign public IP addresses. Now that I no longer want them to have public addresses, is there any way to disable this setting without having to create new interfaces?

| improve this question | | | | |

If you launch your EC2 inside a VPC, you can disable auto-assigning public IP address to subnet.

If you launch classic EC2, you can't do it.


| improve this answer | | | | |
  • The problem is that when launching a machine, you can override the subnet setting. The question is, how can this override be removed? – Matthew Dec 4 '15 at 19:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.