Using Python to Automate AWS Services | Lambda and EC2

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 ธ.ค. 2024

ความคิดเห็น • 34

  • @sudomoon
    @sudomoon ปีที่แล้ว +12

    Your content is so high quality and accurate, I wonder why youtube algorithm doesn't pick up your channel.
    I have seen many channels and read many computer science books, and I loved your content just in 1 video. Hats off sir !!

    • @TravisMedia
      @TravisMedia  ปีที่แล้ว

      Thank you! Glad it was helpful

  • @manutorres3241
    @manutorres3241 ปีที่แล้ว +7

    Awesome content. Great to get to practice real AWS outside from certification focused courses. One side note about this one: for those who want to stay on the free tier side, keep in mind that CloudTrail alone will reach S3 requests limit in a matter of hours. Also, though not as inmmediate, remember not to keep your EC2 instances running forever.

  • @kicknotes
    @kicknotes ปีที่แล้ว +6

    Good video! I like the relatively unscripted nature... When an error pops up, it's always good to see it dug into in real time...

  • @reemthebarber1900
    @reemthebarber1900 11 หลายเดือนก่อน +1

    Great video. I am glad that you kept everything recording, like a live stream, when you were running into errors. This also helped us viewers watching you troubleshoot.

  • @HassanShamshir
    @HassanShamshir 11 หลายเดือนก่อน +1

    you are the awesome instructor

  • @MrRin_
    @MrRin_ ปีที่แล้ว

    Great video, I just got my CCP and it's so nice to get hands-on experience right off the bat

  • @ReivsonLopes
    @ReivsonLopes ปีที่แล้ว

    Awesome!! Claps from Brazil!! You Rocks!!

  • @sureshsurendran737
    @sureshsurendran737 ปีที่แล้ว

    Nicely explained. Thanks for the video

  • @abdellahmaher7073
    @abdellahmaher7073 2 หลายเดือนก่อน

    Great video, thank you so much

  • @nusetorsetsofia8729
    @nusetorsetsofia8729 9 หลายเดือนก่อน

    Great video. Lemme go try it out 🤩

  • @nagaganesh4239
    @nagaganesh4239 13 วันที่ผ่านมา

    Quick Note: When multiple instances are created at once, the code must be modified to handle them properly.
    instances = event['detail']['responseElements']['instancesSet']['items']
    # Get all instanceIds
    instance_ids = [instance['instanceId'] for instance in instances]
    Full code:
    import json
    import boto3
    def lambda_handler(event, context):
    userName = event['detail']['userIdentity']['userName']
    instances = event['detail']['responseElements']['instancesSet']['items']
    # Get all instanceIds
    instance_ids = [instance['instanceId'] for instance in instances]
    print(instance_ids)
    ec2 = boto3.client('ec2')
    ec2.create_tags(
    # Up to 1000 resource IDs(instance_ids)
    Resources=instance_ids,
    Tags=[
    {
    'Key': 'Owner',
    'Value': userName
    },
    ]
    )

  • @healthvative5315
    @healthvative5315 6 หลายเดือนก่อน

    Thanks for a great content as always

  • @jaaferbennasr7483
    @jaaferbennasr7483 ปีที่แล้ว

    What fantastic work. Thanks a lot.

  • @Ciommi
    @Ciommi ปีที่แล้ว

    Thank you so much sempai! ❤ always amazing resources

  • @blevenzon
    @blevenzon ปีที่แล้ว

    This was awesome. Thanks so much

  • @tcooksey1972
    @tcooksey1972 3 หลายเดือนก่อน

    Is there a CloudFormation or an easy way to generate one for this solution? Maybe in a future video?

  • @msasake
    @msasake ปีที่แล้ว

    Thank you! So it’s only showing as user instead of the IAM user’s name.. anyway to correct this?

  • @musicbox6574
    @musicbox6574 ปีที่แล้ว

    Glorious

  • @fuadhassan1764
    @fuadhassan1764 ปีที่แล้ว

    Thanks so much. Helpful as always. It would be great to have a career path guide for software testers. Essential courses to do in Udemy one after another to become a good software tester.

  • @tomasguvits9478
    @tomasguvits9478 ปีที่แล้ว

    Hi Travis! Thanks for that fantastic demo! One question, after two days of having set everything up just like you did, I received a warning from Amazon about "exceeding 85% of the usage limit of 2,000 Put, Copy, Post or List Requests of Amazon S3". What's that all about, and how can I keep practicing without getting billed? Thanks man, awesome channel!

  • @anashamdan5237
    @anashamdan5237 ปีที่แล้ว

    We need more videos about that

  • @owenzmortgage8273
    @owenzmortgage8273 ปีที่แล้ว +2

    Unfortunately, can’t see anything clearly from the screen you shared. Do you realize that

  • @pect5032
    @pect5032 ปีที่แล้ว

    Wait is this Python or JSON that’s being used?

  • @Eagle_Ridaz
    @Eagle_Ridaz ปีที่แล้ว

    Great content! but a black screen with small font, it's very hard to see it clearly.

    • @reemthebarber1900
      @reemthebarber1900 11 หลายเดือนก่อน

      i had to manually increase my screen, instead of the TH-cam fullscreen vid. I had difficulty as well. But my adjustments made it readable.

  • @Asif-s6p
    @Asif-s6p 9 หลายเดือนก่อน

    I solved the final challenge with less than 20 lines of code. I checked and stored the 5 conditions in 5 variables which are Boolean. Just one IF ELSE to check if all 5 are True. If its true it breaks from the main while loop and message password is right else it ask the user to try again.

  • @Peacefulonetv
    @Peacefulonetv ปีที่แล้ว

    😗😗😗

  • @sbsafi4981
    @sbsafi4981 8 หลายเดือนก่อน

    It takes 10 years for me to learn this ☹

  • @ghaayathridevik5050
    @ghaayathridevik5050 2 หลายเดือนก่อน

    Could you create WhatsApp community where we can discuss among other aspiring coders and network?

  • @gregoryallen1122
    @gregoryallen1122 7 หลายเดือนก่อน

    Maybe I'm slow, but he's going too fast for me.

  • @afk4dyz
    @afk4dyz หลายเดือนก่อน

    Damn boss still doesn't know my name...