Table of contents
Let's begin our new Journey with Cloud☁.
AWS :
Amazon Web Services (AWS) is one of the most popular Cloud Providers that provide on-demand resources for hosting web services, storage, networking, databases and other resources over the internet with pay-you-go pricing.
AWS lets you build, test, deploy, and manage applications and services. All this is done via data centres and the hardware managed by Amazon. It provides a combination of IaaS, PaaS & SaaS offerings.
With AWS, customers can access these services on demand and only pay for the resources they use, providing a cost-effective and flexible alternative to traditional data centres and IT infrastructure. It provides scalable and cost-effective cloud computing solutions.
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.
Task01:
Create an IAM user with the 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 single Shell Script.
Step 1: Create an IAM user say Bruce-Banner, enable console access and give a password either autogenerated or custom of our choice as per shown below.
Step 2: Attach the policy of EC2 access like this.
Step 3: After the user is created successfully this page will pop up so Don't forget to download CSV(credential sheet) file.
Step 4: Come to another tab, by using the sign-in Url as shown above and put the credentials from the downloaded file. It will ask to create a new password because we have a checkmark for creating a new password at new sign-in (Like a one-time password)
Step 5: Now try to launch an instance through this new user and make sure to add this script in the advanced details
section at user data
such that it will automatically run the script for installing Docker and Jenkins.
Step 6: In this way we got Docker and Jenkins installed using single Bash shell script via the IAM user "Bruce-Banner" login account.
Task02:
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.
- We have created
Avenger-DevOps
group for our 3 IAM users of avengers as shown below:
- Here are the IAM policies attached with them.
In this way, we can create users and groups with IAM policies.
Hope this will help you.
Thanks for your valuable time.
References
Thanks for reading my blogs.
Keeping watching, learning and growing.
Peace Out for today!!