Skip to content

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:

  1. Build an Nginx Docker image and pass a custom index.html file.
  2. Push Docker Image to Google registry over gcloud CLI.
  3. Deploy The Image to CloudRun over gcloud CLI, then test accessibility.
  4. After Testing, adjust the index.html file and push a new version of the Docker image to the registry.
  5. Deploy a new revision of the same deployment, then test accessibility.
  6. Split traffic between two revisions as follows, and ensure the traffic splitting by accessing multiple times: a. Old revision: 70% b. New revision: 30%
  7. Set the traffic to 100% of the new revisions.
  8. Submit scaling for 3 containers.


References: