Connect S3 Bucket to EC2 Instance with IAM role

  Рет қаралды 49,436

IFYStudio

IFYStudio

3 жыл бұрын

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.amazon.com/IAM/lates...
#amazonaws #ec2instance #s3bucket #iamrole #integration
AWS
Instances
S3 Bucket
IAM Role

Пікірлер: 50
@SaiAbhiramBethi-bp7tv
@SaiAbhiramBethi-bp7tv 6 ай бұрын
The clarity of explanations and engaging delivery kept me hooked from start to finish. And can you make video on Docker and Kubernetes.
@ruhulaminsande8352
@ruhulaminsande8352 2 жыл бұрын
Your explanations is very good. Thanks for the content.
@oluomoay2278
@oluomoay2278 Жыл бұрын
Simple and straight forward. Thank you. 👍
@sandro_j
@sandro_j 2 жыл бұрын
great video, your explanations are very helpful.
@josephmotto7061
@josephmotto7061 2 жыл бұрын
Very helpful video!
@saripellasameersharma7887
@saripellasameersharma7887 Жыл бұрын
Clear explanation, thanks brother!
@IFYStudios
@IFYStudios Жыл бұрын
Glad it was helpful!
@AliTwaij
@AliTwaij Жыл бұрын
brilliant video thankyou
@danishisrarkhan6882
@danishisrarkhan6882 2 жыл бұрын
Very good explanation, thanks!
@IFYStudios
@IFYStudios Жыл бұрын
Glad it was helpful!
@rupeshfitnesstravel
@rupeshfitnesstravel 2 жыл бұрын
Very informative in very simple way .. thanks a lot ..
@IFYStudios
@IFYStudios 2 жыл бұрын
Glad you liked it
@vinodkumar-cs4xi
@vinodkumar-cs4xi 2 жыл бұрын
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 🔜
@manojgowda1718
@manojgowda1718 14 күн бұрын
Thanks a lot 😊👍
@Learn_IT_with_Azizul
@Learn_IT_with_Azizul 7 ай бұрын
very imporetant content. But, plz consider to cancel bad noise in background, for next attempt. Thank you
@trackxin
@trackxin Жыл бұрын
A very good video 🙂
@IFYStudios
@IFYStudios Жыл бұрын
Thank you! 😃
@nandakumark5347
@nandakumark5347 2 жыл бұрын
super explanation
@IFYStudios
@IFYStudios 2 жыл бұрын
Thank you so much 🙂
@pixdata8126
@pixdata8126 2 жыл бұрын
nice video...came to know new things :)
@IFYStudios
@IFYStudios Жыл бұрын
Thanks for visiting
@Kartik2611
@Kartik2611 6 ай бұрын
candycrush in the background xD
@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
@mohammedasifkhanp5032
@mohammedasifkhanp5032 Жыл бұрын
Hey man, this is really a very nice video from you. Why no show from past 1 year?
@IFYStudios
@IFYStudios Жыл бұрын
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 ❤️🙂
@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.
@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
@Gurudev031
@Gurudev031 Жыл бұрын
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.
@gabrielonyieaho8293
@gabrielonyieaho8293 Жыл бұрын
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)) 🙂
@KrishnaYadav-ke4mf
@KrishnaYadav-ke4mf Жыл бұрын
Sir there in my loptop not opend bucket command section
@IFYStudios
@IFYStudios Жыл бұрын
Please mail your query on ify.stdio@gmail.com
@abhitechegde
@abhitechegde Жыл бұрын
Who is that playing Subway surfers in the background 😂
@IFYStudios
@IFYStudios Жыл бұрын
It's an old video bruh, I don't even remember 😄
@soumyamishra8734
@soumyamishra8734 Жыл бұрын
can you pls automate the whole process
@IFYStudios
@IFYStudios Жыл бұрын
By automate, what do you mean exactly? Please elaborate more. Thanks
@soumyamishra8734
@soumyamishra8734 Жыл бұрын
@@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
@datasleek7950
@datasleek7950 7 ай бұрын
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 6 ай бұрын
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. 😊
@dtvind
@dtvind Жыл бұрын
Please change title its connecting from EC2 Instance to S3
@IFYStudios
@IFYStudios Жыл бұрын
Thank you for the suggestion :)
AWS S3 Tutorial For Beginners
27:18
Be A Better Dev
Рет қаралды 226 М.
Nastya and SeanDoesMagic
00:16
Nastya
Рет қаралды 34 МЛН
AWS Storage - EBS vs S3 vs EFS
29:48
AWS with Chetan
Рет қаралды 121 М.
Amazon S3 Access Control - IAM Policies, Bucket Policies and ACLs
19:44
Digital Cloud Training
Рет қаралды 79 М.
AWS EC2 vs ECS vs Lambda | Which is right for YOU?
16:50
Be A Better Dev
Рет қаралды 183 М.
AWS - 13 - Access S3 Objects from EC2 Instance
11:44
Suroj Bera
Рет қаралды 16 М.
Mount S3 bucket to an EC2 instance
11:12
AWS with Avinash Reddy
Рет қаралды 8 М.
AWS S3 Bucket Policy vs IAM - What's the Difference?
12:11
Be A Better Dev
Рет қаралды 29 М.
Top 50+ AWS Services Explained in 10 Minutes
11:46
Fireship
Рет қаралды 1,5 МЛН
AWS EC2 vs Lambda | Whats the difference? Pros and Cons?
19:51
Be A Better Dev
Рет қаралды 125 М.