Day 38 Getting Started with AWS Basics?
Akshay Ghalme
DevOps Engineer Helping Organisations with DevOps Solutions | AWS | Jenkins | CI/CD | Docker | Ansible | terraform | Kubernetes
?? 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:
?? Learn more about IAM here.
Today’s Tasks
领英推荐
Task 1: Create an IAM User & Launch EC2 Instance
#!/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!
?? 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