Infrastructure as Code
A collection of 4 posts
Normally you would use the Serverless Framework to deploy services consisting of one or more Lambda Functions and other related resources of your cloud provider. A different use case could be to upload a bunch of files to an S3 bucket hosting a website. Here is a brief guide on how to do this.
Great documentation is a key factor for the success of an API and the OpenAPI specification provides the tools for writing one. An OpenAPI specification can even be imported by specialized software to create nice and functional visualizations as well as generic client and server generation.
We are using a custom IAM role for CloudFormation deployments that only whitelists required CRUD permissions for our stack. Every time we add new resources our deployment role can break because of insufficient permissions. This problem is often first noticed when our CI pipeline is failing.
CloudWatch monitoring dashboards come in really handy when you are operating serverless applications on AWS. After manually setting up a nice new monitoring dashboard in CloudWatch with a colleague we came up with the idea of automating the deployment of this dashboard through Serverless.