Menu

1 / 19

Test failover in your CI/CD pipeline with AWS Fault Injection Service

DEV Community: cicd·Gbenga Ogbonyenitan·13 days ago
#nlDqjQnL
#devtocicd#devto#dev#demo#choose
Reading 0:00
15s threshold

Introduction

When a task in an ECS service stops, ECS starts a new one by itself. You do not have to do anything. The load balancer then sends traffic to the new task when it is healthy.

That is the design. But a design is a claim until you test it. These things can still go wrong:

The new task cannot start. For example, the image cannot be pulled or a setting is missing.

The new task starts but never passes the load balancer health check.

The service recovers, but it takes longer than you can accept.

The service runs only one task, so users see an outage while the replacement starts.

Most teams find these problems during a real outage.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.