Day 38 Getting Started with AWS Basics?

Day 38 Getting Started with AWS Basics?

?? Congratulations on your journey so far! You’ve tackled Kubernetes, CI/CD, and more, and now it’s time to dive into the exciting world of Cloud Computing with AWS. ??


Why AWS?

Amazon Web Services (AWS) is the most popular cloud provider offering a vast range of services for cloud enthusiasts and professionals. AWS provides a free tier for students and learners to explore and build hands-on skills.

?? Don’t have an AWS account yet? Create your free AWS account today and start experimenting!


What is IAM?

AWS Identity and Access Management (IAM) is a service that allows you to:

  1. Securely manage access to AWS resources.
  2. Centrally control who is authenticated and authorized to use those resources.
  3. Organize and group permissions efficiently for your team.

?? Learn more about IAM here.


Today’s Tasks

Task 1: Create an IAM User & Launch EC2 Instance

  1. Create an IAM User:
  2. Launch an EC2 Instance:
  3. Install Jenkins & Docker with a Shell Script: Create a script to automate Jenkins and Docker installation:

#!/bin/bash
# Update and install dependencies
sudo apt update -y
sudo apt install openjdk-11-jdk -y
sudo apt install docker.io -y
sudo systemctl start docker
sudo systemctl enable docker

# Add Jenkins repository and key
curl -fsSL https://pkg.jenkins.io/debian/jenkins.io-2023.key | sudo tee \
    /usr/share/keyrings/jenkins-key.asc > /dev/null
echo deb [signed-by=/usr/share/keyrings/jenkins-key.asc] \
    https://pkg.jenkins.io/debian binary/ | sudo tee \
    /etc/apt/sources.list.d/jenkins.list > /dev/null

# Install Jenkins
sudo apt update -y
sudo apt install jenkins -y
sudo systemctl start jenkins
sudo systemctl enable jenkins

echo "Jenkins and Docker installed successfully!"        

Save the script as setup.sh and run it on the instance:

bash setup.sh        

Task 2: Build a DevOps Team of Avengers!

  1. Create IAM Users for Your Team:
  2. Create a DevOps Group:
  3. Add Users to the Group:

?? Tip: Ensure you set strong passwords for your team members and share credentials securely.


Wrap-Up

You’ve just taken your first steps into AWS by mastering IAM and EC2 basics. These tasks are essential building blocks for managing AWS environments effectively. Keep exploring and stay consistent!

#AWSBasics #IAM #DevOpsJourney #CloudComputing #90DaysOfDevOps


要查看或添加评论,请登录

Akshay Ghalme的更多文章

社区洞察

其他会员也浏览了