Assigning the Instance and IP Using the CLI
- Request a new public IP address: ./ec2-allocate-address Note the IP it returns.
- Get the Instance ID of the WebApp Secure Instance: ./ec2-describe-instances Locate the Instance ID of the Appliance.
- Now you can associate the IP with the WebApp Instance: ./ec2-associate-address IP -i 'Instance ID'
Note: Replace the 'IP' with your IP address and the 'Instance ID' with the ID of your instance.