How to assign elastic, you can see I have one instance running and will attach this Elastic IP to the server. Right now the public IP automatically assigns. you can attach and association with elastic IP to ec2 instance in AWS public as well as static IP.
you can buy and assign Elastic IP to your running instance. This is a permanent IP that won’t be changed when your instance reboots.
How To Assign Elastic IP To Server On Amazon Cloud: so:
This will be chargeable when you’re not using it with any instance.
You need to create an Elastic IP in VPC. so
VPC -> elastic IP -> allocate new address
Click on Allocate new address
Elastic IP allocated.
You have to associate this IP to a server.
Click on the Associate address
Now check the IP has been assigned. so
I’m also able to do ssh using this IP so
YouTube Link: Release Elastic IP From EC2
That’s it. static ip to ec2 attach public ip ec2 elastic ip with ec2 elastic ip association