Assigning the Instance and IP Using the CLI

  1. Request a new public IP address: ./ec2-allocate-address Note the IP it returns.
  2. Get the Instance ID of the WebApp Secure Instance: ./ec2-describe-instances Locate the Instance ID of the Appliance.
  3. 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.