# Day 38: Getting started with Aws Basics

[![AWS](https://user-images.githubusercontent.com/115981550/217238286-6c6bc6e7-a1ac-4d12-98f3-f95ff5bf53fc.png align="left")](https://user-images.githubusercontent.com/115981550/217238286-6c6bc6e7-a1ac-4d12-98f3-f95ff5bf53fc.png)

## 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 the username of your own wish and grant EC2 Access.**

Search for the IAM in services then Click on IAM users

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1687047480548/114d5c1b-5600-4615-8369-6789e97e248d.png align="center")

Now click on Add user and give details

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1687047563529/d0abab6e-88e3-4186-bd2a-24588448e9fc.png align="center")

Attach the permissions

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1687047704755/f393ac6e-9347-4b29-8003-fffce229cb99.png align="center")

Now search for giving the Ec2 permission

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1687047789012/8bf1782f-1197-4b89-a914-f1c2164a9cdb.png align="center")

You need to download the password

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1687048086586/8ffe7fa3-b50d-4732-a92f-11327b930edf.png align="center")

User has been Add

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1687048170294/3959c008-2449-424e-aff7-96a4819352cc.png align="center")

**Launch your Linux instance through the IAM user that you created now and install Jenkins and docker on your machine via single Shell Script.**

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1687048773351/2d7fdd00-576c-4c4a-9987-97955242cd39.png align="center")

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1687048614944/74f947fc-6ad6-4843-b9f0-a53dcab2cb21.png align="center")

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1687048903503/9a97c8be-342d-4085-bedd-b8f84b652dc8.png align="center")

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1687048966428/24cc6cae-db2e-4ad8-aa09-1a61d51548c5.png align="center")

Script file and give them permission to run

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1687057296284/cd44063b-2d47-4dca-ab64-7adf2bbd1606.png align="center")

Write the script file to install the docker and Jenkins

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1687057405786/8fb87e4c-65f7-4542-bc41-d060441dca68.png align="center")

For checking you use the version system.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1687057337976/86c25c86-3294-4ace-b60e-6b0300e82923.png align="center")

### Task2:

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

First we need to create the group Name Avengers:

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1687057585095/4a53b479-4e92-444d-9931-233a4e91a8d0.png align="center")

We need to make the three users and then add them to the group Avengers

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1687057717014/5a6ceb32-b2e7-476f-882c-ddff70a7721e.png align="center")

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1687057755292/18708a04-38b3-4181-ac3a-0416b1f7c58f.png align="center")

Thanks for reading

Till then Happy Learning :)

Mohammed Muqafamuddin
