Python 3

Quick Intro To Python 3 for AWS Automation Engineers

Course Description

This course is the most complete guide on the Boto3 library with lots of hands-on real-world examples of working with AWS EC2, EBS, AMIs, Snapshots, S3, Secrets Manager, Parameter Store, DynamoDB, IAM, SQS, SNS, CloudWatch, KMS, SES, and many others.

This course will help you to solve almost any automation problem you might face by providing lots of reusable code examples for your Python Lambda functions or AWS automation code.

Python basics

How to set up Cloud9 IDE for Python for cloud automation

How to setup Cloud9 IDE for Python for cloud automation

This article covers Cloud9 IDE, its benefits, deployment options, and guidance on how to set up Cloud9 IDE for Python for cloud automation.

Python program structure

Python program structure

In this section of the course we’ll describe Python program structure: shebang, program description, modules, global variables, function definitions, and program entry point.

Basic data types in Python

Variables and basic data types in Python

In this article we covered Python variables, their basic data types (boolean, integer, float, string, list, tuple, set and dict).

Python syntax

Python syntax

In this article we’ve covered the basic Python syntax: statements, indentation, quotes, parentheses, naming conventions, comments.

Operators in Python

Operators in Python

From this article, you’ll learn the basic Python operators: assignment, arithmetic, relational, boolean, membership and conditional.

Conditionals in Python

Conditionals in Python

This article introduces Python conditionals (if, elif, else statements) in Python which will help us to add logic to our programs.

Loops in Python

Loops in Python

This article covered the Python for loop, the while loop, and the flow control statements like pass, break and continue.

Working with strings in Python

Working with strings in Python

This article covers the most commonly used Python string operations such as concatenation, type conversion, split, replace, search, and trim.

Functions in Python

Functions in Python: Syntax, Arguments, and More

This article covers almost everything about functions in Python, their syntax, arguments, return statement, and many more.

Working with Tuples in Python

How to use Python Tuples

In this tutorial, we are covering Python tuples in detail, describe their purpose by providing examples to demonstrate how you can use them in real life.

Classes in Python

Working with Classes in Python

This article covers Python classes, their definitions, constructors, inheritance, polymorphism, and some other important aspects of classes.

Working with Sets in Python

Working with Sets in Python

This article covers Python sets and shows how to use them to get results of collections union, intersection, symmetric difference, etc.

Using modules in Python

Using Modules in Python

In this tutorial, we will discuss Python modules, how to create, import modules, and review some of the most important packages

Scope in Python

Scope in Python

In this article, we will cover types of variable scope in Python, how they work, and how you can access variables from different scopes.

Exceptions handling in Python

In this article, we will overview the different exceptions in Python and discuss how to catch and mitigate these exceptions.

Working with Dictionaries in Python

Working With Dictionaries In Python

This in depth article covers Python dictionaries, how to create them, manage its elements, convert dicts to other JSON, YAML and vice versa.

Working with files in Python

Working with Files in Python

From this article, you’ll learn how to use Python to perform read and write operations to text, CSV, JSON, and binary files.

This article covers Python lists, list items manipulation, lists iterating, comparing, sorting, and various transformation operations

Working with Lists In Python

This article covers Python lists, list items manipulation, lists iterating, comparing, sorting, and various transformation operations.

Processing JSON in Python

How to process JSON data in Python

In this article, we will cover what JSON is and how to parse, serialize, deserialize, encode, decode, and pretty-print JSON data using Python.

Using Boto3 for AWS automation

Introduction to boto3 library

Introduction to Boto3 library

In this article covers installation and configuration of Boto3 library, and differences between boto3.client() and boto3.resource().

Working with S3 in Python using Boto3

Working with S3 in Python using Boto3

Amazon Simple Storage Service (Amazon S3) is object storage commonly used for data analytics applications, machine learning, websites, and many …

Working with EBS volumes

Working with EBS volumes in Python using Boto3

In this article, we’ve covered how to use the Python Boto3 library for creating, listing, filtering, deleting, and modifying EBS volumes.

Working with Snapshots and AMIs in Python

Working with Snapshots and AMIs using Boto3 in Python

This article will cover how to use Python to interact with the Amazon EC2 service to manage EBS volume Snapshots and AMIs using Boto3 library.

Working with EC2 instances

Working with EC2 Instances using Boto3 in Python

This article contains Python code snippets for creating, starting, stopping, filtering, deleting, tagging EC2 Instances using the Boto3.

Working with Secrets Manager in Python

Working with Secrets Manager in Python using Boto3

In this article we’ve covered how to use Python to interact with AWS Secret Manager to create, update, delete secrets using the Boto3 SDK.

Working with Parameter Store in Python

Working with Parameter Store in Python

In this article, we’re covering the AWS SSM Parameter Store and how to interact with it programmatically using Python and the Boto3 library.

Working with CloudWatch in Python

Working with CloudWatch in Python using Boto3

This article covers management of CloudWatch logs, metrics, alarms, and dashboards by using the AWS SDK for Python (Boto3 library).

Working with IAM in Python

Working with IAM in Python using Boto3

This article is covering how to use the Boto3 library (AWS SDK for Python) to manage AWS IAM service through the APIs.

Working with SNS in Python

Working with SNS in Python using Boto3

This article covers how to use Python and Boto3 to work with Amazon SNS to create, list, delete topics, and send messages to them.

Working with DynamoDB in Python using Boto3

Working with DynamoDB in Python using Boto3

In this article, we’re covering how to manage tables and perform CRUD operations in AWS DynamoDB by using Python and Boto3 library.

Working with SQS in Python

Working with SQS in Python using Boto3

This article covers managing SQS queues, concepts of working with SQS messages, long pooling, managing SQS queue permissions, and tags.

How to test your AWS Lambda functions

How to test Python Lambda functions

In this article, we’ll cover manual and automated testing of Python AWS Lambda functions that are interacting with DynamoDB and S3 services.

Working with AWS Lambda in Python using Boto3

Working with AWS Lambda in Python using Boto3

This article covers how to manage AWS Lambda service using Python SDK for AWS (Boto3 library) to deploy, update and delete Lambda functions.

Working with SES in Python

Working with Amazon SES in Python

This article covers how to verify sender, create email templates, and send emails via Amazon SES in Python using the Boto3 library.

Working with EMR in Python using Boto3

Working with EMR in Python using Boto3

This article covers how to use the Boto3 library (AWS SDK for Python) to automate the Amazon EMR cluster management.

Working with Step Functions in Python using Boto3

Working with Step Functions in Python using Boto3

This article covers how to manage AWS Step Functions workflows (state machines) using the Boto3 library (Python SDK for AWS).

Working with RDS in Python using Boto3

Working with RDS in Python using Boto3

This article covers how to create and manage Amazon RDS databases using the Boto3 library (AWS SDK for Python).

Working with Glue in Python using Boto3

Working with AWS Glue in Python using Boto3

This article covers how to use Boto3 library to interact with AWS Glue and automate ETL jobs, crawlers and define the Metadata Catalogs.

Working with VPC in Python using Boto3

Working with VPC in Python using Boto3

This article covers how to manage VPCs, Subnets, Security Groups, NACLs, Internet, NAT Gateways, Route Tables using Python and Boto3 library.

Working with AWS Batch in Python using Boto3

Working with AWS Batch in Python using Boto3

This article covered the fundamentals of AWS Batch and how to use Python and the Boto3 library to manage AWS Batch Jobs.

Working with Route53 in Python using Boto3

Working with Route53 in Python using Boto3

This article covered how to use Python and the Boto3 library to create and manage DNS zones and records in the Amazon Route53.

Working with KMS in Python using Boto3

Working with KMS in Python using Boto3

This article covers how to manage KMS keys, KMS Policies, Key Aliases, Key Grants using the Python Boto3 library.

Working with ECS in Python using Boto3

Working with ECS in Python using Boto3

This article is covering how to manage AWS ECS clusters, tasks, task definitions, and services by using Python and the Boto3 library.

Working with Athena in Python using Boto3

Working with Athena in Python using Boto3

This article will cover how you can automate the management of Amazon Athena by using Python and the Boto3 library.

Q&A

Is this a right course for me if I'm new to AWS?

If you’re new to the AWS cloud platform, we strongly recommend you get the basic knowledge about the AWS cloud platform by following the “Ultimate AWS Certified Solutions Architect Associate 2021” course. As soon as you have a basic understanding of the AWS services, you can start automating them using Python. And that’s where our content will bring you lots of value!

Is Cloud9 a mandatory requirement or is it possible to cover all the course topics using on-premises IDE?

You can follow the course from on-premises IDE. We recommend using the Cloud9 IDE for the course as it simplifies environment configuration.

What is the expected cost of the AWS resources throughout the course? Is the course content eligible for AWS Free Tier or some extra bucks are required?

All currently provided course examples including Cloud9 IDE are eligible for the AWS Free Tier and you can follow them at no additional cost.

“New AWS customers who are eligible for the AWS Free Tier can use AWS Cloud9 for free. If your AWS Cloud9 environment makes use of resources beyond the free tier, you are charged the normal AWS rates for those resources.” (https://aws.amazon.com/cloud9/pricing/).

Do not forget to cleanup created resources by following provided examples to avoid unexpected charges.