Configuring Kubernetes Clusters
Configuring Firewall Rules
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 firstname.lastname@example.org.
- 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
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.
Welcome to the next section of the course, where we're gonna talk about private clusters within GKE.
First thing I want you to see on the screen here is that we've actually gone ahead and created a private cluster already. And what a private cluster is is just a cluster, a Kubernetes cluster that does not have access to the internet.
So it's very easy to set up, and I'm gonna show you how that's done. But for the purpose of this video, I just wanna show you, we're looking at the settings for this k8-cluster that I've created, as you can see at the top, and then when we scroll down, you're gonna see private clusters enabled.
So what that means is you're gonna see a lot of private IP ranges in here, you're gonna see the master address range. I've also gone the extra mile with the pod address range and the service address range, which allow you to basically add more security and just control over your Kubernetes cluster.
The next thing we're gonna do is we're gonna jump over to creating a cluster. And I'm not gonna create one just now because it takes a little while to create. But for the purpose of the video, I want you to see when you scroll down from the main menu, setting up a GKE cluster, once you get under the networking section, you're gonna see that option to create a private cluster right there. And like I said, no public IP.
You can also do a master authorize network, which is great as well, because you're actually controlling which IP address can have access to your Kubernetes master.
So and that's, and this is a big thing for a security perspective, you can allow it internally or externally. So if I add a network, it's gonna ask for a range an IP address I need to put in there, which is really nice. And I'll go ahead and select private cluster as well. And then as you can see, when I selected private cluster it changed the option, at the bottom it says I can access it with an external, or I can uncheck it and do internal IP address as well. So that just adds more security to your Kubernetes cluster.
And then lastly, the network policy just allows you to control all the firewall rules for the pods themselves. So once you have your nodes set up, and they have pods running, with the containers inside them, you can actually control which types of pods can talk to each other via firewall rules. So this allows you, gives you that extra level of security and granularity within GKE.
So that's gonna be the main thing here for this course just kinda going over some of the main security and networking features of GKE. Let's get on to the next section.
Mark has many years of experience working with Google Cloud Platform and also holds eight GCP certifications.