Deploying AWS SAM templates with Octopus
Blog post from Octopus Deploy
Serverless computing is gaining traction as cloud providers, like AWS, offer platforms to manage numerous small applications, with AWS Serverless Application Model (AWS SAM) streamlining the deployment of serverless apps by reducing boilerplate code through CloudFormation. This blog post explores transitioning from AWS SAM's straightforward deployment to creating repeatable deployments over multiple environments using Octopus, starting with a Python "Hello World" app. The process involves packaging and uploading application code and templates using GitHub Actions and Octopus, ensuring readable and versioned filenames instead of SAM's default naming conventions. Octopus simplifies handling environment-specific configurations by using variables, making it easy to deploy applications to multiple environments, such as UAT and Prod. The article demonstrates creating a CI/CD pipeline that enhances the deployment process, replacing some SAM CLI commands with more flexible GitHub Actions and Octopus workflows, capable of scaling to meet production environment demands.