DEV Community

Bharath.K.A
Bharath.K.A

Posted on

EC2+S3+IAM

Step 1: Using Aws Ec2 create an instance

Image description

-->Give instance a name:

Image description

-->Use t2.micro type instance and create a key pair and download the pem file

Image description

-->Create a security group

Image description

-->Launch the Instance

Image description

-->Initially the ip adrees will be 0.0.0.0 which we need to change in order to increase the security

Go to the security group of the instance and then select Inbound Rules
and click on edit inbound rules

Image description

Assign your Ip address instead custom Ip by which only your machine can access the instance

Image description

access the AWS linux sytem in local machine using putty
Download the putty from the official website:https://www.putty.org/

using putty gen convert the pem file into ppk file for private key

Image description

Now open the putty and give the public ip of the instance in the session-->host name

Image description

In SSH -->credentials
enter the private key and give open

Image description
linux command prompt is created once it is done

In command prompt make a text file

Using CLI Commands create a s3 bucket

Top comments (0)