1. Home
  2. Training Library
  3. Google Cloud Platform
  4. Courses
  5. Implementing a GCP Virtual Private Cloud (VPC)

Creating a Virtual Machine with Compute Engine and Connecting and Choosing a VPC

Start course
Duration1h 15m


Please note: this course has been replaced with an updated version which can be found here.


This course guides you through the key steps to configure a Google Cloud Platform virtual private cloud (VPC), which allows you to connect your GCP services with one another securely.

After a brief introduction, the course begins with how to set up and configure VPCs, including VPC peering and shared VPC. You'll learn how to configure routes, set up cloud NAT (network address translation), and configure VPC-native clusters in Kubernetes, before rounding off the course by looking at VPC firewalls. The topics in this course are accompanied by demonstrations on the platform in order to show you how these concepts apply to real-world scenarios.

If you have any feedback, questions, or queries relating to this course, please feel free to contact us at support@cloudacademy.com.

Learning Objectives

  • Configure Google Cloud Platform VPC resources
  • Configure VPC peering and API access
  • Create shared VPCs
  • Configure internal static and dynamic routing, as well as NAT
  • Configure and maintain Google Kubernetes Engine clusters
  • Configure and maintain VPC firewalls

Intended Audience

This course is intended for:

  • Individuals who want to learn more about Google Cloud networking, who may also have a background in cloud networking with other public cloud providers
  • Individuals who simply want to widen their knowledge of cloud technology in general


To get the most from this course, you should already have experience in public cloud and networking as well as an understanding of GCP architecture.


So for the next demo, what we're gonna do is we're gonna show you exactly how to create a virtual machine using Compute Engine within GCP and while doing so we're gonna show you how to connect and choose your own VPC while you're creating the virtual machine. And so what this will allow you to do is basically specify the type of network you want that virtual machine to be associated with from the beginning of the creation of the virtual machine. So it's really useful to do this and know how to do this, so let's jump into the video.

Okay, for the next part we're gonna go ahead and create a VM, virtual machine rather, which is called Compute Engine on GPC. And in regards to network, and there's a lot of options you're gonna have in here. So, you know, in the beginning part of it, we're gonna use VM Test as a name. But scrolling down, we're checking "Allow HTTP traffic," but as we click on this dropdown here for management security disk networking, when we go in here you're gonna see we have a network interface.

Now at this point, we've actually already created our own VPC test, and as you can see, when I created that, there's no subnetwork in that region if I wanted to use a subnet of that. But at the same time, I can still choose the default network where I go there and there is a default subnetwork as well. So these are some options you can have here like when you wanna use a subnet.

If you just wanna use the regular network. These are all options you have when you're using a VPC. With that being said, I want to show you when you look at the VPC network's ranges, so there's the default ranges that cover, you know, all the regions and zones across the entire world that's available within GCP. And then at the bottom, you see the one that I created, the VPC test. That's just in the US east1. And that's why there's not as many options there. And then as you see when it gets to subnets, there is a subnet that I created for that. And then you can see the ranges that I put in there as well.

About the Author

Mark has many years of experience working with Google Cloud Platform and also holds eight GCP certifications.