1. Mount AWS S3 Bucket to EC2 with IAM
Role
- Ishant Kumar
2. “Mount AWS S3 Bucket to EC2 with IAM Role”
Amazon Simple Storage Service (Amazon S3), provides developers and
IT teams with secure, durable, highly-scalable object storage. Amazon
S3 is easy to use, with a simple web services interface to store and
retrieve any amount of data from anywhere on the web.
Source : http://aws.amazon.com/s3/
For object storage , we can mount S3 bucket to a particular
directory in AWS EC2.
3. Here are the steps :
Step 1 : Create one IAM Role with policy having appropriate access to
a particular bucket.
For Example : IAM Role name is EC2RoleForS3Access.
Policy attached (having Read/Write Access for bucket “s3bucket-for-
ec2″ ) :