Thursday, 16 January 2020

AWS test S3 Access from EC2 Instance using AWS Cli

We have different way for testing the access of S3 to EC3,We uses AWS cli to test.
After Step1: << <<https://oracletechdba.blogspot.com/2020/01/create-role-with-policy-for-ec2.html >>
Step2: << https://oracletechdba.blogspot.com/2020/01/grant-access-to-s3-bucket-for-ec2-aws.html >>

Console > EC2 > Select Instance > Connect >
(Note: You can also use Putty or Terminal Manager to connect to Unix EC2 instance).

 aws s3 ls



Lets also test by removing the Role granted in Step2 >> << https://oracletechdba.blogspot.com/2020/01/grant-access-to-s3-bucket-for-ec2-aws.html >>

To Revoke or Remove << https://oracletechdba.blogspot.com/2020/01/create-role-with-policy-for-ec2.html>>

After remove lets test






No comments: