MENU

Fun & Interesting

Using Python to Automate AWS Services | Lambda and EC2

Travis Media 33,467 2 years ago
Video Not Working? Fix It Now

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 If you liked this tutorial, enjoy programming, and are looking to take it seriously, check out my coding blueprints. They will take you from complete beginner to job-ready. 👉 Learn to Code Web Developer Blueprint - https://geni.us/HoswN2 AWS/Python Developer Blueprint - https://geni.us/yGlFaRe ** Get ONE FREE Month on Skillshare. Learn Anything (preferably code 😁) ** 🎓 https://geni.us/DqB7m ** I write regularly ** https://travis.media ** FREE EBOOKS ** 📘 https://travis.media/ebooks LET'S CONNECT! 📰 LinkedIn ➔ https://www.linkedin.com/in/travisdot... 🐦 Twitter ➔ https://twitter.com/travisdotmedia​ 🙋🏼‍♂️ Website ➔ https://travis.media #boto3 #pythonprogramming #aws ** Some of the links in this description may be affiliate links that I may get a little cut of. Thank you.

Comment