Using Python to Automate AWS Services | Lambda and EC2 @TravisMedia
Using Python to Automate AWS Services | Lambda and EC2  @TravisMedia
Uploaded January 2023 | Updated November 2026, 3 hours ago
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 - geni.us/HoswN2
AWS/Python Developer Blueprint - geni.us/yGlFaRe

** Get ONE FREE Month on Skillshare. Learn Anything (preferably code 😁) **
πŸŽ“ 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 βž” 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.
Using Python to Automate AWS Services | Lambda and EC28 Years A Developer | What I’ve learned | Self-taughtShould Developers Generalize or Specialize?ChatGPT Rebuilds My App Completely | Full-StackStaying mentally sharp in the age of AI #coding #aiprogrammingGet Paid More as a Developer in 2023Lets Build a ChatGPT Interview Bot | Hands On Project5 Warp Terminal Features That Will Transform Your Kubernetes WorkflowThe App YOU or I Could Have Built... ShipFastyou need to build a RUST desktop app!!Why e-books are better than physicalJavaScript vs Typescript (dynamic vs static)
Travis Media |

Using Python to Automate AWS Services | Lambda and EC2

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER