Continuous Delivery

Continuous delivery takes an integrated change and deploys it to the target environment. The example triggers delivery on a push to the development branch after the CI workflow has validated the code.

Build the delivery job

Create .github/workflows/cd-deploy.yml with Terraform plan/apply, Docker image build, ECR push, and Lambda configuration. The workflow should pass the image tag, model run ID, region, and stream names as explicit environment values.

The delivery workflow and deployment resources

Separate the CI and CD responsibilities. CI answers whether the change is safe to merge, while CD changes infrastructure and services. Limit CD credentials by requiring the intended branch or approval path.

The deployment job commands

After deployment, run the end-to-end test from the previous unit and check CloudWatch logs. Keep a rollback plan for both the Lambda image and the Terraform state.

Optional analytics

Optional analytics are off unless you allow them. Your choice does not affect access to DataTalks.Club, Slack, events, or courses.

Current choice: not chosen.

Privacy Policy

If you allow analytics, self-hosted Umami counts anonymous public pageviews without analytics cookies. Private account and learning pages are excluded. Read the Privacy Policy for the complete data boundary.