Connect S3 Bucket to EC2 Instance with IAM role

Поделиться
HTML-код
  • Опубликовано: 9 сен 2024
  • Creating an EC2 instance always has storage constraints because mostly we manage our files where we can access them conveniently. If we have our files on EC2, then there might be a chance of losing them if somehow the instance got terminated. To prevent this, we have an amazing storage service called S3 or Simple Storage Service.
    In this video, we see how to connect our S3 storage to our EC2 instance by assigning the IAM role. Later, a user can access the same using any terminal or command-line interface.
    • Amazon S3 ▶️ amzn.to/34i099K
    • Amazon IAM ▶️ docs.aws.amazo...
    #amazonaws #ec2instance #s3bucket #iamrole #integration
    AWS
    Instances
    S3 Bucket
    IAM Role

Комментарии • 50

  • @SaiAbhiramBethi-bp7tv
    @SaiAbhiramBethi-bp7tv 7 месяцев назад

    The clarity of explanations and engaging delivery kept me hooked from start to finish. And can you make video on Docker and Kubernetes.

  • @rupeshfitnesstravel
    @rupeshfitnesstravel 2 года назад +2

    Very informative in very simple way .. thanks a lot ..

  • @oluomoay2278
    @oluomoay2278 Год назад +1

    Simple and straight forward. Thank you. 👍

  • @ruhulaminsande8352
    @ruhulaminsande8352 2 года назад +1

    Your explanations is very good. Thanks for the content.

  • @vinodkumar-cs4xi
    @vinodkumar-cs4xi 2 года назад +1

    Bro very helpful and your presentation is very nice 👍expecting more videos like this..Thank you

    • @IFYStudios
      @IFYStudios  2 года назад

      Sure 👍 , I am creating a new course on AWS x Android. Uploading Soon 🔜

  • @sandro_j
    @sandro_j 2 года назад +2

    great video, your explanations are very helpful.

  • @Learn_IT_with_Azizul
    @Learn_IT_with_Azizul 8 месяцев назад +1

    very imporetant content. But, plz consider to cancel bad noise in background, for next attempt. Thank you

  • @saripellasameersharma7887
    @saripellasameersharma7887 Год назад +1

    Clear explanation, thanks brother!

  • @nandakumark5347
    @nandakumark5347 2 года назад +3

    super explanation

  • @danishisrarkhan6882
    @danishisrarkhan6882 2 года назад

    Very good explanation, thanks!

  • @AliTwaij
    @AliTwaij Год назад +1

    brilliant video thankyou

  • @manojgowda1718
    @manojgowda1718 Месяц назад

    Thanks a lot 😊👍

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

    Hey man, this is really a very nice video from you.
    Why no show from past 1 year?

    • @IFYStudios
      @IFYStudios  Год назад +1

      Thanks, Man,,,, Yea,,, It's just I have a full-time job so, taking out time for this stuff took a toll after office resumption 😅. But, I am gonna restart super soon

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

      @@IFYStudios good to hear you are gonna restart soon. Waiting for you for latest updates on various AWS tutorial videos ❤️🙂

  • @josephmotto7061
    @josephmotto7061 2 года назад

    Very helpful video!

  • @mdalishaik-aliza
    @mdalishaik-aliza 2 года назад +1

    nice video...came to know new things :)

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

    Fallowed instructions and received "An error occurred (AccessDenied) when calling the ListBuckets operation: Access Denied" when running aws s3 ls command.

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

      If you're not the owner of the account then you require to add s3:ListBucket in S3 bucket policy as well. This falls under permissions tab in S3 bucket.
      If you're the owner, then it should work, as we are giving full access for now

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

    Hello brother thanks for the clear explanation, But I am getting some errors ,I followed the all the steps as per the video, on the first time aws s3 cli is working properly, but after reconnecting to the ec2 I tried the aws s3 ls command , but I am getting the errors like the AttributeError: module 'lib' has no attribute 'OpenSSL_add_all_algorithms' ...

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

      Please email the details on @ify.stdio@gmail.com

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

    do we require to configure IAM role if we are accessing s3 bucket from the spring boot code?

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

      Yes we do, and we can also use STSAssumeRoleSessionCredentialsProvider to get the assumed credentials to perform a task by still using an IAM role.

  • @KrishnaYadav-ke4mf
    @KrishnaYadav-ke4mf Год назад +1

    Sir there in my loptop not opend bucket command section

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

      Please mail your query on ify.stdio@gmail.com

  • @gabrielonyieaho8293
    @gabrielonyieaho8293 Год назад +1

    nice video. Question why not save the file in the s3 with same name it is copied as

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

      We can. When we copy the file with the same name, it overwrites the same file so, to show the process, I changed the name.
      When replaced (we can still see the old file in the versions tab (if enabled)) 🙂

  • @Gurudev031
    @Gurudev031 Год назад +1

    How can we automate this whole process?

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

      There are plenty of ways to automate. Terraform, cloud formation, etc IAC services give you the freedom to automate the creation of AWS Resources. FWIW, even lambda functions can be used to create resources.

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

    A very good video 🙂

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

    candycrush in the background xD

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

    This is bad. You're giving Full S3 access which mean your role has access to all S3 buckets. You should grant at the bucket level.

    • @IFYStudios
      @IFYStudios  7 месяцев назад +1

      I have already mentioned this is only for tutoring purposes. I have another video wherr I've explained about the IAM and its integration with S3. Thanks for the comment by the way. 😊

  • @soumyamishra8734
    @soumyamishra8734 Год назад +1

    can you pls automate the whole process

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

      By automate, what do you mean exactly? Please elaborate more.
      Thanks

    • @soumyamishra8734
      @soumyamishra8734 Год назад +1

      @@IFYStudios I want to learn infrastructure as code by cdk and terraform

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

      Got it, I can cover that using SAM/Cloudformation or even Terraform. Please allow some time, and thanks for the request.

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

      @@IFYStudios Thank you so much what's your LinkedIn profile

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

      www.linkedin.com/in/shubhamsg 😊 This might answer my infrequent postings

  • @dtvind
    @dtvind 2 года назад

    Please change title its connecting from EC2 Instance to S3

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

      Thank you for the suggestion :)

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

    Who is that playing Subway surfers in the background 😂

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

      It's an old video bruh, I don't even remember 😄