Step 1 : Setting up AWS to provide an IP address for your DNS settings
1. First we will need to assign an IP address to our server using Amazon’s Elastic IP system, so click Elastic IP’s in the left hand menu.
2. In the top menu under “Addresses”, click “Allocate New Address”.
3. Ensure “EIP used in” is set to “EC2″ and click “Yes, Allocate”.
4. Click the tick box next to the new IP address that has appeared in the main left pane and press the “Associate Address” button in the top menu.
5. In the “Instance” drop down, select your webserver that we set up previously and click “Yes, Associate”.
6. That’s it for management on the AWS side of things, however please note that now when accessing your webserver through SSH, SFTP or MySQL, your public DNS address that you were using for the connection will have changed. At this point it is probably better to just use the new IP address to connect that you have just associated with your webserver.
Step 2: Setting up your DNS
1. Login to your godaddy account and go to domain manager.
2. Click launch infront of your domain.
3. click on tab of DNS Zone File and click on Edit.
4. chage the IP to the new one (you created by Elastic IP system) infront of @ in host section and save changes.