Is it possible to do the following with AWS EC2? And if so what is the AWS CLI command for it?
- Launch an instance and bind an Elastic IP at the same time
- Change the hostname of an instance that is created with from the AWS CLI
http://docs.aws.amazon.com/cli/latest/index.html
Thanks
@ EEAA - I did try to associate and EIP after creation but other than doing a sloppy polling or sleep solution you run the risk of the instance being in the pending state, which makes it unable to bind the address to the instance.