
Meet instructor Fabio Rodriguez and start building practical Python and Boto3 scripts. The knowledge you gain here will boost your career, studies, and personal projects.
Discover the course structure and objectives for 100+ AWS Python boto3 scripts, including installation, Python basics, and script organization, with hands-on examples for SNS, EC2, S3, DynamoDB, Lambda, and EventBridge.
Introduces the instructor, Fabio Rodriguez, highlighting his extensive AWS experience, cloud computing background, and multiple certifications, assuring learners they are in good hands with a seasoned IT professional.
Learn to write more than 100 python and boto3 scripts with guided, step-by-step lessons. Read boto3 and python documentation, explore the AWS console, and apply best practices.
Explore the aws services covered in this course, including ec2, ebs, ami, snapshots, security groups, rds, s3, dynamodb, lambda, sns, vpc, workspace, and iam.
Explore the definitions of Python, boto3, and pylint. Learn their uses and how to start building AWS scripts with these tools.
Discover how Python combines open source accessibility, ease of learning, and powerful libraries to enable cloud computing and ai across aws, azure, and gcp.
Explore Boto3, the AWS SDK for Python, and learn how to choose between the low-level client interface and the higher-level resource API, with EC2 examples and common operations.
Explore Botocore as a low-level interface to AWS services and learn to catch client errors in boto3 code using try-except blocks.
Learn how Pylint acts as a static Python code analyzer to enforce Pep8, catch errors, and suggest refactoring, with practical tips for Visual Studio Code formatting and readable code.
Prepare Windows, Linux, and Mac OS environments by installing Python, Visual Studio Code, Boto3, and Pylint; configure VS Code extensions, and access course materials to create your workspace.
Prepare your Windows environment by installing Python, boto3, Pylint, and Visual Studio Code, then configure AWS CLI, install extensions, and download course material for hands-on scripts.
Prepare your Linux environment by installing Python, boto3, and Visual Studio Code extensions, configure the AWS CLI, and create an IAM user to run sample scripts.
Review core Python basics such as strings, booleans, lists, dictionaries, if and while statements, user input, try/except/finally, and read/write files to prepare scripts.
Explore Python strings as immutable sequences and learn to create them with single, double, or triple quotes while applying methods like format, capitalize, upper, startswith, endswith, join, split, and partition.
Understand Python integers, whole numbers with unlimited precision, and arithmetic operations such as addition, subtraction, multiplication, division (yields float), power, and modulus, with examples.
Explore booleans in Python, representing truth values as true or false, with and, or, not. Compare numbers and strings, using lower() for case-insensitive string equality.
Explore Python lists as mutable sequences, learn to modify with append, pop, remove, reverse, del, and clear, and practice slicing, indexing, and nesting with mixed types and tuples.
Discover tuples in Python as immutable, ordered sequences. Practice indexing, length, and methods count and index with examples of mixed types and lists of tuples used for tagging in scripts.
Explore ranges in Python, a sequence of numbers used in for loops; range(n) yields 0 to n-1, shown with list conversion and a loop printing 0 to 9.
Explore Python sets, an unordered collection with no duplicates where you can't change items once created. Add or remove items, then perform difference, intersection, union, and symmetric difference.
Explore how Python dictionaries function as mapping types with key-value pairs and mutability. Master methods like get, items, keys, values, pop, and update to access and modify data.
Explore Python if statements with optional elif and else, learn list membership using in and not in, compare values, and check for empty lists with if not.
Explore for statements in Python that iterate over sequences, including lists, dictionaries, sets, and tuples, and print keys, values, and items with practical loop examples.
Explain while statements in Python, how they repeat while expression is true, and show how to increment a counter (my_num) to print 1 through 5 before exiting, avoiding infinite loops.
Learn how the Python break statement exits the innermost loop, with a range example printing 0 through 4 and stopping when the value reaches five.
Explore the continue statement in Python loops. A for loop skips the number five and prints 0–4, then 6–9, using continue to advance iterations.
Learn how to use Python's input to collect user data, assign it to variables, and convert to integers when needed, with prompts and type verification.
Apply try, except, and finally to manage python errors. Build robust scripts by handling value error, zero division error, and name error with specific except blocks; finally always runs.
Explains how to work with Python datetime objects, such as date, time, and timedelta, use now and strptime for parsing, and replace components to manipulate dates, weekdays, and times.
Learn how to read and write files in python using open and with, handling modes r, w, and a, encoding utf-8, and automatic closure for safe, reliable file operations.
Learn to read and write csv files in python using the csv module, including writer, reader, and write row operations, with headers and utf eight encoding.
Explore the if __name__ == '__main__' construct in Python, which creates an entry point for scripts and runs code only when executed directly, not on import.
Structure AWS boto3 scripts with pre-populated boilerplate, docstrings, and try-except blocks, focusing on core boto3 code in main functions while avoiding repetition across 100+ scripts.
Explore seven SNS scripts to manage topics, subscriptions, and tags in AWS Python Boto3. Learn to create topics, list topics and subscriptions, tag topics, and send email via SNS.
Learn to create an AWS SNS topic using Python and boto3 by prompting for topic name, display name, and tag key/value, and print the topic ARN.
Learn to create an SNS subscription for an existing topic using Boto3 in Python, by selecting the topic name, protocol, and endpoint, and retrieving the subscription ARN.
Learn to list all SNS topics with boto3 in Python by iterating over SNS topics and printing each topic Arn, using topics.all and a simple script structure.
Write a simple python script using boto3 that lists all sns subscriptions and prints their arns, with a loop over subscriptions and a main function.
Learn to add tags to all SNS topics in your account using a boto3 SNS client, looping through topics, and printing each topic ARN.
Learn how to remove tags from all SNS topics with a Boto3 SNS untag_resource call. Loop through topics, pass the user-provided tag key to untag, and use a menu interface.
Create a Python script using boto3 to publish an email to an SNS topic, validating the topic, including subject and body, and verify success via the response metadata status code.
Explore seven EBS volume scripts using Boto3, including creating, listing unattached and unencrypted volumes, listing all volume types, and moving GP2 to GP3, attaching, modifying, and deleting volumes.
Create an EBS volume with user-specified size, encryption, type, and availability zone, returning the new volume ID, while listing availability zones and using EC2 resource and client in boto3.
Learn to list available EBS volumes not attached to any EC2 instance using boto3, by filtering EC2 volumes by status available and printing their IDs.
List unencrypted ebs volumes using a boto3 script, filtering by encrypted equals false and printing the volumes' ids from the ec2 resource.
Write a Python script using boto3 to list all EBS volumes and their types via the EC2 resource. Print each volume's id and type to display GP3 and GP2 volumes.
Learn to attach an EBS volume to an EC2 instance using a boto3 script, providing the instance id, volume id, and device name, and display the attach state.
Modify an EBS volume's size or type using a Python script with the Boto3 EC2 client. Supply the volume ID and new size or type to apply changes.
Learn to delete an EBS volume using a simple Boto3 script by providing a volume ID, creating an EC2 resource, and invoking volume.delete with a confirmation message.
Discover how to script EC2 tasks with Python and boto3, including creating, tagging, CSV export, listing by state, and using waiters to safely modify instance types.
Automate EC2 provisioning with boto3 by creating key pairs and launching one or more EC2 instances with a 100 GB gp3 root volume, ami, subnet, and security group.
Tag an EC2 instance with a boto3 script that receives an instance ID and a list of key-value tag tuples, then creates tags via CreateTags and confirms completion.
Export EC2 instance details to a CSV file using boto3, including id, type, launch time, operating system, private and public IPs, VPC ID, subnet ID, and tags.
List EC2 instances in a user-specified state using a Boto3 EC2 client and describe instance with an instance state name filter; output instance IDs and types.
Learn to list EC2 instances in a specific state using the Boto3 EC2 resource, filtering by instance state name and printing the instance id, state, and instance type.
This lecture demonstrates a Python script using boto3 to list all EC2 instances and print each instance's id, tags, and key value pairs, with formatted alignment for readability.
Learn to list EC2 instances by a specific tag key using Boto3, returning instance IDs and tag values for keys like owner or application.
Learn to modify an EC2 instance type with boto3 by stopping the instance, waiting for stop, changing the instance type, and starting it again with waiters and error handling.
Learn to modify EC2 instance attributes with boto3. The script checks and toggles the source destination check, updates EBS delete on termination, and reports EBS optimized status.
Learn to attach an IAM instance profile to an EC2 instance using boto3, providing the instance ID and instance profile ARN, and handling the association with the EC2 client.
Learn to stop multiple EC2 instances with a Python script using boto3, looping through user-provided IDs, calling instance.stop, and waiting for each to stop.
Start specified EC2 instances by reading IDs from a file with a boto3 script, including waiting until running and handling whitespace and file errors.
Terminating ec2 instances listed in a file using boto3, the script checks termination protection, disables it when needed, and waits for termination.
Develop four Amazon Machine Image scripts to manage AMIs: create an AMI, list AMIs by creation date, list all AMIs, and deregister or delete AMIs to clean up the account.
Create an ami from an EC2 instance with boto3 by providing the instance id, ami name, and description, ensuring no reboot, and returning the image id.
List AWS EC2 AMIs older than a user-specified number of days using boto3, filter owned AMIs, convert creation dates, and print IDs with dates for cleanup.
Deregister an AMI using a boto3 script by initializing an EC2 resource and calling image.deregister with a user-provided image id, then check the response metadata for a 200 status.
Write four snapshot scripts with boto3 to manage snapshots: create, list with creation dates, list all, and delete old snapshots to save money.
Create snapshots for all EBS volumes attached to a given EC2 instance using Boto3, returning snapshot IDs and volume IDs along with the instance ID and description.
Write a boto3 based script that lists EC2 snapshots older than a given number of days, printing each snapshot id and its creation date.
Write a Python script using boto3 to delete an EC2 snapshot by its id, validate the operation via response metadata and http status codes, and run it with user input.
Some of the most important skills to have nowadays if you work with or just enjoy Technology, is to know Cloud Computing, a programming language and how to automate things. AWS is known to be the top 1 cloud provider and Python is a programming language that is very powerful and heavily used in many different industries. In this course, we put AWS and Python together to automate your tasks in your Cloud Environment using the Boto3 SDK for Python!
In this course, we will write more than 100 scripts together using Python and Boto3. All the scripts are guided, step-by-step, with detailed explanation. There are over 30 hours of videos, and more than 150 lectures! You will also learn how to read the Pyhton, Boto3, Pylint and PEP8 documentation.
AWS Services covered in this course include EC2, S3, Lambda, DynamoDB, SNS, RDS, IAM, EBS, AMI, Snapshot, VPC, Workspaces and much more! We also cover AWS EventBridge and explain how to run your scripts automatically on the AWS Console.
At the end of this course, you will be able to write your own scripts and automate your Cloud Environment.
So, what are you waiting for? Join us in this course and I'm sure this will really help you on your projects and your career!