honestly DNS still confuses me a bit. I have a CNAME record pointing www to the ec2 public url. What do I do for the naked domain?
Edit: on EC2, much better to set up an elastic IP as described below.
Better to use amazon's Elastic IP. Simply 1) create one, 2) assign it to the EC2 instance of your choice, 3) add the Elastic IP as your A record as the parent post suggests.