Steadybit logoResilience Hub
Try SteadybitGitHub icon
Steadybit logoResilience Hub

Verify Smooth Operation During a EC2 Restart

EC2 is part of the AWS Elastic Compute Cloud, which acquires and releases resources depending on the traffic demand. Check whether your application is elastic as well by rebooting an EC2 instance.
Targets:

EC2-instances

Download now

Verify Smooth Operation During a EC2 Restart

EC2 is part of the AWS Elastic Compute Cloud, which acquires and releases resources depending on the traffic demand. Check whether your application is elastic as well by rebooting an EC2 instance.
Targets:

EC2-instances

Download now

Verify Smooth Operation During a EC2 Restart

EC2 is part of the AWS Elastic Compute Cloud, which acquires and releases resources depending on the traffic demand. Check whether your application is elastic as well by rebooting an EC2 instance.
Targets:

EC2-instances

Download now

Verify Smooth Operation During a EC2 Restart

EC2 is part of the AWS Elastic Compute Cloud, which acquires and releases resources depending on the traffic demand. Check whether your application is elastic as well by rebooting an EC2 instance.
Targets:

EC2-instances

Download now
Go back to list
The experiment editor showing the visual structure of the experiment.The experiment editor showing the visual structure of the experiment.

Intent

EC2 is part of the AWS Elastic Compute Cloud, which acquires and releases resources depending on the traffic demand. Check whether your application is elastic as well by rebooting an EC2 instance.

Motivation

Depending on your traffic demand, you can leverage the ability to acquire and release resources automatically in the AWS cloud. Some services, such as S3 and SQS, do that automatically, while others, such as EC2, integrate with AWS Auto Scaling. Once configured, it boils down to a fluctuating number of EC2 instances starting up or shutting down frequently. Even when not using AWS Autoscaling, your EC2 instances may need to be restarted from time to time for maintenance and updating purposes. Thus it is best practice to validate your application's behavior for that.

Structure

We ensure that a load-balanced user-facing endpoint fully works while having all EC2 instances available. While restarting an EC2 instance, the HTTP endpoint continues operating but may suffer from degraded performance (e.g., lower success rate or higher response time). The performance should recover to a 100% success rate as soon as all EC2 instances are back.

Environment Example

The Kubernetes deployment gateway consists of two pods deployed on two different EC2 instances. We validate whether an exposed HTTP endpoint works with a success rate of at least 95% while restarting one of the EC2 instances.

Solution Sketch

AWS Well-Architected Framework Kubernetes liveness, readiness, and startup probes


Download now

.yaml (3 kB)

It's quick and easy

  1. 1.

    Download .yaml file
  2. 2.

    Upload it inside Steadybit
  3. 3.

    Start your experiment!
Screenshot showing the Steadybit UI elements to import the experiment.yaml file into the Steadybit platform.
Tags
aws
redundancy
elasticity
scalability

Used Actions

See all
HTTP

Execute HTTP calls and verify responses.

Check

Check

Start using Steadybit for free

Steadybit is free for personal use. Start your journey towards reliability!

Are you unsure where to begin?

No worries, our reliability experts are here to help: book a demo with them!

Steadybit logoResilience Hub
Try Steadybit
HubActionsTargetsExtensionsRecipes
© 2023 Steadybit GmbH. All rights reserved.
Twitter iconLinkedIn iconGitHub icon