Managing EC2 and VPC: AWS with Python and Boto3 Series
Video description
Learn how to implement EC2 and VPC resources on AWS using the Python API: Boto3! Implement your infrastructure with code!
About This Video
Learn to implement EC2 and VPC resources on AWS using Python API, Boto3, and launch your own infrastructure on AWS.
Learn how to read and code against API documentation.
In Detail
In this course, we'll start by taking a look at the tools and the environment that we need to work with AWS …
Managing EC2 and VPC: AWS with Python and Boto3 Series
Video description
Learn how to implement EC2 and VPC resources on AWS using the Python API: Boto3! Implement your infrastructure with code!
About This Video
Learn to implement EC2 and VPC resources on AWS using Python API, Boto3, and launch your own infrastructure on AWS.
Learn how to read and code against API documentation.
In Detail
In this course, we'll start by taking a look at the tools and the environment that we need to work with AWS resources. We will teach you how you can set up your environment on both MacOS and Windows. Once we're ready with our environment setup, we'll start implementing our solution on AWS.Then we will create two subnets; Public and Private.We will develop a startup bash script to automatically run when we launch our EC2 Instance. In this script, we will first update our packages with yum package manager so we can stay up-to-date with the latest updates and security patches. Then we will install a HTTP server on it and make sure it's working by a startup check command.
After we prepare our HTTP server, we will develop a simple HTML page as a greeting and we will write this page to disk to be served when we try to access our Public EC2 Instance. And remember, we will again do all of this with our Python code!
After finishing up launching our EC2 Instances, we'll move on to learn how to describe EC2 Instances on AWS in detailed way; from their IP addresses to the subnet which they belong to. Then we'll learn how to learn how to manage EC2 Instances in various ways. We'll Stop, Start and Terminate EC2 Instances and again the best part is we will do all of that with our Python code!
Who this book is for
This course is for Beginners on AWS who wants to put their theory in practice, AWS Cloud Architect Associate Exam Preppers who wants to practice their theories with real projects, Who wants to learn how to implement Infrastructure-as-a-Code or IaaS on AWS, Who wants to learn how to develop infrastructures on AWS using Python, Who wants to learn how to launch Virtual Private Clouds, Public-Private Subnets and more with Python code on AWS, Who wants to learn how to launch EC2 Instances publicly and privately using Python on AWS, Who wants to learn AWS Python API or namely Boto3.
Chapter 2 : Preparing The Environment for Development
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 3 : Windows Environment Setup
Installing Python 3 and Pip
Installing AWS SDK (CLI)
Preparing CLI with AWS Credentials
Installing Boto3
Verifying The Setup
Chapter 4 : MacOS Environment Setup
Installing Python 3 and Pip
Installing AWS SDK (CLI)
Preparing CLI with AWS Credentials
Installing Boto3
Verifying The Setup
Chapter 5 : Virtual Private Cloud (VPC) with Boto3 - Part 1
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 6 : Virtual Private Cloud (VPC) with Boto3 - Part 2
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 7 : Elastic Compute Cloud (EC2) with Boto3 - Part 1
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 8 : Elastic Compute Cloud (EC2) with Boto3 - Part 2
Section Overview
Describing EC2 Instance
Modifying EC2 Instance
Stopping EC2 Instance
Starting EC2 Instance
Terminating EC2 Instance
Section Summary
Chapter 9 : Wrapping Up
What Have We Learned?
Thank You!
Start your Free Trial Self paced Go to the Course We have partnered with providers to bring you collection of courses, When you buy through links on our site, we may earn an affiliate commission from provider.
This site uses cookies. By continuing to use this website, you agree to their use.I Accept