QuestionQ32

SDLC Automation

A DevOps engineer is building a CI/CD pipeline for an Amazon ECS service. The ECS container instances operate behind an Application Load Balancer as the web tier of a three-tier application.

A successful deployment must verify that, on deployment, the web tier can communicate with the application's database and middleware tiers.

How can this be achieved automatically?

Explanation

A web application health endpoint can test its actual connectivity to the middleware and database tiers and return an unsuccessful response if either dependency is unavailable. An Application Load Balancer target group can invoke the configured HTTP/HTTPS health-check path and marks a target unhealthy after consecutive failed health checks, making this an automated validation of the required dependency connectivity.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!