DEV Community

ᗪᴇᴇᴘᴀᴋ
ᗪᴇᴇᴘᴀᴋ

Posted on

EC2 - S3 - Putty

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.
Image description

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.
Image description

Image description

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

Image description

Image description

STEP 9: Now go to ec2->actions->security->modify IAM role and add our newly created IAM role.
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.
Image description

Step 12: Atlast delete your instance,IAM role.
Image description

Sentry blog image

How I fixed 20 seconds of lag for every user in just 20 minutes.

Our AI agent was running 10-20 seconds slower than it should, impacting both our own developers and our early adopters. See how I used Sentry Profiling to fix it in record time.

Read more

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Engage with a sea of insights in this enlightening article, highly esteemed within the encouraging DEV Community. Programmers of every skill level are invited to participate and enrich our shared knowledge.

A simple "thank you" can uplift someone's spirits. Express your appreciation in the comments section!

On DEV, sharing knowledge smooths our journey and strengthens our community bonds. Found this useful? A brief thank you to the author can mean a lot.

Okay