Repeatable CDK deployments with Octopus
Blog post from Octopus Deploy
Cloud providers have simplified the development and deployment of cloud-native applications, traditionally requiring developers to manage infrastructure and application code separately, which complicated local testing and required deep knowledge of network configurations. The AWS Serverless Application Model (SAM) and the AWS Cloud Development Kit (CDK) have introduced streamlined processes for deploying cloud applications, with SAM using simplified CloudFormation syntax and CDK allowing infrastructure and application code to be defined together using programming languages like TypeScript or Python. While SAM treats application code and infrastructure templates as separate entities, CDK combines them into a single package, making deployments with tools like Octopus Deploy more integrated. CDK applications require the use of the cdk CLI for deployment, leveraging GitHub Actions to package applications and Octopus Deploy to manage releases across multiple environments. This approach ensures consistent application versions are promoted through environments, enabling reliable and repeatable deployments while capturing deployment outputs for further use.