Professional Documents
Culture Documents
Share the File EC2 to S3 Bucket
Share the File EC2 to S3 Bucket
Task 01:(01/07/24)
Create EC2 Instance
Create S3 Bucket
Create IAM role
Follow the steps,
•Search IAM
•Select Role
•Create Role
•Choose a service in EC2
•Click next Button
•Search Amazons3fullaccess
•Select and click next button
•Enter role name(anything(Ex.ec2tos3))
•Finally Create a role
Attach IAM role in EC2 instance
Select needed S3 bucket name
Finally attached
Launch EC2 instance with Linux OS
Follow the commands
*Type some sentances
*Commands>Ctrl+O(save)+Enter>Ctrl+x(Exit).
Final Command:
aws s3 cp copy_filename s3://S3_filelocationname
Finally share file in EC2 to S3