Microservices based architectures require scalable and durable messaging systems to act as the backbone of the application. By using SNS and SQS to build fan-out patterns, you can simplify microservices communication and scale them seamlessly
Install the serverless CLI via NPM:
npm install -g serverless
Once AWS CLI is installed, configure AWS CLI with AWS Access Key ID and AWS Secret Access Key.
aws configure
Install node modules via NPM
npm i
serverless deploy --stage dev