Booking options
£64.99
£64.99
On-Demand course
4 hours 28 minutes
All levels
Learn how to implement EC2 and VPC resources on AWS using the Python API: Boto3! Implement your infrastructure with code!
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! All the code and caption files for this course are available at: https://github.com/PacktPublishing/Managing-EC2-and-VPC-AWS-with-Python-and-Boto3-Series
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!
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.
This course start by taking a look at the tools and the environment that you need to work with AWS resources. Lots of information, hands-on practice and experience is waiting for you in this course on AWS.
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. *
https://github.com/packtpublishing/managing-ec2-and-vpc-aws-with-python-and-boto3-series
Niyazi Erdogan is an AWS Certified Solutions architect and software engineer with over ten years of experience in various fields. He is living in one of the most beautiful cities in the world-Istanbul. He is a self-taught programmer and has been programming since he was in middle school. His experience ranges from embedded development to server-side and client-side development technologies. He started his career while he was only a student as a Java developer in the healthcare industry as a private contractor. Then he moved into the largest telecommunication company in Turkey, which is Turkcell. After several years and various different positions at Turkcell, he moved to Portugal and worked for another large telecommunication company for several years with Java technologies. After the telecommunication industry experience and several different experiences, he joined one of the largest companies in its sectors, which is Siemens. He currently works at Siemens with various Java and cloud technologies. Besides his day job, he really enjoys developing software with lots of different technologies. On the other hand, he loves to follow tech conferences and blogs about the latest technologies and tools.
1. Introduction
1. Introduction Introduction: Introduction |
2. About This Course Introduction: About This Course |
3. What We Will Build In This Course? Introduction: What We Will Build In This Course? |
4. What Do You Need For This Course? Introduction: What Do You Need For This Course? |
2. Preparing The Environment for Development
1. Section Overview Preparing The Environment for Development: Section Overview |
2. About Tools and Environment Preparing The Environment for Development: About Tools and Environment |
3. Create an AWS Account If You Don't Already Have It! Preparing The Environment for Development: Create an AWS Account If You Don't Already Have It! |
4. Logging in to AWS Console and A Walkthrough Preparing The Environment for Development: Logging in to AWS Console and A Walkthrough |
5. Let's Create Our AWS Credentials! Preparing The Environment for Development: Let's Create Our AWS Credentials! |
3. Windows Environment Setup
1. Installing Python 3 and Pip Windows Environment Setup: Installing Python 3 and Pip |
2. Installing AWS SDK (CLI) Windows Environment Setup: Installing AWS SDK (CLI) |
3. Preparing CLI with AWS Credentials Windows Environment Setup: Preparing CLI with AWS Credentials |
4. Installing Boto3 Windows Environment Setup: Installing Boto3 |
5. Verifying The Setup Windows Environment Setup: Verifying The Setup |
4. MacOS Environment Setup
1. Installing Python 3 and Pip MacOS Environment Setup: Installing Python 3 and Pip |
2. Installing AWS SDK (CLI) MacOS Environment Setup: Installing AWS SDK (CLI) |
3. Preparing CLI with AWS Credentials MacOS Environment Setup: Preparing CLI with AWS Credentials |
4. Installing Boto3 MacOS Environment Setup: Installing Boto3 |
5. Verifying The Setup MacOS Environment Setup: Verifying The Setup |
5. Virtual Private Cloud (VPC) with Boto3 - Part 1
1. Section Overview Virtual Private Cloud (VPC) with Boto3 - Part 1: Section Overview |
2. Scenario: AWS Console Perspective of What We'll Build Virtual Private Cloud (VPC) with Boto3 - Part 1: Scenario: AWS Console Perspective of What We'll Build |
3. Setting Up Our Project with PyCharm IDE Virtual Private Cloud (VPC) with Boto3 - Part 1: Setting Up Our Project with PyCharm IDE |
4. Let's Check Out Boto3 API Docs! Virtual Private Cloud (VPC) with Boto3 - Part 1: Let's Check Out Boto3 API Docs! |
5. [Tip] Auto-Complete Magic with Pyboto3 on PyCharm IDE! Virtual Private Cloud (VPC) with Boto3 - Part 1: [Tip] Auto-Complete Magic with Pyboto3 on PyCharm IDE! |
6. Creating a Virtual Private Cloud (VPC) Virtual Private Cloud (VPC) with Boto3 - Part 1: Creating a Virtual Private Cloud (VPC) |
7. Adding Name Tag To An AWS Resource (VPC) Virtual Private Cloud (VPC) with Boto3 - Part 1: Adding Name Tag To An AWS Resource (VPC) |
8. Create an Internet Gateway (IGW) Virtual Private Cloud (VPC) with Boto3 - Part 1: Create an Internet Gateway (IGW) |
9. Attaching the Internet Gateway to VPC Virtual Private Cloud (VPC) with Boto3 - Part 1: Attaching the Internet Gateway to VPC |
10. Section Summary Virtual Private Cloud (VPC) with Boto3 - Part 1: Section Summary |
6. Virtual Private Cloud (VPC) with Boto3 - Part 2
1. Section Overview Virtual Private Cloud (VPC) with Boto3 - Part 2: Section Overview |
2. Creating a Public Subnet Virtual Private Cloud (VPC) with Boto3 - Part 2: Creating a Public Subnet |
3. Creating a Route Table for Public Routes Virtual Private Cloud (VPC) with Boto3 - Part 2: Creating a Route Table for Public Routes |
4. Adding IGW Route to Route Table Virtual Private Cloud (VPC) with Boto3 - Part 2: Adding IGW Route to Route Table |
5. Associating Public Subnet with Public Route Table Virtual Private Cloud (VPC) with Boto3 - Part 2: Associating Public Subnet with Public Route Table |
6. Allowing Auto-Assign Public IP Address on Subnet Virtual Private Cloud (VPC) with Boto3 - Part 2: Allowing Auto-Assign Public IP Address on Subnet |
7. Creating a Private Subnet Virtual Private Cloud (VPC) with Boto3 - Part 2: Creating a Private Subnet |
8. Section Summary Virtual Private Cloud (VPC) with Boto3 - Part 2: Section Summary |
7. Elastic Compute Cloud (EC2) with Boto3 - Part 1
1. Section Overview Elastic Compute Cloud (EC2) with Boto3 - Part 1: Section Overview |
2. Scenario: AWS Console Perspective of What We'll Build Elastic Compute Cloud (EC2) with Boto3 - Part 1: Scenario: AWS Console Perspective of What We'll Build |
3. Creating a Key Pair Elastic Compute Cloud (EC2) with Boto3 - Part 1: Creating a Key Pair |
4. Creating a Security Group Elastic Compute Cloud (EC2) with Boto3 - Part 1: Creating a Security Group |
5. Adding a Rule to Security Group Elastic Compute Cloud (EC2) with Boto3 - Part 1: Adding a Rule to Security Group |
6. Creating a Startup Script for EC2 Instance Elastic Compute Cloud (EC2) with Boto3 - Part 1: Creating a Startup Script for EC2 Instance |
7. Launching an EC2 Instance Within Our Public Subnet Elastic Compute Cloud (EC2) with Boto3 - Part 1: Launching an EC2 Instance Within Our Public Subnet |
8. Launching an EC2 Instance Within Our Private Subnet Elastic Compute Cloud (EC2) with Boto3 - Part 1: Launching an EC2 Instance Within Our Private Subnet |
9. It's Time to Launch the Whole Infrastructure! Elastic Compute Cloud (EC2) with Boto3 - Part 1:!!! It's Time to Launch the Whole Infrastructure! |
10. Let's Check if Everything is Running on AWS Console! Elastic Compute Cloud (EC2) with Boto3 - Part 1: Let's Check if Everything is Running on AWS Console! |
11. Connecting to EC2 Instance and Verifying Startup Script Works Elastic Compute Cloud (EC2) with Boto3 - Part 1: Connecting to EC2 Instance and Verifying Startup Script Works |
12. Checking Public Access for Private EC2 Instance Elastic Compute Cloud (EC2) with Boto3 - Part 1: Checking Public Access for Private EC2 Instance |
13. Section Summary Elastic Compute Cloud (EC2) with Boto3 - Part 1: Section Summary |
8. Elastic Compute Cloud (EC2) with Boto3 - Part 2
1. Section Overview Elastic Compute Cloud (EC2) with Boto3 - Part 2: Section Overview |
2. Describing EC2 Instance Elastic Compute Cloud (EC2) with Boto3 - Part 2: Describing EC2 Instance |
3. Modifying EC2 Instance Elastic Compute Cloud (EC2) with Boto3 - Part 2: Modifying EC2 Instance |
4. Stopping EC2 Instance Elastic Compute Cloud (EC2) with Boto3 - Part 2: Stopping EC2 Instance |
5. Starting EC2 Instance Elastic Compute Cloud (EC2) with Boto3 - Part 2: Starting EC2 Instance |
6. Terminating EC2 Instance Elastic Compute Cloud (EC2) with Boto3 - Part 2: Terminating EC2 Instance |
7. Section Summary Elastic Compute Cloud (EC2) with Boto3 - Part 2: Section Summary |
9. Wrapping Up
1. What Have We Learned? Wrapping Up: What Have We Learned? |
2. Thank You! Wrapping Up: Thank You! |