TABLE OF CONTENTS
AWS
Amazon Web Services(AWS) is a cloud computing platform that is provided by Amazon which provides several benefits including IAAS, PAAS, and SAAS.
Amazon.com Web Services launched its first web services in 2002 from the internal infrastructure that Amazon.com built to handle its online retail operations. In 2006, it began offering its defining IaaS services. AWS was one of the first companies to introduce pay-as-you-go services to its clients.
With AWS one can have remote servers, databases, storage units, Network configurations, Container platforms, etc.
IAM
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.
It ensures that the right people and job roles in your organization (identities) can access the tools they need to do their jobs.
Task1: Creating IAM user.
Aim - Create an IAM user with a username of your 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 a single Shell Script.
Create an EC2 instance with your default root user.
Now, Navigate to the IAM console page.
Choose the User option and create a user.
Provide the specific permission according to the requirement.
Create a group and provide the access to the specific components on AWS defined policies.
Navigate to security credential section for the user to provide the login password manually.
Now, Sign in to the AWS console by choosing IAM user. Make sure you have the 12 digit unique code from IAM console for the user.
Now you have successfully logged in to the AWS console using IAM user.
Login to the existing instance and write a script to install Jenkins and Docker on the server.
Run the script after giving specific permission.
Verify the installed version of Jenkins and Docker.
Task2: Creating IAM group
Aim - 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 the IAM policy.
Create a group with the name Avengers in the IAM console and provide the permission policies you want the group to have access to.
Now create Users requiring access through IAM.
Add those users created to the Avengers group.
Thanks for reading my article. Have a nice day.
WRITTEN BY Biswaraj Sahoo --AWS Community Builder | DevOps Engineer | Docker | Linux | Jenkins | AWS | Git | Terraform | Docker | kubernetes
Empowering communities via open source and education. Connect with me over linktree: linktr.ee/biswaraj333