# #Day 38 Getting Started with AWS Basics☁

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1709471910899/d650c0b3-8c41-48b5-aa48-d74743943325.png align="center")

## **AWS:**

Amazon Web Services is one of the most popular Cloud Provider that has free tier too for students and Cloud enthutiasts for their Handson while learning (Create your free account today to explore more on it).

## IAM:

AWS Identity and Access Management (IAM) is a web service that helps you securely control access to AWS resources. With IAM, you can centrally manage permissions that control which AWS resources users can access. You use IAM to control who is authenticated (signed in) and authorized (has permissions) to use resources.

### Task1:

Create an IAM user with username of your own wish and grant EC2 Access. Launch your Linux instance through the IAM user that you created now and install jenkins and docker on your machine via single Shell Script.

1.Goto AWS console and login Root user

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1709472198665/21184bf6-84fa-4c0e-90f6-9f2a41b867c2.png align="center")

Home screen will appear and type “**IAM**” in the search box.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1709472280697/2d067d90-67a9-44ed-935e-33c8c32f7a31.png align="center")

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1709472345769/28e832cb-b9db-4ce5-9c97-d81163e6c903.png align="center")

Click on “**users**” from left hand side of dashboard and click on “**Add users**”.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1709472385894/7ec74666-7f35-4aa8-84ce-5581d3156a12.png align="center")

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1709472496598/d9d6b459-a5f4-44e3-8a2c-412d9005cc9f.png align="center")

Click on Attach policies directly.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1709472546069/3694e212-ec62-49f4-bfae-f32465c35715.png align="center")

Select desired permissions policies. Click on next

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1709472582113/c93ad802-855b-491b-b163-3ffbe7f1c472.png align="center")

Click on create user.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1709472620753/fe4b0e37-a414-48d3-990e-c7c9c2589188.png align="center")

New user will be created.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1709472646862/fdbf456d-4055-48d0-b4bd-b71068831f79.png align="center")

Login with new IAM user.

Change the password.

1. Type EC2 in search box and click on Launch instance.
    

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1709472874037/23e47c72-0ee1-432b-9aca-3f5ee240c6ed.png align="center")

1. Enter desired name for your EC2 instance. Select AMI as ubuntu and give key-value pair.
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1709472902315/8ea1b411-735b-4498-bc7f-eeffa1b977c0.png align="center")
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1709472922424/3d6b68ac-8940-4b47-a067-c5ab9ecd8906.png align="center")
    
    Click on Advanced tab and goto user data.
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1709472957829/3d0c05dc-8a9f-41b0-b955-423fc764864d.png align="center")
    
    Wait for EC2 instance to launch.
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1709472987585/5d6a394b-7f8c-4376-a83c-895d16ee29ff.png align="center")
    
    Edit security group and add rule on open port id 8080 for jenkins.
    

Back to EC2 instance and click on Details and copy “Public IPv4 address” and paste it adding “:8080” at the end of it.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1709473022369/08a1994f-a7da-483e-b06b-bfd026ed0f3b.png align="center")
