Ends in
00
days
00
hrs
00
mins
00
secs
SHOP NOW

🚀 $4.99 Claude Certified Architect Foundations CCA-F Practice Exams

Back to Course

GCP PlayCloud Labs

0% Complete
0/0 Steps
  1. GCP PlayCloud Labs
  2. Guided Lab: Creating a Cloud Storage Bucket
  3. Guided Lab: How to Launch a GCP Compute Engine Linux Instance
  4. Guided Lab: Creating a Cloud SQL Instance
  5. Guided Lab: Creating a Cloud NAT Gateway
  6. Guided Lab: Running SQL Commands in Cloud SQL Studio
  7. Guided Lab: Hosting a Static Website in Google Cloud Storage Bucket
  8. Guided Lab: Creating and Restoring Cloud SQL Backups
  9. Guided Lab: Vertically Scaling a VM Instance
  10. Guided Lab: Creating a Custom Image from a VM Instance with Web Server in Google Cloud
  11. Guided Lab: Setting up a Web Server on a VM Instance
  12. Guided Lab: Creating a Spot VM Instance
  13. Guided Lab: Exploring Instance Metadata in Google Cloud
  14. Guided Lab: Setting Up and Managing a Database on a VM Instance
  15. Guided Lab: Integrating Cloud SQL Database instance with a VM instance
  16. Guided Lab: Connecting Cloud SQL Database with MySQL Workbench (Local)
  17. Guided Lab: Creating a VM Using Instance Templates
  18. Guided Lab: Installing WordPress on an Ubuntu VM Instance with LEMP Stack
  19. Guided Lab: Reserving or Promoting a Static IP Address for a VM Instance
  20. Guided Lab: Creating a Google Kubernetes Engine (GKE) Cluster
  21. Guided Lab: Protecting Data on Cloud Storage Bucket Against Accidental Delete and Overwrite Using Object Versioning
  22. Guided Lab: Connecting to a Kubernetes Engine Cluster
  23. Guided Lab: Creating and Managing Instance Groups in Compute Engine
  24. Guided Lab: Configuring Shielded VM Options
  25. Guided Lab: SSH Access to GCP VM Instance from Local Machine using SSH Key Pair
  26. Guided Lab: Deploying a Simple Web Application on GKE
  27. Guided Lab: Configuring Firewall Rules to Secure and Access a VM
  28. Guided Lab: Establishing VPC Peering for Secure Cross‑Network Communication
  29. Guided Lab: Creating a Custom Virtual Private Cloud (VPC)
  30. Guided Lab: Using Startup Scripts in GCP VM Instances
  31. Guided Lab: Deploying a LAMP Stack on a Compute Engine VM
  32. Guided Lab: Managing Cloud Storage Buckets via SSH Commands
  33. Guided Lab: Guarding Your VM with Deletion Protection
  34. Guided Lab: Using Cloud Storage Lifecycle Rules to Automate Object Management
  35. Guided Lab: Guarding Your Cloud SQL Instances with Deletion Protection
  36. Guided Lab: Exploring Google Cloud Storage Classes
  37. Guided Lab: Setting Up a Linux Bastion Host on GCP
  38. Guided Lab: Uploading, Organizing, and Managing Objects in Cloud Storage
  39. Guided Lab: Creating an Application Load Balancer
  40. Guided Lab: Creating a Network Load Balancer
  41. Guided Lab: Creating VM Snapshots and Restoring a VM from a Snapshot
Lesson 5 of 41
In Progress

Guided Lab: Creating a Cloud NAT Gateway

Description

Cloud NAT (Network Address Translation) is a managed Google Cloud service that allows virtual machine (VM) instances without external IP addresses to securely access the internet. It enables outbound connections for updates, patching, and external API access while preventing inbound connections from the internet, helping improve security and reduce exposure.

Cloud NAT works with Cloud Router to dynamically manage network address translation for resources in a Virtual Private Cloud (VPC) network. It scales automatically based on traffic and does not require manual configuration of NAT rules on individual instances, making it suitable for both small and large workloads.

In this guided lab, you’ll learn how to configure a Cloud Router, create a Cloud NAT gateway, and enable internet access for private Compute Engine instances while keeping them isolated from direct inbound traffic.

Objectives

In this lab, you will:

  • Create a Cloud Router to support Cloud NAT
  • Configure a Cloud NAT gateway for a VPC network
  • Review and verify the Cloud NAT configuration details

Lab Steps

Navigating to Google Cloud NAT

1. In the Google Cloud console, go to the unified search bar at the top.

2. Type “Cloud nat” and select “Cloud NAT” from the results.

3. The Cloud NAT page will show up. Click “Get started” in the middle of the page to start configuring your own NAT gateway

Creating a NAT gateway

On the setup page, configure the following:

  • Gateway name: <your preferred NAT gateway name>
  • NAT type: Public
  • Select Cloud Router
    • Network: default
    • Region: us-central1 (Iowa)
    • Cloud Router: Select “create new router”. A right-hand sidebar will appear. Configure your cloud router there by providing your preferred router name and description
  • Network Service Tier: Standard
  • Once done, click Create
Verifying the Cloud NAT gateway configuration

Wait until the Cloud NAT gateway is created. You can see it in the Cloud NAT service page or in the notifications at the upper right corner to see if it was created successfully.

Congratulations! You’ve successfully created a Cloud Router and a Cloud NAT gateway, and explored its configuration in the Google Cloud Console. This simple guided lab gives you hands-on experience with setting up a NAT gateway and understanding its role in enabling outbound internet access for private resources. In future guided labs, we’ll go further by exploring additional NAT configurations and testing how it works with virtual machines to reinforce your understanding of its functionality and connectivity.

Skip to content