Hands-On LabBeginner

Create and Assign a Public IP Address Prefix in Azure

Reserve a contiguous range of public IPs using a public IP address prefix, create individual addresses, and assign them to Azure resources.

45 minEstimated time
4Guided steps
AutoVerification
IsolatedSandbox
Create and Assign a Public IP Address Prefix in Azure

Lab overview

Public IP addresses are fundamental to how cloud resources communicate with the internet, but managing them individually across a growing infrastructure becomes operationally complex. Azure Public IP Address Prefixes solve this by reserving a contiguous block of standard SKU public IP addresses, guaranteeing that all addresses in the range are sequential and predictable. This is especially valuable for organizations that need to allowlist outbound IPs in downstream firewalls or partner systems. Instead of maintaining a constantly changing list of individual addresses, teams can allowlist an entire CIDR range. Public IP prefixes also play a critical role in scaling outbound SNAT connections when paired with NAT Gateways, where each IP provides up to 64,512 ephemeral ports for outbound connectivity.

In this lab, you will create a public IP address prefix to reserve a contiguous range of public IPs, create individual public IP addresses derived from that prefix, associate a prefix-derived IP with a NAT Gateway to enable predictable outbound connectivity for a virtual network, and verify the end-to-end configuration. This lab covers networking objectives relevant to the AZ-104 and AZ-700 certification exams.

Objectives

By completing this beginner level lab, you will be able to:

  • Create a public IP address prefix to reserve a contiguous block of standard SKU public IP addresses
  • Create individual public IP addresses from an existing public IP address prefix
  • Configure a NAT Gateway with a prefix-derived public IP address for predictable outbound connectivity
  • Associate the NAT Gateway with a virtual network subnet to enable outbound SNAT
  • Verify that outbound traffic from subnet resources uses an IP address from the reserved prefix range

Who is this lab for?

This lab is designed for:

  • Cloud engineers preparing for AZ-104 or AZ-700 certification exams who want hands-on experience with public IP address management at scale
  • Azure administrators who need to implement predictable outbound IP ranges for firewall allowlisting

Basic familiarity with the Azure Portal and core networking concepts (IP addresses, subnets, VNets) is recommended.

Verified against your live environment

An automated validation engine inspects your actual resources and configurations as you work. Completion means the task was performed — not multiple choice, real-world proficiency.

[CHECK] validation_activelive
Inspecting deployed resources...
Verifying configuration state...
✓ Step requirements satisfied

More labs like this

Related reading

PremiumIncluded in Premium
Duration
45 min
Steps
4

Environment

Live Cloud Environment

Every lab includes

  • Real environment, pre-credentialed
  • Automated checks on every step
  • Isolated sandbox, auto cleanup
  • AI-recommended next steps

Lab curriculum

  1. 01

    Logging into Azure Account using Azure Portal

  2. 02

    Create a Public IP Address Prefix to Reserve a Range

    1 automated check

  3. 03

    Create Individual Public IP Addresses from the Prefix

    1 automated check

  4. 04

    Configure a NAT Gateway with a Prefix-Derived Public IP

    1 automated check

Not the lab you were looking for?

Browse 150+ hands-on labs across AWS, Azure, Kubernetes, Docker, and cloud security.

Explore the catalog