0

AWS – Manually copy files from S3 to EC2

This post demonstrates how to manually copy files from S3 to EC2.

1. Create IAM Role

Step 1

Step 2

Step 3

Step 4

Step 5

Step 6

Step 7

2. Create an S3 Bucket

Upload a file to the S3 bucket.

3. Create EC2 Instance

Create an EC2 instance and assign it the s3-EC2-readonly role.

4. SSH to EC2

SSH to EC2 to invoke command to manual copy files from the S3 buckets.

Create a directory and CD into it. Perform manual copy using:

 

Karl San Gabriel

Karl San Gabriel

Java and Enterprise Technologies Expert