How to configure Amazon SES to a domain.

shehan marino
sysops
Published in
2 min readJan 6, 2017

Out of the many services that AWS offers in it’s cloud platform SES ( Simple Email Service) is Amazons very own SMTP (Simple Mail Transfer Protocol) service.

Setting up is pretty straight forward but getting it authenticated to a particular domain is pretty tricky if you are doing it for the first time.

Here is a video of setting it up for a single sending address.

https://www.youtube.com/watch?v=Ps0vpgMyJm4

Now that you have an idea of how SES works let’s get started with the subject at matter.

To configure a domain follow the instructions below.

  • You will first need to verify your domain to do that you will need to add the domain in the “domains” section of the AWS SES console, to do this select the verify domain button on the left corner and you will prompted the following to enter you domain name.
  • Once the verification is done you will need to head over to the SMTP settings to generate your DKIM (DomainKeys Identified Mail) settings.more on DKIM can be found here.
    You will be prompted with the DKIM credentials which you need to configure your domain with the credentials provided on your domain providers console. more on that can be found here .
  • Once DKIM settings are added to DNS provider settings you will see the domain name verification status changed to verified within 24 hours.
  • You now can use the SMTP credentials in your application to send mails from a verified email address as shown in the video above.

IMPORTANT

AWS SES comes with it’s sandbox enabled by default and you will be restricted to 200 mails per 24 hours only to approved email addresses. To send emails to all email adresses you will need to increase the limit and request for it to go on “production” mode.

AWS SES is also regional based so you will have to configure SES to each region you have your servers deployed in. ( As of January 2017 AWS SES does not cover all the regions that AWS supports so be mindful when setting up SES.)

Originally published at sys-ops.io on January 6, 2017.

--

--

shehan marino
sysops
Editor for

Improving Developer Experience, Infrastructure as Code, Linux , Cloud Computing, Open-source DBA & DevOps enabler