Home / Companies / Octopus Deploy / Blog / Post Details
Content Deep Dive

Automating guided failures with an AWS Lambda and subscriptions

Blog post from Octopus Deploy

Post Details
Company
Date Published
Author
Shawn Sesna
Word Count
3,312
Language
English
Hacker News Points
-
Summary

The article by Shawn Sesna explores the automation of responses to guided failure events in Octopus Deploy using AWS Lambda functions. While manual intervention and guided failure features in Octopus Deploy require user input to continue or alter a deployment process, automation is made feasible through Octopus's API-first design. The solution involves utilizing the Subscriptions feature to trigger AWS Lambda functions, which handle tasks such as excluding machines from deployments or retrying processes automatically. The implementation detailed in the article requires setting up various AWS resources, including an S3 bucket, SQS queue, API Gateway, and IAM roles, utilizing Terraform scripts for provisioning, and configuring Octopus Deploy subscriptions to call the Lambda functions. The guide emphasizes the efficiency gained by automating deployment responses and provides a comprehensive walkthrough of setting up and testing the system, highlighting the potential for using similar setups for automating manual interventions.