Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in AWS by (19.1k points)

I have several instances on a vpc that communicate with each other through their private IPs. Each instance was launched some time ago and assigned a random public IP which is not used for anything. Since anything that is public presents a vulnerability and they are not used at all, I would like to remove them.

Is it possible to Remove public Ip Addresses without terminating the instance?

1 Answer

0 votes
by (44.4k points)

If you are using an Elastic IP then it would be possible. Because when you remove it, then the normal public IP address will be given. Or you can create an image of the instance, and create another EC2 instance using it which will surely have a different IP. 

Related questions

0 votes
2 answers
Want to get 50% Hike on your Salary?

Learn how we helped 50,000+ professionals like you !

+1 vote
1 answer
0 votes
1 answer

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...