Course Overview

Amazon EC2 and VPC are core services in the AWS ecosystem, essential for deploying and managing scalable, secure, and customizable cloud infrastructure. Mastering these services is critical for developers and DevOps professionals who aim to automate cloud operations and build flexible cloud environments. This course leverages Python and the Boto3 library to help learners interact programmatically with AWS, allowing them to manage EC2 instances and VPC configurations efficiently and effectively. Gaining hands-on experience with Boto3 not only streamlines cloud workflows but also enhances your skillset in infrastructure-as-code practices.

This course begins with setting up your development environment across Windows and macOS, including AWS CLI, Python, and Boto3 installation. It then dives into building custom VPCs using Boto3—covering everything from internet gateways, public and private subnets, and route tables to IP configurations. You’ll progress to creating and managing EC2 instances, including key pairs, security groups, and startup scripts. By the end, you'll be able to launch and manage an entire AWS infrastructure through Python scripts, modify and monitor EC2 instances, and automate essential cloud operations.

By the end of this course, you’ll be able to automate EC2 and VPC management using Python and Boto3, enabling you to build, manage, monitor, and scale AWS cloud infrastructure confidently in real-world environments.

What You Will Learn

  • You'll be able to implement any sort of infrastructure on AWS with Python using VPCs, Subnets and EC2s!
  • You'll learn how to code against AWS API using Python and Boto3!
  • You'll learn how to launch EC2 Instances on AWS using Python and Boto3!
  • You'll learn how to isolate and control your own infrastructure with Python using Route Tables, Internet Gateways, Security Groups and Rules!
  • You'll have very good understanding of VPC concepts like Subnets, Route Tables and Internet Gateways by putting all into real-world practice with Python code!
  • You'll be confident to work with AWS APIs using Python for any kind of AWS Resource on VPC and EC2 Instances!
  • You'll learn how to read and code against an API documentation!
  • You'll be able to launch your own infrastructure on AWS without even signing-in to AWS

Program Curriculum

  • What We Will Build in This Course?
  • What Do You Need for This Course?
  • $7 Million Cybersecurity Scholarship by EC-Council
  • Chapter 1 Quiz

  • Section Overview
  • About Tools and Environment
  • Create an AWS Account If You Don't Already Have It
  • Logging in to AWS Console and A Walkthrough
  • Let's Create Our AWS Credentials
  • Chapter 2 Quiz

  • Installing Python 3 and Pip
  • Installing AWS SDK (CLI)
  • Preparing CLI with AWS Credentials
  • Installing Boto3
  • Verifying the Setup
  • Chapter 3 Quiz

  • Installing Python 3 and Pip
  • Installing AWS SDK (CLI)
  • Preparing CLI with AWS Credentials
  • Installing Boto3
  • Verifying the Setup
  • Chapter 4 Quiz

  • Section Overview
  • Scenario: AWS Console Perspective of What We'll Build
  • Setting Up Our Project with PyCharm IDE
  • Let's Check Out Boto3 API Docs
  • [Tip] Auto-Complete Magic with Pyboto3 on PyCharm IDE
  • Creating a Virtual Private Cloud (VPC)
  • Adding Name Tag to An AWS Resource (VPC)
  • Create an Internet Gateway (IGW)
  • Attaching the Internet Gateway to VPC
  • Section Summary
  • Chapter 5 Quiz

  • Section Overview
  • Creating a Public Subnet
  • Creating a Route Table for Public Routes
  • Adding IGW Route to Route Table
  • Associating Public Subnet with Public Route Table
  • Allowing Auto-Assign Public IP Address on Subnet
  • Creating a Private Subnet
  • Section Summary
  • Chapter 6 Quiz

  • Section Overview
  • Scenario: AWS Console Perspective of What We'll Build
  • Creating a Key Pair
  • Creating a Security Group
  • Adding a Rule to Security Group
  • Creating a Startup Script for EC2 Instance
  • Launching an EC2 Instance Within Our Public Subnet
  • Launching an EC2 Instance Within Our Private Subnet
  • It's Time to Launch the Whole Infrastructure
  • Let's Check if Everything is Running on AWS Console
  • Connecting to EC2 Instance and Verifying Startup Script Works
  • Checking Public Access for Private EC2 Instance
  • Section Summary
  • Chapter 7 Quiz

  • Section Overview
  • Describing EC2 Instance
  • Modifying EC2 Instance
  • Stopping EC2 Instance
  • Starting EC2 Instance
  • Terminating EC2 Instance
  • Section Summary
  • Chapter 8 Quiz

  • What Have We Learned?
  • What Comes Next?
  • Thank You
Load more modules

Instructor

Niyazi Erdogan

Niyazi Erdogan is a software engineer and AWS Certified Solutions Architect with over ten years of experience in various fields. He is a both self-taught programmer and computer science graduate. His experience ranges from embedded development to server-side, client-side development technologies to cloud. Besides his day job, he really enjoys developing software with lots of different technologies. On the other hand, he does love to follow tech conferences and blogs about latest technologies and tools. He also likes to read books within or without his field of expertise and loves to watch series like Westworld and Game of Thrones. He also makes sure that he stays healthy with daily walking, running and workout.

Join over 1 Million professionals from the most renowned Companies in the world!

certificate

Fastest Way to Level Up Your Cybersecurity Skills

Invest in your future with flexible subscription plans that give you access to the world’s largest online cybersecurity course library. Whether you're exploring cybersecurity courses for beginners or advancing your expertise,
access in-demand courses, practical labs, and CTF challenges designed to support continuous learning.

Monthly Plans
Annual Plans
Save 20% with our annual plans!

Pro

Build your cybersecurity skills with 900+ bite-sized courses and curated learning paths designed for continuous learning.

$ 69.00
Billed monthly or $599.00 billed annually

What is included

  • 880+ Premium Short Courses
  • 70+ Structured Learning Paths
  • Validation of Completion with all courses and learning paths
  • New Courses added every month
Early Access Offer

Pro +

Develop real-world cybersecurity skills through hands-on labs and CTF challenges designed for practical learning.

$ 79.00
Billed monthly or $699.00 billed annually

Everything in Pro, Plus:

  • 1600+ Hands-on lab exercises with guided instructions
  • 150+ CTF Challenges with detailed walkthroughs
  • New Hands-on Labs and Challenges added every month

Related Courses

1 of 50