Skip to content

Instantly share code, notes, and snippets.

@twolfson
Last active October 12, 2023 02:17
Show Gist options
  • Save twolfson/da40925ac398ee66942f0564e6d420f2 to your computer and use it in GitHub Desktop.
Save twolfson/da40925ac398ee66942f0564e6d420f2 to your computer and use it in GitHub Desktop.
AWS SES setup notes

Every time we use AWS it's a tedious process to learn about everything so we like to make documents summarizing the steps we took and why. Here's our SES setup notes:

  1. Create AWS account
  2. Verify email account with AWS
  3. Click confirmation email in inbox
  4. Enable DKIM integration (disables via amazonses.com noise)
  5. Set up SNS topic for bounces/complaints (ideally should be none if we handle things right)
    1. Create SNS topic: ses-notifications
    2. Create "email" subscription to topic
      1. Click through to new topic details
      2. Use "Create subscription" button
      3. Click confirm email in inbox
    3. Go back to SES tab and refresh page
    4. Set bounce/complaint notifications to SNS topic
      • We decided to not include original headers for now as we don't know the behavior
  6. Test everything works as expected by sending a test email
    1. Exit details view (back to Email Addresses)
    2. Select email address
    3. Press "Send a Test Email" button
    4. Use "Formatted" and body with text and a link (e.g. This is test content and <a href="http://google.com">a test link</a>)
    5. Verify email is received and has proper HTML
  7. Set up SMTP via "SMTP settings"
    1. Go to "SMTP settings in navigation"
    2. Click "Create My SMTP Credentials"
    3. Name user "ses-{{my-domain}}"
    4. Save credentials
    5. Update policy to have "Action": ["ses:SendEmail", "ses:SendRawEmail"],
  8. Request AWS to increase sending limit
  9. Test out sending to unverified domains (e.g. personal email)
    • Must have AWS sending limit approved before doing so

Notes:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment