aws-samples / aws-samples/amazon-ecs-catsndogs-workshop

Lab to demonstrate how container healthchecks improve reliability of deployments.

Open
#21 0 comments 0 reactions 1 assignee Claimed by @MitchyBAwesome View on GitHub
enhancement
Dominant language
Shell
Stars
169
Forks
75
PR merge metrics
No merged PRs in 30d

Description

After the deployment pipeline has been configured, a health check should be added to the task definition for the dogs application. The health check should test for the presence of particular file (for example, 1.jpg).

From the IDE, the Dockerfile is intentionally modified to ensure the dog memes don't get pulled in to the image at build time.

The changes are then committed and the pipeline will build the new image and attempt to deploy. Based on the roll out configuration of the dogs service. The new version of dogs, with the missing images, should not make it in to production, the deployment should fail, but their should be at least 50% of the current dogs containers still running, ensuring that there is no loss of service.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.