# #90daysofdevops #38:Getting Started with AWS Basics

  
Congratulations!!!! you have come so far. Don't let your excuses break your consistency. Let's begin our new Journey with Cloud☁. By this time you have created multiple EC2 instances, if not let's begin the journey:

## 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).

Read from [here](https://aws.amazon.com/what-is-aws/)

## 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. Read from [here](https://docs.aws.amazon.com/IAM/latest/UserGuide/introduction.html)

Get to know IAM more deeply [Click Here!!](https://www.youtube.com/watch?v=ORB4eY8EydA)

### 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.

### Task2:

In this task you need to prepare a devops team of avengers. Create 3 IAM users of avengers and assign them in devops groups with IAM policy.

Post your progress on Linkedin. Till then Happy Learning :)

1. Goto AWS console and login Root user
    

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1677239831903/cb6229de-117a-4177-9562-a2a4991d66d0.png?auto=compress,format&format=webp&auto=compress,format&format=webp align="left")

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

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1677240097676/51f8ac01-d71a-434d-b1d1-3cd30cf5d645.png?auto=compress,format&format=webp&auto=compress,format&format=webp align="left")

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1677240149346/63aae88e-a018-4171-867e-c813033a7121.png?auto=compress,format&format=webp&auto=compress,format&format=webp align="left")

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

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1677311488235/9cc6b21d-c502-407f-8f50-91581a847bb0.png?auto=compress,format&format=webp&auto=compress,format&format=webp align="left")

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1677311636603/366def1e-17ba-419b-8a4c-034ce8691175.png?auto=compress,format&format=webp&auto=compress,format&format=webp align="left")

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1677311681816/936106d7-ad14-4a97-b241-7a1f8a663bd3.png?auto=compress,format&format=webp&auto=compress,format&format=webp align="left")

4) Click on Attach policies directly.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1677311734266/1616bdc2-0b35-46d6-a54a-475d8cd719a2.png?auto=compress,format&format=webp&auto=compress,format&format=webp align="left")

5) Select desired permissions policies. Click on next

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1677311805218/426e5cbc-b729-4a6d-82da-c096d2e88d26.png?auto=compress,format&format=webp&auto=compress,format&format=webp align="left")

6) Click on create user.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1677311863205/799dd982-6f67-4592-a386-abe2bc8de0d0.png?auto=compress,format&format=webp&auto=compress,format&format=webp align="left")

7) New user will be created.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1677311953760/0b79f57e-03a8-4d78-985e-f6b1f60a75d7.png?auto=compress,format&format=webp&auto=compress,format&format=webp align="left")

8) Login with new IAM user.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1677312084275/025b1e27-1acd-4aa5-bb8a-d8fbc5fa09a8.png?auto=compress,format&format=webp&auto=compress,format&format=webp align="left")

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1677312137502/473fc32f-b74c-409b-a5a4-bafe0c1c0bbc.png?auto=compress,format&format=webp&auto=compress,format&format=webp align="left")

9) Change the password.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1677312189659/aaacc29e-f8d9-47c2-94e4-2c594a96ccb2.png?auto=compress,format&format=webp&auto=compress,format&format=webp align="left")

10) Type EC2 in search box and click on Launch instance.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1677312281880/3417654d-cada-49f5-83b6-cd46950f2ade.png?auto=compress,format&format=webp&auto=compress,format&format=webp align="left")

11) Enter desired name for your EC2 instance. Select AMI as ubuntu and give key-value pair.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1677312320971/c99b4fa9-afbf-4d00-9753-68caa93b7b1c.png?auto=compress,format&format=webp&auto=compress,format&format=webp align="left")

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1677312437789/f5ae54a0-2b69-43b5-8fd8-6cfa36233e79.png?auto=compress,format&format=webp&auto=compress,format&format=webp align="left")

12) Click on Advanced tab and goto user data.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1677313274167/9550b32d-517b-46dd-b2a9-bda568281291.png?auto=compress,format&format=webp&auto=compress,format&format=webp align="left")

Wait for EC2 instance to launch.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1677313452244/54861873-c98a-40ae-ab94-f7c5b1573fba.png?auto=compress,format&format=webp&auto=compress,format&format=webp align="left")

13) 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/v1677315450289/ed87c340-11fc-4c31-a681-566cb9b6a8ed.png?auto=compress,format&format=webp&auto=compress,format&format=webp align="left")
