Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We are working towards moving our app to AWS. I have heared that email and DNS cannot be hosted on AWS, is this correct?

If this correct, then what are my options?

share|improve this question
up vote 2 down vote accepted

DNS can be hosted on Amazon EC2. I've tried running both Microsoft DNS and BIND. One challenge you might run into would be the dynamic IP address of the DNS server. The IP address of an EC2 instance changes every time you terminate the instance and then relaunch it. The simplest solution to that conundrum would be to associate your DNS server with an Amazon Elastic IP address.

share|improve this answer
This is a good post from the awesome Shlomo :). Good tips for email from ec2. – Ameer Deen Mar 15 '10 at 0:06
Reverse DNS for Elastic IP Addresses:… – Ameer Deen Apr 6 '10 at 6:23

I would suggest looking at the specific services Amazon now offer for this functionality, Route 53 for DNS hosting and Amazon Simple Email Service for outbound bulk email. If you are looking for a mail server for incoming and non-bulk outgoing use I imagine hosting a mail server on EC2 with an elastic IP address would be possible but may run into blacklisting issues.

share|improve this answer

There's no big point in hosting email on EC2 cause most of the Amazon's IP addresses are already black-listed for spam unless you're ready to scan spam-listing services and clear them out.

share|improve this answer
OK. Cool, I will get a VPS for a mail server. – April Mar 9 '10 at 8:42
It may be cheaper for you to use something like SendGrid or PostMark. AWS also has the Simple Email Service. – ceejayoz Sep 28 '11 at 3:17

You can fill this form on the AWS site to remove the default limitations for sending email from EC2: .

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.