This guide explains how to update your AWS runner to ensure you have the latest features, improvements, and security patches. There are three methods to update your runner:
Automatic Updates: The AWS runner handles most updates automatically with minimal user intervention.
Updating Infrastructure: For significant changes, manual updates via CloudFormation are required.
Certain updates, particularly those involving significant infrastructural changes, cannot be applied automatically. Follow these steps to apply updates:
Upgrading CloudFormation templates that were applied from January 2025 or earlier will cause existing environments to no longer be accessible due to SSH port changes. Before upgrading, either stop and discard existing environments, or manually update the security group to allow access from 0.0.0.0/0 to port 22 (in addition to port 29222) after upgrading the stack.
Open the CloudFormation stack used for the runner in the AWS console.
Select Update to modify the stack configuration.
Select the Replace existing template option and enter the following URL in the Amazon S3 URL field:
When expanding to additional availability zones, keep in mind that availability is determined by the subnets where your EC2 instances are running. The availability zones parameter helps you identify available subnets, but modifying this parameter alone will not impact availability. Ensure that your subnets are correctly configured to support the desired availability zones.Use the VPC Resource Map in the AWS console to find subnets corresponding to your desired availability zones.