DEV Community

Dharshinisri G
Dharshinisri G

Posted on

EC2 (putty/Mobaxterm) + IAM + S3

Open EC2 Dashboard in the AWS console

Image description

Create EC2 instance
Launch Instance
Image description
Enter name and Select OS
Image description
Create key-pair
Image description
select key-pair
Image description
Launch Instance

Install Putty

Image description

Select Instance -> Security -> Security Group

Edit Inbound rules

Image description

Image description

Select Instance & Connect

Image description
Go to SSH Client

Convert pem to ppk file

Open puttygen
Upload pem file through load
Save private key in your pc

Open Putty

Copy and paste the Public IP in the Host
Image description
SSh->Auth->Credendials
Image description

Browse the Private Key and Open
Image description

Login-as : ec2-user
Image description

Create a text File using the Linux Commands in putty
Image description

Creating IAM Role

Open IAM Dashboard & Open Roles
Image description

Create IAM Role
Image description

Permissions policies - S3FullAccess
Image description

Name & create the Role
Image description

*Connecting IAM role with the instance *

Go to Modify IAM role
Image description

Name IAM role
Image description

Upload file to s3 bucket through putty
Image description

File uploaded
Image description

Top comments (0)