Uncategorized

Easily Create Email Addresses for your Route53 Custom Domain

Registering and validating custom email addresses in Route53 and Simple Email Service (SES) doesn’t have to be difficult. But there is almost no documentation showing you how to do this easily. Here’s a simple solution.

Buying a custom domain from the Route53 console on AWS is really easy. They cost everything from $9. With the help of good documentation, you can be up and running in minutes.

Reading: How to create an email for my aws rout53

Once you have your domain, you can also quickly get started with a static website. As static websites become more popular, there are many frameworks and guides to help you. For example, this AWS guide will get you there in 30 minutes!

As soon as you start adding email addresses to your custom domain, you hit a brick wall. The documentation dries up. The available documents make all sorts of assumptions. For example, you have already configured a mail server. But what if not?

There are many reasons why you might want email addresses in your custom domain. Maybe it’s a personal site and you want to include your name? In my case, I’m building a web application and I want AWS Cognito to send its emails from my domain.

I want to achieve this:

  1. Create an example of a custom domain .com.
  2. Create a web app that authenticates with AWS Cognito.
  3. Create an email address [email protected] in my custom domain.
  4. Have AWS Cognito send registration emails from [email protected].
See also  How To Delete an Event on Facebook?

See also: 12 Tips For a Great Restaurant Website Design

The content of this post is Step 3.

Let’s assume you have already registered your custom domain in Route53.

Route53 Dashboard

We will use the Simple Email Service (SES) to register the new email: [email protected].

We need to achieve two things:

  1. Verify the example.com domain within SES.
  2. Verify the email address [email protected] m in SES.

It looks and is very simple. However, to achieve this, we have to overcome a few hurdles, especially for point 2.

In the AWS Console, navigate to SESThen click Next Step.

Add Action

See also: How to Write an Action Required Email Making People Take Action Right Away

This is the key point. We can now tell AWS what to do with any email that our new email addresses receive. This includes confirmation emails.

In this example we use the Simple Notification Service (SNS). When SES receives an email at [email protected], that email will be forwarded to an SNS topic that we will create here.

Select SNS from the Action drop-down list add to”. Select the option to create a new SNS topic and give it a meaningful name. Choose the UTF-8 encoding.

Next, give your new rule a name. Click Next Step.

You will then have the opportunity to review your new rule set before clicking Create Rule.

Subscribe to the SNS Topic

So far we have created a system that forwards all emails received from [email protected] to a new SNS topic. Next, we need to subscribe to this topic to get access to these emails.

See also  How to create a website using HTML and CSS in 7 steps

To do this, we subscribe with our personal email address, e.g. [email protected].

See also: How to Create a News Website: A Quick Guide to Success

In the AWS Console, navigate to SNS

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button