How to Remove Public IP Addresses from AWS EC2 Instances
In this video, learn how to remove public IP addresses from EC2 instances with just a few clicks. This update is important for two reasons – improving security by reducing ingress points and lowering costs since AWS now charges for public IPs.
You’ll see a step-by-step demo of removing a public IP address from an existing EC2 instance using the AWS Management Console and the AWS Command Line Interface (CLI). The video covers disassociating the public IP by modifying the Elastic Network Interface settings in the console.
It also shows the AWS CLI command for programmatically removing the public IP from an instance. This new EC2 feature provides an easy way to clean up unused public IPs and tighten security on your EC2 resources. Whether using the console or CLI, this quick tutorial gets you hands-on practice with this newly added capability.
VPC Template: https://github.com/curiousorbit-com/cloudformation/tree/main/services/vpc
ip address