We will go through GCP's basic functionality to set up an infrastructure under the Kubernetes Cookbook project. By using the gcloud command, we will create these components:
- One new VPC
- Two subnets (us-central1 and us-east1) in the VPC
- Three firewall rules (public-ssh, public-http, and private-ssh)
- We will add your ssh public key to a project-wide metadata
Overall, your infrastructure will resemble the following. Let's configure the components one by one:
Target infrastructure