Skip to content

Serverless Reminder App on AWS using S3, API Gateway, Lambda, Step Functions, SNS and SES

Notifications You must be signed in to change notification settings

ritw237/Serverless-Reminder-App-on-AWS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

Serverless-Reminder-App-on-AWS

Serverless Reminder App on AWS using S3, API Gateway, Lambda, Step Functions, SNS and SES

Step 1: Configuring SES and SNS

The application will use SES (Simple Email service) to send reminder emails and SNS (Simple Notification Service) to send notification messages. Since SES starts off in sandbox mode, that means you can only add verified email addresses to send emails to.

To keep things simple, the application needs one application sender email address (from which the application will send email) and one application customer email address (for the test customer).

However in production, it can be configured that email notfications can be sent to any number of customers.

Step 1.1: Setting up application sender email

Start off in SES console

image

Go to Verified Identities under configuration tab and then click on Create Identity

image

Click on Email address button. Add an email address. Notice the email address I have used. It's a neat little trick Gmail has (read that in Norman Osborn's voice pls), you can add additional emails like this ( ex: you had [email protected], so you can use [email protected]). The email I have used for the application to send emails from is : [email protected]

image

Don't add Tags (as they are optional) Click on Create Identity below Notice that the screen which is now opened, there is an "Unverified" in red highlighted text below Identity Status.

You need to go to your Gmail, there would be an email from AWS to verify your newly created identity (in this case, [email protected]). Click on that URL to see a Congratulations page open.

Congratulations! The new email identiy is verified now (highlighted in green text). Refresh the browser to see the updated status.

image

Step 1.2: Setting up application customer email

The test customer email (which the reminder app will deliver these emails to) I have used is: [email protected]

Adding another email identity in SES console follows the same process as described in Step 1.1

If you now go to Verified identities tab you will see both the emails

image

Step 1.3: Setting up SMS number in SNS Console

Start off in SNS console and click on Text Messaging (SMS) under Mobile section in left panel.

image

Scroll down to see account information, SNS is also in sandbox mode. So you need a verified mobile number (Sandbox destination phone no.) to take SNS out of sandbox

Click on Add phone number in Sandbox destination phone numbers section.

On the next screen add phone number and verification message language. Click Add Phone Number. Type your verification code sent to you phone and click verify button.

image

Now we can use this number to send SMS messages to.

About

Serverless Reminder App on AWS using S3, API Gateway, Lambda, Step Functions, SNS and SES

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published