This is an example service and lambda deployed with AWS Copilot. The service publishes incoming requests to an SNS topic, and the lambda processes messages published to the topic through an SQS Queue.
To deploy this service with Copilot, run this in the repo after cloning:
➜ copilot init --name copilot-lambda-worker --type "Load Balanced Web Service" --deploy
Copilot will ask for an application name - use whatever name you'd like.
To clean up all resources created, run:
➜ copilot app delete