Using Python to Automate AWS Services | Lambda and EC2

Поделиться
HTML-код
  • Опубликовано: 24 дек 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 !!

  • @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.

  • @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...

  • @HassanShamshir
    @HassanShamshir 11 месяцев назад +1

    you are the awesome instructor

  • @nagaganesh4239
    @nagaganesh4239 20 дней назад

    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
    },
    ]
    )

  • @MrRin_
    @MrRin_ Год назад

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

  • @sureshsurendran737
    @sureshsurendran737 Год назад

    Nicely explained. Thanks for the video

  • @tcooksey1972
    @tcooksey1972 3 месяца назад

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

  • @nusetorsetsofia8729
    @nusetorsetsofia8729 10 месяцев назад

    Great video. Lemme go try it out 🤩

  • @msasake
    @msasake Год назад

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

  • @abdellahmaher7073
    @abdellahmaher7073 3 месяца назад

    Great video, thank you so much

  • @healthvative5315
    @healthvative5315 6 месяцев назад

    Thanks for a great content as always

  • @ReivsonLopes
    @ReivsonLopes Год назад

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

  • @owenzmortgage8273
    @owenzmortgage8273 Год назад +2

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

  • @jaaferbennasr7483
    @jaaferbennasr7483 Год назад

    What fantastic work. Thanks a lot.

  • @anashamdan5237
    @anashamdan5237 Год назад

    We need more videos about that

  • @Ciommi
    @Ciommi Год назад

    Thank you so much sempai! ❤ always amazing resources

  • @blevenzon
    @blevenzon Год назад

    This was awesome. Thanks so much

  • @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!

  • @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.

  • @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 RUclips fullscreen vid. I had difficulty as well. But my adjustments made it readable.

  • @musicbox6574
    @musicbox6574 Год назад

    Glorious

  • @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.

  • @sbsafi4981
    @sbsafi4981 8 месяцев назад

    It takes 10 years for me to learn this ☹

  • @Peacefulonetv
    @Peacefulonetv Год назад

    😗😗😗

  • @ghaayathridevik5050
    @ghaayathridevik5050 2 месяца назад

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

  • @afk4dyz
    @afk4dyz 2 месяца назад

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

  • @gregoryallen1122
    @gregoryallen1122 7 месяцев назад

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