How To Add and Associate a New AWS Elastic IP (EIP) Address Via the Command Line (CLI)
![Calendar](https://www.ericmichaelstone.com/wp-content/themes/me3/images/calendar.png)
How To Add and Associate a New AWS Elastic IP (EIP) Address Via the Command Line (CLI):
1 2 3 4 5 |
shell% aws ec2 allocate-address --domain vpc eipalloc-9c09b9effc6b96a98 vpc us-east-1 34.99.141.8 amazon shell% aws ec2 associate-address --allocation-id eipalloc-9c09b9effc6b96a98 --instance-id i-024f1deafa1e2d453 eipassoc-0216d3f7231147aed |