AWS - 22 - Access S3 Objects of One Account from EC2 Instance in Another Account

  Рет қаралды 5,687

Suroj Bera

Suroj Bera

Күн бұрын

Пікірлер: 25
@karthikaravikumar6083
@karthikaravikumar6083 Жыл бұрын
Thank you so much for the wonderful video. Nice explanation. Its much much much helpful to do my task
@surojbera
@surojbera Жыл бұрын
Glad it was helpful! Keep learning ✌️
@kalyansarkarsit
@kalyansarkarsit 2 жыл бұрын
👌 awesome lecture...
@surojbera
@surojbera 2 жыл бұрын
Appreciate your valuable feedback. Keep learning.🤞
@MEHARAFROZ-ub1hr
@MEHARAFROZ-ub1hr 9 ай бұрын
Awesome video.. Thankyou
@surojbera
@surojbera 9 ай бұрын
My pleasure 😊
@sachidanandshahane5709
@sachidanandshahane5709 Жыл бұрын
Good Explained, keep it up, and create more troubleshooting videos.
@surojbera
@surojbera Жыл бұрын
Appreciate your valuable feedback. Keep learning. 🤞
@dideepakindorkar3413
@dideepakindorkar3413 4 ай бұрын
Thanks
@Kunal-best
@Kunal-best Жыл бұрын
Your way of teaching and the real time scenario explanation of all the concepts will make you one day an awesome Tech mentor and stand out among the crowded so-called mentors on KZbin. So don't stop bro. Continue your channel with providing more and more real time scenario classes regularly. Best of luck bro.
@surojbera
@surojbera Жыл бұрын
Thank you Kunal. 😊 I really appreciate your valuable feedback. Keep learning and keep supporting. 🤞
@vicky-xv1xs
@vicky-xv1xs 6 ай бұрын
Don't we need to allow any permission in S3 bucket policy ?
@surojbera
@surojbera 6 ай бұрын
No. Not required in this case.
@JohnsonThomas-g5u
@JohnsonThomas-g5u 7 ай бұрын
can we use this method in daily backup process to s3 from ec2?
@arpitamondal5602
@arpitamondal5602 Жыл бұрын
😮
@abhishekdubey-p9n
@abhishekdubey-p9n Жыл бұрын
I have to do same connection i want to Access my S3 bucket in Putty but without IAM role and Aws Configure the same thing you r doing pls help me out is there any documentation or any BLOG ??
@surojbera
@surojbera Жыл бұрын
I am not sure at this moment. But I believe we can achieve this with S3 bucket policy. Let me check and get back to you.
@surojbera
@surojbera Жыл бұрын
Just to clarify one point. If you are using putty to login to an EC2 instance and want to access the S3 bucket in a different account, the EC2 instance should have a role attached to it or we need to configure credentials using the aws configure command.
@abhishekdubey-p9n
@abhishekdubey-p9n Жыл бұрын
@@surojbera see we use this command to list S3(aws s3 ls) but it shows to do aws configure if i attach iam role to my instance it doesn't ask for this my use case is to do not attach IAM role and do no configure AWS but want to list my S3 bucket. So u r telling i can achieve this with bucket policy pls help me out ..
@surojbera
@surojbera Жыл бұрын
@@abhishekdubey-p9n You just create one EC2 instance and one s3 bucket in the same AWS account. In the bucket policy of the S3 bucket write the below policy. { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Principal": "*", "Action": "s3:*", "Resource": [ "arn:aws:s3:::", "arn:aws:s3:::/*" ], "Condition": { "IpAddress": { "aws:SourceIp": "" } } } ] } Now login to your ec2 instance and write the below command to list all the objects inside your bucket. aws s3 ls --no-sign-request It will list all the objects inside your bucket. Using the above policy you can do different operations with the S3 bucket objects. I am not sure at this moment how to list all the buckets in the AWS account without credentials. I shall create a video with cross-account access without credential setup.
@abhishekdubey-p9n
@abhishekdubey-p9n Жыл бұрын
@@surojbera Better u make the video on this it will very helpfull if any other get same use case pls
@mohankumarsharma-c2v
@mohankumarsharma-c2v Жыл бұрын
Since service token is valid for limited period ,how we can make it permanent to access bucket of diff account through IAM Role? also please help me in how we can access it by IAM user also.
@surojbera
@surojbera Жыл бұрын
Thanks, Mohan for bringing new questions. I shall create videos on those scenarios.
AWS - 23 - Concept of VPC Endpoints
5:09
Suroj Bera
Рет қаралды 949
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 22 МЛН
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 19 МЛН
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН
AWS - 27 - Provide Cross Account Access to IAM User
12:19
Suroj Bera
Рет қаралды 1,7 М.
How to share S3 Buckets across AWS accounts with IAM Roles
8:47
Majestic.cloud
Рет қаралды 19 М.
What is EKS POD Identity?
15:24
Fast Track TechEd
Рет қаралды 3,1 М.
Migrate AWS EC2 instance to another AWS account
7:05
ServerOK
Рет қаралды 15 М.
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 22 МЛН