GCP CloudRun - Master Container deployment
week_twentytwo - GCP CloudRun
duration: 1 week
ForgTech company wanna test your ability to deliver their requirements utilizing Google CloudRun over Google CLI. This will help you build a good reputation. The purpose of this task is to build and deploy a general Nginx container. Then apply some advanced configurations like Blue-Green deployment -e.g. deploy multiple revisions and split traffic, ensure new version stabilityThe FrogTech Cloud Team requests that building a Docker image, then deploy it utilizing Google registry and CloudRun while using gcloud CLI; The exact implementation is as follows:
- Build an Nginx Docker image and pass a custom
index.htmlfile. - Push Docker Image to Google registry over gcloud CLI.
- Deploy The Image to CloudRun over gcloud CLI, then test accessibility.
- After Testing, adjust the index.html file and push a new version of the Docker image to the registry.
- Deploy a new revision of the same deployment, then test accessibility.
- Split traffic between two revisions as follows, and ensure the traffic splitting by accessing multiple times: a. Old revision: 70% b. New revision: 30%
- Set the traffic to 100% of the new revisions.
- Submit scaling for 3 containers.