This is very easy to do:
- Providing Elastic IP for your server.
- Configure record "A" for the server that will send mail with your favorite registrar. Good practice is to include “svr” somewhere in the host name, for example app-svr-01.youdomain.com
Click here to contact amazon and request a reverse dns entry for IP
add the following to your SPF record and you should be fine:
a: app-svr-01.youdomain.com
Note. If you need to relay mail through this server from other AWS servers or communicate between the servers in any other way, you should not use this new fully qualified domain name, but rather the AWS fully qualified domain name from the AWS console (it will look like ec2-xxx- xxx-xx-xx.compute-1.amazonaws.com).
Using your custom domain name will go through the "WAN" and bandwidth charges will apply.
source share