For use with template-pipeline.yml which can be deployed using Atlantis Configuration Repository for Serverless Deployments using AWS SAM
An application starter template to demonstrate Atlantis Template for AWS CodePipeline to provision a web service that utilizes API Gateway and a simple Lambda function written in Node.js that implements various features of the @63klabs/cache-data NPM package.
- API Gateway implementation (with additional logging if enabled)
- Lambda Function with gradual deployment and rollback in production environments
- AWS X-Ray Tracing between API Gateway, Lambda, S3, DynamoDb, and remote endpoints
- Lambda Insights, CloudWatch logs, and a CloudWatch Dashboard for monitoring performance
- Cache-Data implementation:
- Configuration: Connections, SSM Parameter Store Secrets, Cache
- Logging: DebugAndLog, Timer
- Caching of data from remote endpoints using S3 and DynamoDb (provision separately or with application)
- Request handling: Router, Validation, response formatting and logging
Read the Atlantis Tutorials introductory page, then perform the steps outlined in the S3 and DynamoDb storage stack for API Gateway and Lambda using Cache-Data (Node) tutorial.