<?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>Forem: Sruthi</title>
    <description>The latest articles on Forem by Sruthi (@sruthi177).</description>
    <link>https://forem.com/sruthi177</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%2F1342163%2F69e4418d-1a2e-4f99-bba1-df02bc545866.png</url>
      <title>Forem: Sruthi</title>
      <link>https://forem.com/sruthi177</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/sruthi177"/>
    <language>en</language>
    <item>
      <title>🚀 Why I Started Learning Automation &amp; DevOps</title>
      <dc:creator>Sruthi</dc:creator>
      <pubDate>Mon, 03 Mar 2025 16:52:32 +0000</pubDate>
      <link>https://forem.com/sruthi177/why-i-started-learning-automation-devops-5130</link>
      <guid>https://forem.com/sruthi177/why-i-started-learning-automation-devops-5130</guid>
      <description>&lt;p&gt;As a DevOps intern, I had to explore a wide range of tools. Coming from a web development background with Django and React.js, shifting to a DevOps role was slightly challenging. It forced me to step out of my development comfort zone and learn how to manage builds, deployments, and automate tasks.&lt;/p&gt;

&lt;p&gt;At first, it was overwhelming—so many new tools, workplace jargon, and concepts. I even questioned if I had made the right choice or if I had what it takes to succeed. But as I started working with these tools, I slowly found my passion for them. More than fear, I started feeling excitement, and soon, my mindset shifted.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;✨ What Sparked My Interest?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I quickly realized that managing infrastructure manually is inefficient and prone to errors. That’s when I jumped into the world of automation and DevOps tools like Ansible. The idea of automating tasks, reducing repetitive work, and ensuring consistency across multiple systems struck a chord with me.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;🎯 Why Automation?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;✅ Reduce manual effort and repetitive tasks.&lt;br&gt;
✅ Learn how real-world infrastructure is managed at scale.&lt;br&gt;
✅ Gain hands-on experience with industry-standard tools.&lt;br&gt;
✅ Stand out in job applications with in-demand DevOps skills.&lt;br&gt;
📚 Facing the Learning Curve&lt;/p&gt;

&lt;p&gt;When I started exploring tools like Ansible and Terraform, I quickly realized I needed a strong foundation in:&lt;/p&gt;

&lt;p&gt;🔹&lt;strong&gt;Basic Linux &amp;amp; Shell Commands&lt;/strong&gt; – Commands like ls, netstat, cd, ping, and basic Bash scripting, since most automation tools interact with Linux servers.&lt;br&gt;
🔹 &lt;strong&gt;SSH &amp;amp; Remote Connections&lt;/strong&gt; – Secure communication between systems is critical for automation.&lt;br&gt;
🔹&lt;strong&gt;YAML&lt;/strong&gt; – The language used in Ansible playbooks.&lt;br&gt;
🔹 &lt;strong&gt;Configuration Management Concepts *&lt;em&gt;– Understanding why automation is essential and how it maintains consistency.&lt;br&gt;
🔹 **Python Scripting *&lt;/em&gt;– A powerful language for writing automation scripts.&lt;br&gt;
🔹&lt;/strong&gt; Basic Database Connections** – Understanding how applications interact with databases.&lt;br&gt;
🔹&lt;strong&gt;Log Files &amp;amp; Monitoring&lt;/strong&gt; – Keeping track of tasks, analyzing issues, and troubleshooting.&lt;br&gt;
🔹 &lt;strong&gt;Jenkins &amp;amp; GitLab CI/CD Pipelines&lt;/strong&gt; – Automating builds and deployments instead of doing them manually.&lt;/p&gt;

&lt;p&gt;As I got my hands dirty with these tools, automation started making more sense. Every little step built my confidence and deepened my understanding.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;🎉 My First Automation Experience&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;One of my first tasks was setting up an SSH key to connect to a remote server without a password. At first, it seemed daunting, but as I explored it, things started clicking. It felt like a small win, but it also made me realize how automation can simplify things to a vast extent.&lt;/p&gt;

&lt;p&gt;I also ran my first Ansible command to ping a remote machine:&lt;br&gt;
&lt;code&gt;&lt;br&gt;
ansible all -m ping&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Seeing a successful response felt like magic! I was controlling remote systems with just a simple command. 🚀&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;🔍 How Does This Work?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;When you run ansible all -m ping, Ansible follows these steps:&lt;/p&gt;

&lt;p&gt;1️⃣ &lt;strong&gt;Inventory Check **– Ansible looks for an inventory file (usually /etc/ansible/hosts) to determine which machines to target. If no file is found, it defaults to localhost.&lt;br&gt;
2️⃣ **Establishing Connection&lt;/strong&gt; – Ansible attempts to connect to the listed hosts over SSH.&lt;br&gt;
3️⃣ &lt;strong&gt;Executing the Module&lt;/strong&gt; – The ping module sends a small test payload to check connectivity.&lt;br&gt;
4️⃣ &lt;strong&gt;Returning the Result&lt;/strong&gt; – If successful, Ansible receives a pong response, indicating that the connection is working.&lt;/p&gt;

&lt;p&gt;If no inventory file exists, you can still specify a target manually like this:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;ansible localhost -m ping -i localhost,&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;This forces Ansible to treat localhost as the target and execute the module locally.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;💡 Lessons Learned So Far&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;🚀 &lt;strong&gt;Start Small&lt;/strong&gt; – Automation is a broad topic, and it's okay to take baby steps.&lt;br&gt;
🚀 &lt;strong&gt;Break Down Complex Concepts&lt;/strong&gt; – Instead of diving into advanced topics, I’m focusing on the basics first.&lt;br&gt;
🚀 &lt;strong&gt;Hands-on Practice is Key&lt;/strong&gt; – The more I experiment, the more things start to make sense.&lt;br&gt;
🚀 &lt;strong&gt;Be Patient&lt;/strong&gt; – Every new skill takes time to master, and consistency is key.&lt;br&gt;
🚀 &lt;strong&gt;Celebrate Small Wins&lt;/strong&gt; – Even getting an SSH key setup right felt like an achievement!&lt;/p&gt;

&lt;p&gt;This journey has taught me that automation is not just about tools; it’s about mindset. Instead of manually fixing issues repeatedly, I now think about how to automate the process and make it efficient.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;💬 Final Thoughts&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I’m excited to continue learning, experimenting, and sharing my experiences. If you're also starting in DevOps, remember:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Take it one step at a time, and soon, it will all start making sense. 😊&lt;/p&gt;
&lt;/blockquote&gt;

</description>
      <category>devops</category>
      <category>ansible</category>
      <category>automation</category>
    </item>
  </channel>
</rss>
