Integrate AWS deployments with ECS Health Checks

Problem to solve

As a user deploying to ECS, I want to see Load Balancer Views and Task Health Status in Deployments

Intended users

User experience goal

Proposal

Using AWS ECS health checks, we can poll the information and display it to the user - TBD

healthStatus values for a container:

HEALTHY —The container health check has passed successfully.

UNHEALTHY —The container health check has failed.

UNKNOWN —The container health check is being evaluated or there is no container health check defined.

The following describes the possible healthStatus values for a task. The container health check status of nonessential containers do not have an effect on the health status of a task.

HEALTHY —All essential containers within the task have passed their health checks.

UNHEALTHY —One or more essential containers have failed their health check.

UNKNOWN —The essential containers within the task are still having their health checks evaluated or there are no container health checks defined.

For first iteration: Get and Display the data in API

For an MVC we could simply add a section to our docs to explain how to set it up.

Out of scope for this issue:

Displaying health in the UI

Further details

Spinnaker added this ability - pipeline deployments now take into account container health checks and the overall task health status before determining a service to be up

Permissions and Security

Documentation

Availability & Testing

What does success look like, and how can we measure that?

What is the type of buyer?

Is this a cross-stage feature?

Yes. devopsmonitor groupapm

Links / references

This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.

Edited by 🤖 GitLab Bot 🤖