Home icon

Enabling high availability of Amazon EC2 instances on AWS Outposts servers (Part 1)

Compute Blog



This article provides guidance and code samples for implementing custom logic to automate Amazon EC2 instance relaunch on AWS Outposts servers in case of hardware or service link failure, enabling high availability for stateless applications.

Specifically, the article covers:

  • Overview of the solution architecture and workflow
  • Prerequisites for implementing the solution
  • Step-by-step instructions for deploying the AutoRestart CloudFormation stack
  • Using the provided init.py script to customize the CloudFormation template based on input parameters
  • Resources created by the CloudFormation stack (CloudWatch alarm, SNS topic, Lambda function)
  • Notifications received upon server failure and successful instance relaunch
  • Cleaning up by deleting the CloudFormation stack
  • Conclusion and recommendations for testing the custom logic


Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

Aug 8
2024
Enabling high availability of Amazon EC2 instances on AWS Outposts servers (Part 2)
Mar 6
2026
Enabling high availability of Amazon EC2 instances on AWS Outposts servers (Part 3)
Nov 22
2024
Announcing static stability for Amazon EC2 instances backed by EC2 instance store on AWS Outposts
Apr 28
2025
Maintaining spare capacity during host failures on AWS Outposts with dynamic monitoring

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.