Automate AWS EC2 with Python | DevOps Coding Challenge

  Рет қаралды 15,555

Travis Media

Travis Media

Күн бұрын

In this video, I'll give you a fun, hypothetical coding task to complete from your Team Lead.
This will be a fun exercise for those:
1. Learning Python and AWS
2. Are new to, or learning, DevOps
3. Looking for practice Python/AWS automation examples
I'll give you the scenario, give an overview of the architecture, and then you can either try it out yourself, or you can follow along with me as I build out the solution.
Let me know if you'd like to see more videos like this.
** Python Course Recommendations **
The Modern Python 3 Bootcamp - geni.us/yFPQ85e
100 Days of Code: The Complete Python Pro Bootcamp for 2023 - geni.us/n80Kf
Mastering Boto3 and Lambda Functions - geni.us/oNFz9A
Timestamps
00:00 Intro
00:38 The Challenge
01:19 Pseudocoding the architecture
03:16 Creating the Lambda
03:40 Setting the Lambda permissions
05:11 Writing Lambda with Python and Boto3
14:23 Creating the Eventbridge cron
16:13 Outro
Remember to DELETE your EC2 instances when done
** My Coding Blueprints **
Learn to Code Web Developer Blueprint - geni.us/HoswN2
AWS/Python Blueprint - geni.us/yGlFaRe
** I write regularly **
travis.media
** FREE EBOOKS **
📘 travis.media/ebooks
LET'S CONNECT!
📰 LinkedIn ➔ / travisdot. .
🐦 Twitter ➔ / travisdotmedia​
🙋🏼‍♂️ Website ➔ travis.media
#awspython #awsdevops #pythonprogramming
** Some of the links in this description may be affiliate links that I may get a little cut of. Thank you.

Пікірлер: 29
@stevedmcwinner3169
@stevedmcwinner3169 Жыл бұрын
Hello Travis I'm a newbie in the DevOps world and I do like this kind of content. Thank you very much!
@harsh8429
@harsh8429 3 ай бұрын
This was excellent Travis!! Waiting for more new AWS Python challenges like these!!
@ThaEzioAuditore
@ThaEzioAuditore Жыл бұрын
wow ! brilliant stuff ! this is a nice series ! I hope you continue on with it 😊
@Cevap05
@Cevap05 Жыл бұрын
Hey there Travis! I found your KZbin Channel when I was looking for K8s tutorials. Found your recommendation on that Udemy course. I have been so preoccupied with it (and pleased of course) that I had to ensure I came back to give you thanks. Also, this was a great video. Please continue a series of "Challenges" that would be beneficial to real world Devops challenges. This content is great. Thank you again!
@venkatprasath01
@venkatprasath01 8 ай бұрын
That’s a simple but very useful video to start your lambda functions and EventBridge trigger. Thanks Travis!! This is the most underrated channel for learning AWS automation!! 😅😅
@srfloyd
@srfloyd Жыл бұрын
Great video Travis, I am going to test it out at my lab. More like this one please!
@blevenzon
@blevenzon Жыл бұрын
Highly recommend deploying instances with terraform that way you can just use terraform destroy to clean up all your created resources after you are done.
@TravisMedia
@TravisMedia Жыл бұрын
I agree
@Bablu_2711
@Bablu_2711 Жыл бұрын
Agree
@wilfredoperez1804
@wilfredoperez1804 Жыл бұрын
I will try it both ways. Thanks
@harrydatgoat6719
@harrydatgoat6719 10 ай бұрын
Thank you Travis! This is great for me to kick start my devops learning journey.
@ReivsonLopes
@ReivsonLopes Жыл бұрын
You always have the best explanations how to do the things don!!
@neerajadsul
@neerajadsul 6 ай бұрын
Really valuable, concise and practical! thanks.
@tattarrrrattat
@tattarrrrattat 11 ай бұрын
Yes, more of these. Very practical.
@hallielam
@hallielam 11 ай бұрын
more devops aws + python activities!!!! thank you :)! This was very helpful
@alexnovik
@alexnovik Жыл бұрын
Cool! Thank you!
@aldo3g
@aldo3g 2 ай бұрын
Awesome!!
@ramu7762
@ramu7762 11 ай бұрын
Thanks Travis. Awesome video.. Please do more automation videos
@leeparker6200
@leeparker6200 Жыл бұрын
Great video. Is this part of a series? Would love to see more lambda automation/devops videos
@gurucharan976
@gurucharan976 19 күн бұрын
This is awesome
@PANDApoopish
@PANDApoopish 9 ай бұрын
Thanks Travis, more python stuff please
@biznesmen8295
@biznesmen8295 9 ай бұрын
Love it man
@Doermalove
@Doermalove Жыл бұрын
Hi Travis, I just found your videos and your Chanel. A lot of good videos 👍👍🤝. Thanks for all these videos. Please I have a question on this one. Is there a way that we can do this such as if the instance is stopped it will trigger lambda to start? Also if we decide to stop the instance ourself, how will we to to avoid lamdba to start the instance? Thank you again.
@estebanlopez5372
@estebanlopez5372 Жыл бұрын
I want another 1.000 videos related to this :D ... Thanks
@paologreco9412
@paologreco9412 Жыл бұрын
Hi Travis, an thank you for the endless stream of tips and tricks you're sharing with us. May I ask you an off-topic question? Are your "5 Steps to Become a Freelance Web Developer in 2019" valid to this day? Do you think ai will make web developers useless? Thank you again for your attention, have a good day.
@noned5308
@noned5308 9 ай бұрын
Hi Travis great video, I am trying to automate the proccess of downloding CSV files from AWS Billing and uploading them to S3 using python and lambda. The first part is where I am struggling. If you know how this can be done I would appreciate your help a lot. Thanks for all the great videos.
@TravisMedia
@TravisMedia 9 ай бұрын
Does this help? This looks there is a BIlling API to grab data from - docs.aws.amazon.com/cost-management/latest/userguide/ce-api.html boto3.amazonaws.com/v1/documentation/api/latest/reference/services/ce.html if you are using Python
@TravisMedia
@TravisMedia 9 ай бұрын
Oooh check this out. Looks like someone created a Lambda to do this. You could take a look and tweak into your own automation. github.com/aws-samples/aws-cost-explorer-report
@sanathkumarj3547
@sanathkumarj3547 Жыл бұрын
what if someone deletes this Lambda Function LOL
Using Cloud Firestore For Your REACT Backend 2023 | CRUD App
51:15
Travis Media
Рет қаралды 17 М.
5 Useful Dunder Methods In Python
16:10
Indently
Рет қаралды 48 М.
顔面水槽がブサイク過ぎるwwwww
00:58
はじめしゃちょー(hajime)
Рет қаралды 121 МЛН
La final estuvo difícil
00:34
Juan De Dios Pantoja
Рет қаралды 25 МЛН
How To Become A DevOps Engineer in 2023? | Skills To Learn
20:34
Travis Media
Рет қаралды 529 М.
The Best AWS Cloud Projects To Get You Hired (For Beginners)
6:17
Tech With Lucy
Рет қаралды 466 М.
Integrating Foundation Models into Your Code with Amazon Bedrock
11:33
What is GitOps, How GitOps works and Why it's so useful
11:33
TechWorld with Nana
Рет қаралды 331 М.
Deploy FastAPI on AWS Lambda | In 9 MINUTES
9:02
Eric Roby
Рет қаралды 20 М.
Istio & Service Mesh - simply explained in 15 mins
16:09
TechWorld with Nana
Рет қаралды 629 М.
Python 101: Learn the 5 Must-Know Concepts
20:00
Tech With Tim
Рет қаралды 1 МЛН
⌨️ Сколько всего у меня клавиатур? #обзор
0:41
Гранатка — про VR и девайсы
Рет қаралды 631 М.
IPad Pro fix screen
1:01
Tamar DB (mt)
Рет қаралды 6 МЛН
Carregando telefone com carregador cortado
1:01
Andcarli
Рет қаралды 1,6 МЛН