Step 1 — Create an S3 Bucket
Step 2 — Create an IAM Role for EC2
Trusted entity type:
AWS service
Use case:
EC2
AmazonS3FullAccess
Step 3 — Launch an EC2 Instance (attach above IAM role)
Step 4 — Verify IAM Access
aws s3 ls
Step 5 — Install Mountpoint for Amazon S3
sudo dnf install mount-s3
Step 6 — Create a Mount Directory
mkdir mountpoint
Step 7 — Mount the Directory
mount-s3 <bucket> <dir>
Step 9 — Read the File
cd dir
ls -la
cat <filename>
Top comments (0)