Appendix 1: Practicing with Basic GCP Services
In this appendix, we will show some GCP resource provisioning examples, using the Google Cloud console and Cloud Shell. We will use the following architecture to practice using the Google Cloud console, as shown in Figure 11.1:
- A VPC network, VPC1, and two subnets in it: a public
subnet1
and a privatesubnet2
- A virtual machine (VM) in the public
subnet1
that has an external IP address and can be accessed from the internet - A VM in the private
subnet2
that does not have an external IP address and thus can only be accessed from the console browser, or from VMs within the same VPC - Another VPC network, VPC2, and one subnet within VPC2: a private
subnet8
- A VM in the private
subnet8
- Peering between VPC1 and VPC2
Figure 11.1 – A sample architecture for GCP console practice
In the GCP practice diagram in Figure 11.1, public subnet1
is accessible from the internet. There is a Google...