<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: manish rajwar</title>
    <description>The latest articles on DEV Community by manish rajwar (@manish_rajwar_d2c0967efc9).</description>
    <link>https://dev.to/manish_rajwar_d2c0967efc9</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F2482328%2F57037145-4f47-4024-bbbe-953951cd22df.png</url>
      <title>DEV Community: manish rajwar</title>
      <link>https://dev.to/manish_rajwar_d2c0967efc9</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/manish_rajwar_d2c0967efc9"/>
    <language>en</language>
    <item>
      <title>DevOps Week 6 and 7: Chart Plan and Execution</title>
      <dc:creator>manish rajwar</dc:creator>
      <pubDate>Tue, 28 Jan 2025 07:48:10 +0000</pubDate>
      <link>https://dev.to/manish_rajwar_d2c0967efc9/devops-week-6-and-7-chart-plan-and-execution-4mn8</link>
      <guid>https://dev.to/manish_rajwar_d2c0967efc9/devops-week-6-and-7-chart-plan-and-execution-4mn8</guid>
      <description>&lt;p&gt;In the past two weeks, I’ve focused on diving deeper into Ansible, automating tasks, and improving my understanding of various key concepts and tools. Here’s a simple breakdown of what I’ve learned and implemented during this time:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Exploring Ansible =&amp;gt; Understanding What It Is and How It Works&lt;br&gt;
Ansible is an automation tool that helps in managing and provisioning infrastructure. It uses simple YAML files, called playbooks, to define tasks and automate the deployment and configuration of systems.&lt;br&gt;
I learned about its declarative approach, where you specify the desired state of your system and Ansible ensures that it reaches that state without worrying about the intermediate steps.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Learning Password-less Authentication and Its Importance =&amp;gt;&lt;br&gt;
Password-less authentication allows you to log into servers or instances without entering a password. This improves security and simplifies automation tasks since you don’t need to manually input credentials.&lt;br&gt;
The importance of password-less authentication lies in the fact that it minimizes the risk of human error, enhances security, and is essential when automating tasks like provisioning and managing servers through Ansible.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Exploring Ansible Galaxy and Docs =&amp;gt; Ansible Galaxy is a community-driven hub where you can find reusable Ansible roles, collections, and modules. I explored it to understand how I can use pre-built solutions in my own projects.&lt;br&gt;
The Ansible documentation was an invaluable resource throughout my learning process, providing detailed guides and modules to help me with tasks such as provisioning EC2 instances and automating configurations.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Learning Ansible Playbook Structure =&amp;gt; I learned how to write Ansible playbooks, which are simple YAML files that define tasks and configurations for multiple servers or systems.&lt;br&gt;
A playbook typically includes the following:&lt;br&gt;
Hosts: Specifies the target servers.&lt;br&gt;
Tasks: Defines the actions to perform on the target hosts.&lt;br&gt;
Handlers: Actions that are triggered based on conditions.&lt;br&gt;
Variables: For managing dynamic data.&lt;br&gt;
Understanding this structure helped me build and execute various playbooks for automating tasks.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Creating Playbooks =&amp;gt; I created several Ansible playbooks to automate various tasks, including provisioning EC2 instances, setting up password-less authentication, and automating specific tasks on instances. This hands-on practice helped reinforce my understanding of how to use Ansible effectively.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Project Tasks =&amp;gt; I worked on a project where I automated the provisioning and configuration of EC2 instances with the following tasks:&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Task 1: Create Three EC2 Instances (2 Ubuntu, 1 AWS Linux) Using Loops&lt;/p&gt;

&lt;p&gt;I used Ansible's EC2 module and loops to provision two Ubuntu instances and one AWS Linux instance. The loop allowed me to simplify the process of creating multiple instances with similar configurations.&lt;br&gt;
Task 2: Set Up Password-less Authentication on All Instances&lt;/p&gt;

&lt;p&gt;I automated the process of setting up password-less authentication (using SSH keys) for all the instances. This was essential for allowing the Ansible playbooks to run without requiring passwords.&lt;br&gt;
Task 3: Automate Shutdown on Ubuntu Instances Using Condition (When Condition)&lt;/p&gt;

&lt;p&gt;I created a playbook to automatically shut down only the Ubuntu instances, using the when condition to target just those instances.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Reading About Vault and Inventory.ini File =&amp;gt; I read about Vault, which is used to securely store sensitive data like passwords or private keys in Ansible.&lt;br&gt;
I also explored the inventory.ini file, which is used to define groups of servers and their configurations. It’s an essential component of managing multiple hosts in Ansible playbooks.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;GitHub Project Link =&amp;gt; I’ve shared my project on GitHub, where you can find the playbooks and the configurations I used: GitHub Project - Provisioning and Configuration Management&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Resources Used&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Ansible Documentation: I referred to the official Ansible documentation to understand modules like ec2 and other relevant tools: Ansible EC2 Module Documentation&lt;/p&gt;

&lt;p&gt;Ansible Galaxy: I explored various roles and modules on Ansible Galaxy to improve my automation tasks: Ansible Galaxy - AWS Roles&lt;/p&gt;

&lt;p&gt;YouTube Playlist: I used this YouTube playlist to follow along and learn from video tutorials: &lt;a href="https://www.youtube.com/playlist?list=PLdpzxOOAlwvLxd5nmtmORCmhD5jkrNbuE" rel="noopener noreferrer"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Conclusion&lt;br&gt;
The past two weeks have been incredibly productive as I explored Ansible in-depth, understood its core concepts, and implemented them in real-world tasks. I’m excited to continue building my skills with Ansible and applying them to more complex projects. This experience has given me a solid foundation for automating infrastructure and configurations, which is a key aspect of DevOps.&lt;/p&gt;

&lt;p&gt;Feel free to explore my GitHub project and resources I used during this learning process. I’ll continue to update my journey as I progress further!&lt;/p&gt;

</description>
      <category>ansible</category>
      <category>devops</category>
      <category>playbook</category>
      <category>beginners</category>
    </item>
    <item>
      <title>My DevOps Journey: Weeks 3 to 5 Recap</title>
      <dc:creator>manish rajwar</dc:creator>
      <pubDate>Thu, 02 Jan 2025 08:02:56 +0000</pubDate>
      <link>https://dev.to/manish_rajwar_d2c0967efc9/my-devops-journey-weeks-3-to-5-recap-3p4i</link>
      <guid>https://dev.to/manish_rajwar_d2c0967efc9/my-devops-journey-weeks-3-to-5-recap-3p4i</guid>
      <description>&lt;p&gt;As part of my journey to becoming a DevOps engineer, I’ve delved into various tools and technologies over the past few weeks. This article captures the milestones and learning experiences I’ve had in Weeks 3, 4, and 5. From mastering AWS fundamentals to hands-on Bash scripting projects, this phase has been both challenging and rewarding.&lt;/p&gt;

&lt;p&gt;Week 3: Exploring AWS Essentials&lt;/p&gt;

&lt;p&gt;I began my AWS learning journey with a focus on understanding and using key AWS services. Here’s a summary of what I learned:&lt;/p&gt;

&lt;p&gt;Amazon EC2 (Elastic Compute Cloud):EC2 instances are virtual servers in the cloud. I learned how to launch, configure, and manage instances, gaining insights into instance types and use cases. AWS documentation and this YouTube playlist were invaluable resources.&lt;/p&gt;

&lt;p&gt;EBS (Elastic Block Store):EBS provides persistent storage for EC2 instances. I explored:&lt;/p&gt;

&lt;p&gt;EBS Volumes: Creating and attaching volumes to instances for durable storage.&lt;/p&gt;

&lt;p&gt;Snapshots: Creating backups of EBS volumes to ensure data recovery.&lt;/p&gt;

&lt;p&gt;Security Groups: Security groups act as virtual firewalls for EC2 instances. I learned how to:&lt;/p&gt;

&lt;p&gt;Configure inbound and outbound rules.&lt;/p&gt;

&lt;p&gt;Restrict access based on IP addresses and protocols.&lt;/p&gt;

&lt;p&gt;Amazon Machine Image (AMI):I discovered how AMIs provide templates for EC2 instances, enabling efficient replication and deployment of server configurations.&lt;/p&gt;

&lt;p&gt;Load Balancers: I explored different types of load balancers:&lt;/p&gt;

&lt;p&gt;Classic Load Balancer (CLB): Balances traffic at the network and transport layers.&lt;/p&gt;

&lt;p&gt;Application Load Balancer (ALB): Routes traffic based on application-level protocols.&lt;/p&gt;

&lt;p&gt;Network Load Balancer (NLB): Optimized for high-performance network-level traffic.&lt;/p&gt;

&lt;p&gt;These foundational skills are pivotal for a DevOps role. AWS documentation and youtube link : &lt;a href="https://www.youtube.com/playlist?list=PL6XT0grm_TfgtwtwUit305qS-HhDvb4du" rel="noopener noreferrer"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Week 4: Following the Zero to Hero DevOps Journey&lt;/p&gt;

&lt;p&gt;In Week 4, I immersed myself in the Zero to Hero DevOps Journey. This playlist help me in revising previous topic.&lt;br&gt;
resources: youtube: &lt;a href="https://www.youtube.com/watch?v=OuyNM5-r8P8&amp;amp;list=PLdpzxOOAlwvIKMhk8WhzN1pYoJ1YU8Csa&amp;amp;index=12" rel="noopener noreferrer"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Week 5: Bash Scripting and Hands-on Projects&lt;/p&gt;

&lt;p&gt;In Week 5, I transitioned to Bash scripting, focusing on creating practical automation scripts. Here are the projects I worked on:&lt;/p&gt;

&lt;p&gt;AWS Resources Tracker:&lt;/p&gt;

&lt;p&gt;Purpose: To track and list the current AWS resources in an account.&lt;/p&gt;

&lt;p&gt;Features:&lt;/p&gt;

&lt;p&gt;Displayed the count of EC2 instances, EBS volumes, S3 buckets, and Lambda functions.&lt;/p&gt;

&lt;p&gt;Automated retrieval of resource details using the AWS CLI.&lt;/p&gt;

&lt;p&gt;GitHub Collaborators Tracker:&lt;/p&gt;

&lt;p&gt;Purpose: To list all collaborators on our organization’s GitHub repositories.&lt;/p&gt;

&lt;p&gt;Features:&lt;/p&gt;

&lt;p&gt;Extracted usernames of active collaborators.&lt;/p&gt;

&lt;p&gt;Used the GitHub API for data retrieval.&lt;/p&gt;

&lt;p&gt;Both projects reinforced my Bash scripting skills and demonstrated how automation can simplify DevOps tasks. These experiences were instrumental in enhancing my problem-solving abilities.&lt;/p&gt;

&lt;p&gt;Resources I Used&lt;/p&gt;

&lt;p&gt;AWS Documentation: An official and comprehensive guide for all AWS services.&lt;/p&gt;

&lt;p&gt;AWS YouTube Playlist: &lt;a href="https://www.youtube.com/watch?v=OuyNM5-r8P8&amp;amp;list=PLdpzxOOAlwvIKMhk8WhzN1pYoJ1YU8Csa&amp;amp;index=12" rel="noopener noreferrer"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;gitHub: &lt;a href="https://github.com/Manishrajwar/bash-scripting" rel="noopener noreferrer"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This journey is a testament to the power of consistent learning and hands-on practice. I’m excited to continue this path toward becoming a skilled DevOps engineer.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>DevOps Learning Journey: Week 2 Recap</title>
      <dc:creator>manish rajwar</dc:creator>
      <pubDate>Wed, 11 Dec 2024 03:51:21 +0000</pubDate>
      <link>https://dev.to/manish_rajwar_d2c0967efc9/devops-learning-journey-week-2-recap-2jak</link>
      <guid>https://dev.to/manish_rajwar_d2c0967efc9/devops-learning-journey-week-2-recap-2jak</guid>
      <description>&lt;p&gt;As part of my ongoing journey to master DevOps, Week 2 was an incredibly productive and enlightening experience. This week, I focused on two critical areas that are essential for any DevOps professional: advanced Bash scripting and an introduction to Docker basics. Here’s a detailed breakdown of what I learned and the resources that helped me along the way.&lt;/p&gt;

&lt;p&gt;Advanced Bash Scripting: Mastering Conditionals and Loops&lt;/p&gt;

&lt;p&gt;Bash scripting is a foundational skill for automating repetitive tasks and managing servers efficiently. Building on my Week 1 knowledge, I delved deeper into advanced scripting concepts, particularly focusing on:&lt;/p&gt;

&lt;p&gt;Conditionals:&lt;/p&gt;

&lt;p&gt;I learned how to effectively use if-else statements to control the flow of scripts based on various conditions.&lt;/p&gt;

&lt;p&gt;I explored the case statement, a versatile tool for handling multiple scenarios with concise code.&lt;/p&gt;

&lt;p&gt;Practical Application: I created a script to automate a basic file management system. Depending on the input, the script checks whether a file or directory exists, creates new directories, or deletes files.&lt;/p&gt;

&lt;p&gt;Loops:&lt;/p&gt;

&lt;p&gt;Mastered for, while, and until loops to iterate over files, directories, and numeric ranges.&lt;/p&gt;

&lt;p&gt;Used nested loops to handle more complex scenarios, like processing multiple files and generating reports.&lt;/p&gt;

&lt;p&gt;Practical Application: One of the tasks I automated involved renaming files in a directory by appending timestamps to ensure unique names.&lt;/p&gt;

&lt;p&gt;Functions and Error Handling:&lt;/p&gt;

&lt;p&gt;Learned to modularize scripts using functions for reusability and maintainability.&lt;/p&gt;

&lt;p&gt;Added error handling mechanisms to ensure the scripts run smoothly even when unexpected situations arise.&lt;/p&gt;

&lt;p&gt;Resource: A significant part of my learning came from this YouTube playlist that covers Bash scripting in depth. It offered a perfect blend of theory and hands-on examples to solidify my understanding.&lt;/p&gt;

&lt;p&gt;link: &lt;a href="https://www.youtube.com/playlist?list=PL6XT0grm_TfgvfQH58GEoEZrTyVl0ABnH" rel="noopener noreferrer"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Docker Basics: Images, Containers, and Management&lt;/p&gt;

&lt;p&gt;Docker is a game-changer in modern software development and deployment. Understanding its core concepts is crucial for containerization and orchestration. This week, I got a solid introduction to:&lt;/p&gt;

&lt;p&gt;What is Docker?&lt;/p&gt;

&lt;p&gt;Docker simplifies application deployment by using containers that package the code, dependencies, and environment configurations.&lt;/p&gt;

&lt;p&gt;I learned the distinction between images (blueprints for containers) and containers (running instances of images).&lt;/p&gt;

&lt;p&gt;Essential Commands:&lt;/p&gt;

&lt;p&gt;Creating Images: I practiced building custom Docker images using Dockerfile.&lt;/p&gt;

&lt;p&gt;Managing Containers:&lt;/p&gt;

&lt;p&gt;Starting and stopping containers with docker run and docker stop.&lt;/p&gt;

&lt;p&gt;Removing unnecessary containers and images using docker rm and docker rmi.&lt;/p&gt;

&lt;p&gt;Inspecting Containers: Used commands like docker ps to list running containers and docker inspect to examine detailed container metadata.&lt;/p&gt;

&lt;p&gt;Practical Tasks:&lt;/p&gt;

&lt;p&gt;Created and managed a simple web server inside a Docker container.&lt;/p&gt;

&lt;p&gt;Experimented with mounting volumes to share data between the host and the container.&lt;/p&gt;

&lt;p&gt;Learned how to network multiple containers for a basic microservices setup.&lt;/p&gt;

&lt;p&gt;Resource: This YouTube playlist was instrumental in breaking down Docker’s complexity into digestible modules. From the installation process to hands-on demonstrations, it covered everything a beginner needs.&lt;/p&gt;

&lt;p&gt;Reflections and Next Steps&lt;/p&gt;

&lt;p&gt;The second week of my DevOps learning journey was not just about acquiring technical skills but also about building confidence in applying them. Bash scripting honed my automation abilities, while Docker introduced me to containerized environments, a must-have in modern DevOps practices.&lt;/p&gt;

&lt;p&gt;As I move forward, I plan to:&lt;/p&gt;

&lt;p&gt;Continue exploring advanced Bash scripting concepts, such as process management and cron jobs.&lt;/p&gt;

&lt;p&gt;Dive deeper into Docker, focusing on Docker Compose for multi-container applications.&lt;/p&gt;

&lt;p&gt;Share my projects and scripts on GitHub to track my progress and gather feedback.&lt;/p&gt;

&lt;p&gt;link: &lt;a href="https://www.youtube.com/playlist?list=PL8p2I9GklV47v6WZTjHAqdsHxpTIpjRwn" rel="noopener noreferrer"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>"Week 1: My Journey into DevOps – Milestones Achieved"</title>
      <dc:creator>manish rajwar</dc:creator>
      <pubDate>Sun, 01 Dec 2024 06:45:33 +0000</pubDate>
      <link>https://dev.to/manish_rajwar_d2c0967efc9/week-1-my-journey-into-devops-milestones-achieved-1mje</link>
      <guid>https://dev.to/manish_rajwar_d2c0967efc9/week-1-my-journey-into-devops-milestones-achieved-1mje</guid>
      <description>&lt;p&gt;Today i have completed the week 1 journey to devops. This week i learn about bash scripting. Topic I cover this weeek are:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Basic Linux commands &lt;/li&gt;
&lt;li&gt;set and unset a variables&lt;/li&gt;
&lt;li&gt;Using expr commands to evaluate the expression &lt;/li&gt;
&lt;li&gt;use of Shebang in shell scripting&lt;/li&gt;
&lt;li&gt;Overview of Vim editor and its commands &lt;/li&gt;
&lt;li&gt;Understand File permission (chmod and chown)&lt;/li&gt;
&lt;li&gt;unix process controls commands&lt;/li&gt;
&lt;li&gt;Foreground and Background process shifting
&lt;/li&gt;
&lt;li&gt;Loops and if-else conditions &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Resources:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Youtube&lt;/strong&gt;: &lt;a href="https://www.youtube.com/playlist" rel="noopener noreferrer"&gt;https://www.youtube.com/playlist&lt;/a&gt;? 
list=PL6XT0grm_TfjQtYPgOADkMTNLsdjbXY9v&lt;/li&gt;
&lt;li&gt;AI Tools like chatgpt, gemini for practice. &lt;/li&gt;
&lt;li&gt;Reading Blogs from dev.io&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  DevOps #LearningJourney #BashScripting #LinuxCommands #Automation
&lt;/h1&gt;

</description>
    </item>
    <item>
      <title>Devops Week 1</title>
      <dc:creator>manish rajwar</dc:creator>
      <pubDate>Mon, 25 Nov 2024 17:31:38 +0000</pubDate>
      <link>https://dev.to/manish_rajwar_d2c0967efc9/devops-week-1-2pja</link>
      <guid>https://dev.to/manish_rajwar_d2c0967efc9/devops-week-1-2pja</guid>
      <description>&lt;p&gt;🌟 Week 1: Learning Bash Scripting 🌟&lt;/p&gt;

&lt;p&gt;This week, I started my journey to master DevOps by learning the basics of Bash scripting. Here’s what I covered:&lt;/p&gt;

&lt;p&gt;Using commands like echo, nano, and touch&lt;br&gt;
Understanding the shebang (#!) in scripts&lt;br&gt;
Learning about file permissions and how to manage them&lt;br&gt;
Exploring beginner-level Unix process control commands&lt;br&gt;
I also found an amazing video that helped me get started with scripting: Bash Scripting Tutorial. It’s beginner-friendly and highly recommended!&lt;/p&gt;

&lt;p&gt;To practice these concepts, I used ChatGPT as a learning tool, which made it easier to understand and experiment with commands.&lt;/p&gt;

&lt;p&gt;Excited to continue my DevOps learning journey! Let me know if you’re also learning or have tips to share. 😊&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
