Managing Network Resources
Managing Compute Engine Resources
The course is part of this learning path
This course has been designed to teach you how to manage networking and compute resources on Google Cloud Platform. The content in this course will help prepare you for the Associate Cloud Engineer exam.
The topics covered within this course include:
- Adding subnets to a VPC
- Expanding existing subnets
- Reserving static addresses via the console and Cloud Shell
- Managing, configuring, and connecting to VM instances
- Adding GPUs and installing CUDA libraries
- Creating and deploying from snapshots and images
- Working with instance groups
- Learn how to manage networking and compute resources on Google Cloud Platform
- Prepare for the Google Associate Cloud Engineer Exam
- Those who are preparing for the Associate Cloud Engineer exam
- Those looking to learn more about managing GCP networking and compute features
To get the most from this course, you should have some exposure to GCP resources, such as VCPs, VM Instances, Cloud Console, and Cloud Shell. However, this is not essential.
Welcome back. In the last lecture, we talked about the ways that you can reserve a static internal IP address. In this lesson, I'm going to show you how to reserve an IP address using the console.
Now, before we get started I need to point out that in order to reserve and to manage static internal IP addresses, I need to be granted the compute.networkAdmin role. I'm logged in as the admin here so I'm good there.
As mentioned previously, you can reserve a static internal IP address before creating the resource it will be assigned to, or you can create the resource with an ephemeral internal IP address and then promote the ephemeral IP address to a static internal IP address.
In this demonstration, we're going to reserve a static internal IP address and then assign it to a resource.
To get started, I need to identify a subnet from my VPC network that I want to work with because remember, you can only reserve IPs using a VPC network. To do this, I need to go to my VPC networks page in my GCP console here. Now, what I'll do is I'll use this test VPC network down here for this demonstration.
Next, I need to go to my VM instances page where I can create my instance and reserve the IP when I create the instance. So let's browse over to our compute instances. And we'll go ahead and create our instance. I'm going to call my instance myvm, and then I'll select my regions here, along with the zone. And then from here, I need to provide the rest of the info for my instance: the size, the generation, all of that other fun stuff. I'll leave this at the default because that's not what I'm trying to demonstrate here.
Next, I need to expand the "Management, security, disks, networking, sole tenancy" menu down here at the bottom. And then from here, I can click on Networking to edit my networking resources.
Under Network interfaces here, I need to choose the subnet that I'm reserving an address for, and then we'll select our network. Now, under Primary Internal IP here, I can choose to reserve a static IP address. But do the dropdown here, I can select reserve static internal IP address.
Now, I'll give this internal IP address resource a name. I'll just call it myinternalip. And then what we can do is we can select whether to assign an address automatically or let me choose. For this demonstration, I'll just let it assign an address and I'll reserve it. I'll leave the rest of the settings here at their defaults and just minimize this dropdown. And then from here I can click Create to create my resource. And what this is going to do is spin up a new instance that's connected to my subnet within my VPC. When it comes up, it's going to do so with a reserved static internal IP address.
About the Author
Tom is a 25+ year veteran of the IT industry, having worked in environments as large as 40k seats and as small as 50 seats. Throughout the course of a long an interesting career, he has built an in-depth skillset that spans numerous IT disciplines. Tom has designed and architected small, large, and global IT solutions.
In addition to the Cloud Platform and Infrastructure MCSE certification, Tom also carries several other Microsoft certifications. His ability to see things from a strategic perspective allows Tom to architect solutions that closely align with business needs.
In his spare time, Tom enjoys camping, fishing, and playing poker.