Featured resource
2025 Tech Upskilling Playbook
Tech Upskilling Playbook

Build future-ready tech teams and hit key business milestones with seven proven plays from industry leaders.

Check it out
  • Lab
    • Libraries: If you want this lab, consider one of these libraries.
    • Core Tech
Google Cloud Platform icon
Labs

Programmatic Cloud Network Management with Python

In this hands-on lab, you will use Python and the AWS SDK (Boto3) to programmatically discover, audit, and report on your cloud network infrastructure. Starting with authenticating to AWS and enumerating VPCs, Subnets, and Gateways, you will build a compliance auditing script that checks Security Groups against a Gold Standard policy, and finish by generating a structured health report from live CloudWatch metrics. By the end, you'll have practical experience automating the network management tasks that underpin Intent-Based Networking and NetDevOps workflows.

Google Cloud Platform icon
Lab platform
Lab Info
Level
Intermediate
Last updated
Mar 13, 2026
Duration
1h 0m

Contact sales

By clicking submit, you agree to our Privacy Policy and Terms of Use, and consent to receive marketing emails from Pluralsight.
Table of Contents
  1. Challenge

    Discover Cloud Network Resources Using the AWS SDK
    • Initialize a secure boto3 session using IAM instance roles to authenticate programmatically with AWS.
    • Use the EC2 client to enumerate network resources such as VPCs, Subnets, and Internet Gateways within the region.
    • Implement API pagination using Boto3 paginators to ensure complete data retrieval in large cloud environments.
  2. Challenge

    Audit Security Group Compliance Against a Gold Standard Policy
    • Write Python logic to identify insecure Security Group rules such as SSH access open to 0.0.0.0/0.
    • Load a Gold Standard security policy from a JSON file and compare it against the current Security Group configuration.
    • Implement a dry-run mode to simulate remediation actions without modifying the live cloud environment.
  3. Challenge

    Generate an Automated Cloud Infrastructure Health Report
    • Retrieve CloudWatch network throughput metrics for running EC2 instances and identify potential traffic anomalies.
    • Export Elastic Network Interface metadata to a structured CSV report for operational visibility.
    • Check resource usage against AWS service quotas and flag thresholds that approach capacity limits.
About the author

Pluralsight Skills gives leaders confidence they have the skills needed to execute technology strategy. Technology teams can benchmark expertise across roles, speed up release cycles and build reliable, secure products. By leveraging our expert content, skill assessments and one-of-a-kind analytics, keep up with the pace of change, put the right people on the right projects and boost productivity. It's the most effective path to developing tech skills at scale.

Real skill practice before real-world application

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Learn by doing

Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.

Follow your guide

All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.

Turn time into mastery

On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.

Get started with Pluralsight