Build a Website on Google Cloud
gcloud config set compute/zone us-central1-aTask 1
Download the monolith code
git clone https://github.com/googlecodelabs/monolith-to-microservices.git
cd monolith-to-microservices
./setup.shBuild your container
gcloud services enable cloudbuild.googleapis.comcd ~/monolith-to-microservices/monolith
gcloud builds submit --tag gcr.io/${GOOGLE_CLOUD_PROJECT}/fancytest:1.0.0 .Task 2
Create a Kubernetes cluster
gcloud services enable container.googleapis.comgcloud container clusters create fancy-cluster --num-nodes 3Deploy the application
Task 3
Create a containerized version of orders and product Microservices
Task 4
Deploy the new microservices
Orders
Products
Task 5
Create a containerized version of the Frontend microservice
Task 6
Deploy the Frontend microservice
Last updated
Was this helpful?