Day 38 Getting Started with AWS Basics?
Congratulations on reaching Day 38 of your #90DaysofDevOps journey! Today, we dive into the world of AWS, focusing on IAM (Identity and Access Management).
AWS
Amazon Web Services (AWS) is a leading cloud provider offering a free tier for students and enthusiasts. If you haven't already, create your free account to start exploring its extensive services. Read more here.
IAM
AWS Identity and Access Management (IAM) allows you to securely control access to AWS resources. It helps you manage permissions centrally, ensuring the right users have the right access. Learn more about IAM here.
Tasks:
Task 1: Create an IAM User and Launch an EC2 Instance
#!/bin/bash
# Update the package repository
sudo apt-get update -y
# Install Java (required for Jenkins)
sudo apt-get install openjdk-11-jdk -y
# Install Jenkins
wget -q -O - https://pkg.jenkins.io/debian/jenkins.io.key | sudo apt-key add -
sudo sh -c 'echo deb https://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list'
sudo apt-get update -y
sudo apt-get install jenkins -y
sudo systemctl start jenkins
sudo systemctl enable jenkins
# Install Docker
sudo apt-get install apt-transport-https ca-certificates curl software-properties-common -y
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt-get update -y
sudo apt-get install docker-ce -y
sudo usermod -aG docker ${USER}
sudo systemctl start docker
sudo systemctl enable docker
echo "Jenkins and Docker installed successfully!"
Task 2: Prepare a DevOps Team of Avengers
Post Your Progress
Share your progress and experience on LinkedIn to inspire others and track your journey.
Happy Learning! ?? #AWS #CloudComputing #IAM #DevOps #LearningJourney
DevOps Engineer at Capgemini
9 个月Happy Learning! ??