DEV Community

Prince Malik
Prince Malik

Posted on

Week 3: Git Branching, AWS Essentials & Linux CLI Mastery | DevOps Learning Journey

πŸ“… Public Learning - Week 3 Update

πŸ‘‹ Hey DevOps enthusiasts! As part of my 6-month DevOps learning journey, this week, I focused on:

βœ… Git branching strategies & best practices
βœ… Top AWS services for DevOps engineers
βœ… Linux shell scripting & AWS CLI commands

Let’s break down what I learned!

πŸ›  Mastering Git Branching Strategies
Understanding Git branching is essential for version control and collaborative development.

πŸš€ Key Branching Strategies:
1️⃣ Feature Branches: Develop new features without affecting the main branch
2️⃣ Release Branches: Prepare stable versions for production
3️⃣ Hotfix Branches: Quickly patch issues in production

πŸ”Ή Example Git Workflow:

git checkout -b feature-auth # Create a new branch for authentication
git commit -m "Added OAuth login"
git push origin feature-auth # Push the branch to remote repo
git merge feature-auth # Merge into main after review
git branch -d feature-auth # Delete branch after merging

βœ… Why does this matter?
βœ” Organized development
βœ” Reduced merge conflicts
βœ” Faster releases πŸš€

☁️ Top AWS Services Every DevOps Engineer Should Master
AWS provides 200+ services, but which ones matter for DevOps?

πŸ”Ή Essential AWS Services:

Service Use Case
EC2 Virtual servers for cloud apps
VPC Secure networking for cloud resources
S3 Scalable object storage
EBS Persistent storage for EC2
IAM Manage users & access control
CloudWatch Monitor AWS resources
Lambda Serverless automation
CodePipeline CI/CD automation
EKS & ECS Kubernetes & container management
CloudTrail Track AWS API calls for auditing

πŸ”Ή Why learn these?
βœ” Automate deployments
βœ” Improve security & monitoring
βœ” Scale applications efficiently

πŸ–₯ Linux Shell Scripting & AWS CLI Commands
A strong Linux foundation is crucial for DevOps engineers!

πŸ”Ή Linux Commands I Practiced:

ls -ltr # List files with details

pwd # Show current directory

ps -ef | grep nginx # Check running processes

chmod +x deploy.sh # Make a script executable

πŸ”Ή AWS CLI Commands:

aws s3 ls # List S3 buckets

aws ec2 describe-instances # Get details of EC2 instances

aws iam list-users # List IAM users

βœ… Why is this important?
βœ” Helps in automating AWS tasks
βœ” Improves troubleshooting skills
βœ” Essential for Infrastructure as Code (IaC)

πŸ”₯ Next Steps & Learning Goals
πŸ”Ή Dive deeper into CI/CD Pipelines using AWS CodePipeline & Terraform
πŸ”Ή Work on a real-world Git & AWS project
πŸ”Ή Start exploring Docker & Kubernetes

πŸ“Œ Follow my journey on:
πŸ”Ή LinkedIn: https://www.linkedin.com/in/princemalikk
πŸ”Ή Dev.to: https://dev.to/princemalikk
πŸ”Ή GitHub: https://github.com/Princemalikk
πŸ”Ή Hashnode: https://princemalikk.hashnode.dev

DevOps #AWS #Git #Linux #CloudComputing #CI_CD #PublicLearning #Automation

Top comments (0)