EC2 – S3 – Putty

STEP 1: Create an Instance on Amazon Linux.

STEP 2: Now we want to download Putty from https://www.putty.org/ based on our windows architecture.

STEP 3: Then go to security group -> edit bound rules, in that security group type will be SSH becau…


This content originally appeared on DEV Community and was authored by Sharvesh Waran

STEP 1: Create an Instance on Amazon Linux.

Image description

STEP 2: Now we want to download Putty from https://www.putty.org/ based on our windows architecture.

STEP 3: Then go to security group -> edit bound rules, in that security group type will be SSH because we are using putty and ip will be your ip and save rules.

STEP 4: Next open putty,in that paste your public ip(which is in your instance) in the host name.

Image description

STEP 5: On the left side, you can see connection -> SSH -> Auth -> Credentials.After that you want select the private key file. After select your .ppk file click open button.

Image description

STEP 6: Then the terminal will open after click the open button.In that login as ec2-user.

Image description
STEP 7: Now we run the command 'aws s3 ls'.If it shows errors,then we want create a IAM role.

Image description

STEP 8: Create a IAM role and give 'AmazonS3fullaccess' permission and create role.

Image description

STEP 9: Now go to ec2->actions->security->modify IAM role and add our newly created IAM role.

Image description

Image description

STEP 10: Run the same command,now you can see the buckets present in S3.Now create a detail.txt file move it to a random bucket without using S3 UI.There is a command,which can do this.

Image description

STEP 11: Now check our bucket for the uploaded file(detail.txt) is present.


This content originally appeared on DEV Community and was authored by Sharvesh Waran


Print Share Comment Cite Upload Translate Updates
APA

Sharvesh Waran | Sciencx (2025-01-26T04:53:29+00:00) EC2 – S3 – Putty. Retrieved from https://www.scien.cx/2025/01/26/ec2-s3-putty/

MLA
" » EC2 – S3 – Putty." Sharvesh Waran | Sciencx - Sunday January 26, 2025, https://www.scien.cx/2025/01/26/ec2-s3-putty/
HARVARD
Sharvesh Waran | Sciencx Sunday January 26, 2025 » EC2 – S3 – Putty., viewed ,<https://www.scien.cx/2025/01/26/ec2-s3-putty/>
VANCOUVER
Sharvesh Waran | Sciencx - » EC2 – S3 – Putty. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2025/01/26/ec2-s3-putty/
CHICAGO
" » EC2 – S3 – Putty." Sharvesh Waran | Sciencx - Accessed . https://www.scien.cx/2025/01/26/ec2-s3-putty/
IEEE
" » EC2 – S3 – Putty." Sharvesh Waran | Sciencx [Online]. Available: https://www.scien.cx/2025/01/26/ec2-s3-putty/. [Accessed: ]
rf:citation
» EC2 – S3 – Putty | Sharvesh Waran | Sciencx | https://www.scien.cx/2025/01/26/ec2-s3-putty/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.