Week 1: My DevOps Journey β Virtual Machines, AWS CLI & Automation π
Key Takeaways from Week 1
π₯οΈ Virtual Machine Fundamentals & Practical Setup
β
Explored the evolution of VMs and their importance in modern cloud infrastructure.
β
Hands-on practice: Created VMs on AWS (EC2) & Azure, configuring instances, networking, and storage.
β
Understood hypervisors (VMware, Xen) and how cloud providers manage virtual environments.
π Secure VM Access via CLI: Efficiency & Security
β
Learned to connect to EC2 instances securely via SSH, avoiding AWS console dependency.
β
Example: Connecting to an EC2 instance using SSH:
shCopyEditssh -i "path/to/my/keypair.pem" ubuntu@<public-ip-address>
β Security best practice: Setting the correct permissions for key pairs:
shCopyEditchmod 600 "path/to/my/keypair.pem"
β Used iTerm (Mac) π₯οΈ, PuTTY (Windows) π’, and Mobile Xterm π± for remote access.
π AWS CLI: A Deep Dive into Automation
The AWS CLI was the star of the week, enabling faster and more efficient cloud management.
β Configured AWS CLI:
shCopyEditaws configure
β List existing S3 buckets:
shCopyEditaws s3 ls
β Create a new S3 bucket:
shCopyEditaws s3 mb s3://my-unique-bucket-name
β Automate EC2 instance creation:
shCopyEditaws ec2 run-instances --image-id ami-12345678 --count 1 --instance-type t2.micro
β¨ This eliminated manual effort, reducing errors and improving efficiency.
π Beyond CLI: Infrastructure as Code (IaC)
β
Explored AWS CloudFormation Templates for Infrastructure as Code (IaC).
β
Learned Terraform π AWS CDK, comparing cloud-specific vs. multi-cloud automation.
β
Understood IaC benefits: repeatability, consistency, and scalability in cloud deployments.
βοΈ Whatβs Next?
π This week was a major step forward in my DevOps journey. Next, Iβll focus on Linux π§.
π Follow my journey on:
πΉ LinkedIn: https://www.linkedin.com/in/princemalikk
πΉ Dev.to: https://dev.to/princemalikk
πΉ GitHub: https://github.com/Princemalikk
π‘ If youβre also learning DevOps, letβs connect, share insights, and grow together!
#DevOps #CloudComputing #AWS #Automation #InfrastructureAsCode #AWSCLI #ScalingWithCloud π