Member-only story

An SMS API in 5 minutes! Yep, with AWS SNS and NodeJS

Sean Bradley
3 min readJul 28, 2019

This is a quick tutorial showing you how to send an SMS with AWS SNS and NodeJS

1st, clone the repository at https://github.com/Sean-Bradley/AWS-SNS-SMS-with-NodeJS.git

$ git clone https://github.com/Sean-Bradley/AWS-SNS-SMS-with-NodeJS.git

Then cd into the new folder

$ cd AWS-SNS-SMS-with-NodeJS

Open the project in your favourite editor. I use VSCode.

Then rename the file called .env.example to .env

Now to get the
- AWS_ACCESS_KEY_ID,
- AWS_SECRET_ACCESS_KEY
- AWS_REGION

Log into your AWS console and go to your IAM settings, and create a new user.

Create a new user called SMSSender and check Programmatic access and then press the Next button.

Then create a group and name it SMSSenders and assign it the AmazonSNSFullAccess policy

--

--

Sean Bradley
Sean Bradley

Written by Sean Bradley

Developer of real time, low latency, high availability, asynchronous, multi threaded, remotely managed, fully automated and monitored solutions.

No responses yet