Using Python to Automate AWS Services | Lambda and EC2

Using Python to Automate AWS Services | Lambda and EC2
In this video, we'll look at how to use Python to automate services in AWS.

In this video, we’ll look at how to use Python to automate services in AWS.

Using a real-world example, we’ll utilize CloudTrail to capture AWS events. We’ll set a rule in EventBridge to trigger a Lambda function whenever a user creates a new AWS EC2 instance. Then we’ll use Python within that Lambda to tag that instance with the name of the user that created it. This way, a company can always keep track of who created what sever by having this dynamic automation in place.

Python is a very popular language of choice with AWS automation and DevOps practices. After viewing this video, you’ll have a good idea of how it can be utilized to save time in implementing AWS best practices.

Timestamps
0:00 - Intro
0:33 - What we’re building
2:55 - Create Lambda function
4:14 - Create Trail and EventBridge Rule
9:25 - Boto3 and Writing Python Code
19:05 - Troubleshooting

Suggest:

Learn Python in 12 Hours | Python Tutorial For Beginners

Complete Python Tutorial for Beginners (2019)

Python Programming Tutorial | Full Python Course for Beginners 2019

Python Tutorials for Beginners - Learn Python Online

Introduction to Functional Programming in Python

Complete Python 3 Programming Tutorial