<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Vijaya Nirmala Gopal on Medium]]></title>
        <description><![CDATA[Stories by Vijaya Nirmala Gopal on Medium]]></description>
        <link>https://medium.com/@gvnirmalaa?source=rss-38a9499630d0------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*LTwhoGlrul0U-FI9-IeIwg.jpeg</url>
            <title>Stories by Vijaya Nirmala Gopal on Medium</title>
            <link>https://medium.com/@gvnirmalaa?source=rss-38a9499630d0------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 00:13:13 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@gvnirmalaa/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[AWS Savings Plans doesn’t assure cost savings; Tracking & Amending with AWS Budgets does !!]]></title>
            <link>https://aws.plainenglish.io/aws-savings-plans-doesnt-assure-cost-savings-tracking-amending-with-aws-budgets-does-e13daba3e13d?source=rss-38a9499630d0------2</link>
            <guid isPermaLink="false">https://medium.com/p/e13daba3e13d</guid>
            <category><![CDATA[finops]]></category>
            <category><![CDATA[aws-compute]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[aws-budgets]]></category>
            <category><![CDATA[aws-cost-optimization]]></category>
            <dc:creator><![CDATA[Vijaya Nirmala Gopal]]></dc:creator>
            <pubDate>Fri, 15 Aug 2025 16:55:20 GMT</pubDate>
            <atom:updated>2025-08-15T17:06:32.517Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*lB1STjslAMtt2naOGU0ing.png" /></figure><h3>AWS Savings Plans doesn’t assure cost savings; Tracking &amp; Amending with AWS Budgets does !!</h3><p>This article is to bring out the essential reason &amp; benefits of having Budget setup for being on track with the usage of Savings Plans based on coverage/utilization factors</p><p>Welcome to an ultimate pocket guide on AWS Savings Plans’ understanding &amp; tracking the same using AWS Budget !!</p><p>We all know that AWS Budgets exists to notify us on the status of exceeding the threshold towards a resource configuration. This helps in having resource utilization under control and eliminates AWS Invoice surprises(not good ones though :-()</p><p>In this article, let us take a setup of budget for tracking “Daily Savings Plan Coverage/Utilization” . Without an iota of doubt, this is extremely important to pursue the full benefits of AWS Savings Plans.</p><p>Let us see, the budget setup in few screenshots</p><p><strong>Step 1:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U67EHXlQ5wcZUZAaQ4YFKw.png" /></figure><p><strong>Step 2:</strong> Illustrated to create Savings Plan Coverage budget tracking at resource EC2 level</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hloZqZx98H0l_ITG4iYzNw.png" /></figure><p><strong>Step 3:</strong> Illustrated to create Savings Plan Utilization budget tracking</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BvA7jtME6lyDz42T2CqrzQ.png" /></figure><p><strong>Step 4:</strong> Chosen to receive alerts via email; But officially, designate SNS Topic or Chat bot alerts which is the right way of setting up alerts. Emails if used, can be group or team email id, so that a group stays notified rather than individuals</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l1ze33aFGB0aljMMrvYpZw.png" /></figure><p><strong>Step 5:</strong> Simple illustration of creating a Savings Plan coverage budget</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VYx_s1TC_ncSHxPExLDOyQ.png" /></figure><p>Now that we know how to setup budget to track the coverage of Compute instance against the Savings Plan procured, let us as well see the benefits of having them in place</p><p><strong>Why Savings Plan is being Purchased ?</strong></p><p>Savings Plan offers discounts over on-demand rate on your Compute Resources like EC2, Sagemaker thus enabling you to save unto 72% on costs. With data driven SP purchase recommendations &amp; your homework, you can opt in for buying Savings Plan(s). Key driving factor for purchasing a Savings Plan is when you have committed usage of any compute resource for 1 to 3 year period</p><p><strong>What is Coverage on Savings Plan ?</strong></p><p>Coverage represents how much of your usage of compute is utilizing the discounted price of SP or how much of compute usage is running on on-demand rates</p><p><strong>What is Utilization on Savings Plan ?</strong></p><p>Savings Plan is purchased by committing to use certain amount per house and Utilization gives actual usage out of the committed amount</p><p><strong>Purpose of threshold against Coverage &amp; Utilization ?</strong></p><p>Threshold is defined at scale of 1–100 and Budget tracker notifies you when utilization or coverage goes below the threshold defined</p><p><strong>Ideal Threshold ?</strong></p><p>Though threshold is same and needs to be defined at 100% to make the most out of the SP(s)</p><p><strong>What does the SP Coverage threshold breach represent ?</strong></p><p>Coverage threshold set at 90% &amp; if it goes below that then you have committed less for per hourly in Savings Plan(s) and will end up paying the remaining compute usage with on-demand rates</p><p><strong>Low on SP Coverage Illustration:</strong></p><p>SP Commitment Rate per hour = $100</p><p>Actual Usage per hour cost = $110</p><p>$10 usage is billed at on-demand rate which means you are under committed/hour in your SP(s)</p><p><strong>Low on SP Coverage &amp; What to do ?</strong></p><p>Represents potential miss on savings with under-committed SP Purchase and denotes buying SP with higher commitment rate or additional SP(s) with revised commitment rates based on recommendations</p><p><strong>What does the SP Utilization threshold breach represent ?</strong></p><p>Utilization threshold for example 90%, and if reported below 90% by AWS Budget tracker, then this is clear case of over commitment of usage/hourly on SP(s)</p><p><strong>Low on SP Utilization Illustration:</strong></p><p>SP Commitment Rate per hour = $100</p><p>Actual Usage per hour = $90</p><p>Utilization is 90% an hour, $10 is wasted which means you are over committed/hour in your SP(s)</p><p><strong>Low on SP Utilization &amp; What to do ?</strong></p><p>Represents cloud waste and SP(s) commitment rate needs to be revised/reduced based on recommendations or SP(s) needs to be returned</p><p><strong>Key Restrictions on returning SP(s) to AWS:</strong></p><ul><li>AWS SP purchased should be active</li><li>AWS SP can be returned within 7 days</li><li>AWS SP returns quota not exceeded</li><li>Hourly commitment made towards SP should be at least $100</li></ul><p>Happy Optimizing !!</p><h3>A message from our Founder</h3><p><strong>Hey, </strong><a href="https://linkedin.com/in/sunilsandhu"><strong>Sunil</strong></a><strong> here.</strong> I wanted to take a moment to thank you for reading until the end and for being a part of this community.</p><p>Did you know that our team run these publications as a volunteer effort to over 3.5m monthly readers? <strong>We don’t receive any funding, we do this to support the community. ❤️</strong></p><p>If you want to show some love, please take a moment to <strong>follow me on </strong><a href="https://linkedin.com/in/sunilsandhu"><strong>LinkedIn</strong></a><strong>, </strong><a href="https://tiktok.com/@messyfounder"><strong>TikTok</strong></a>, <a href="https://instagram.com/sunilsandhu"><strong>Instagram</strong></a>. You can also subscribe to our <a href="https://newsletter.plainenglish.io/"><strong>weekly newsletter</strong></a>.</p><p>And before you go, don’t forget to <strong>clap</strong> and <strong>follow</strong> the writer️!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e13daba3e13d" width="1" height="1" alt=""><hr><p><a href="https://aws.plainenglish.io/aws-savings-plans-doesnt-assure-cost-savings-tracking-amending-with-aws-budgets-does-e13daba3e13d">AWS Savings Plans doesn’t assure cost savings; Tracking &amp; Amending with AWS Budgets does !!</a> was originally published in <a href="https://aws.plainenglish.io/">AWS in Plain English</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to save 70% of AWS Compute Costs for non production workloads?]]></title>
            <link>https://medium.com/@gvnirmalaa/how-to-save-70-of-aws-compute-costs-for-non-production-workloads-c2750b434a8e?source=rss-38a9499630d0------2</link>
            <guid isPermaLink="false">https://medium.com/p/c2750b434a8e</guid>
            <category><![CDATA[rds]]></category>
            <category><![CDATA[architecture]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[finops]]></category>
            <category><![CDATA[ec2]]></category>
            <dc:creator><![CDATA[Vijaya Nirmala Gopal]]></dc:creator>
            <pubDate>Tue, 17 Jun 2025 04:57:37 GMT</pubDate>
            <atom:updated>2025-06-17T04:57:37.941Z</atom:updated>
            <content:encoded><![CDATA[<p>Welcome to fellow AWS Cloud aspirants for a basic AWS Cost optimization post with brief points &amp; an architecture diagram for the same.</p><p>Intention is to highlight scope &amp; potential of applying cost optimization in non production workloads as well. This example, is considering a web application tier in Public Subnet, business logic tier &amp; RDS backed database in individual private subnets</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jiJy1Zp_BUYSi7ZxytLJoQ.png" /></figure><p>Above is a basic representation of a simple web application with business &amp; database tier implementation. Below is the order to save costs</p><ol><li>Resources EC2, RDS should be created with Key,Value tags for this design to work. To enforce this, the user or source which creates these resources should be attached with IAM policy aws:RequestTag condition(s)</li><li>Assume that these resources are now created with resource tag(Key:Value)</li><li>Create a Amazon Event bridge rule with cron scheduler time defined as according to your nature of business purpose</li><li>Prepare a python boto or any other script to start &amp; stop these instances &amp; RDS instances according to cron scheduler and key value tags defined with the respective resources</li><li>Watch the cost being saved from the moment this setup is up &amp; running</li></ol><p>While the steps &amp; logic looks simpler, this is extremely basic aspect of implementing cost savings. Wondering how? Well, Non production workloads are not expected to run always and hence those can be always stopped and started on weekdays when team or developers actually need</p><p>For example, let us say, I am running 1 c5a large instance, as per above architecture</p><p>Ec2 Run Time: 24*30(let us assume 30 days a month running for 24 hours) = 720 hours of EC2/RDS uptime</p><p>Team/Developer work time: 4 weeks(a Month timeline) * 40(5 days, 8 hours a week) = 160 Hours</p><p>Idle time = 720–160 = 560 Hours</p><p>What if I told, that you can save up on 560 idle hours? let see with real estimate now</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ceza8xaJ9nD43bFXC04VCg.png" /></figure><p>AWS online pricing calculator, takes <strong>730</strong> hours for a month and estimates 112.42/month cost for c5a.xlarge instance usage. So if we stop &amp; stop for 730–160 hours, 570 hours of savings is almost 78% will be $87.7 in savings per month and stand to pay $24.72. Isnt this huge? After all, money saved is money earned</p><p>To add up, please see the estimate of Amazon RDS(MySQL) cost for a month, without opting for Proxy usage, Single Zone, Opted out RDS Insights</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*a2b6gd1efr13LNQIXHUpxw.png" /></figure><p>Idea is to emphasize the importance of potential of implementing this cost saving during the design phase of architecting cloud solutions. In a improvised design, we can opt for reserved/savings plan instances and we will see about those enhancements &amp; various other scenarios, in the upcoming posts</p><p>Happy learning !!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c2750b434a8e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to nail AWS Architecting? …with baby steps !!]]></title>
            <link>https://aws.plainenglish.io/how-to-nail-aws-architecting-with-baby-steps-1252007d80a3?source=rss-38a9499630d0------2</link>
            <guid isPermaLink="false">https://medium.com/p/1252007d80a3</guid>
            <category><![CDATA[architecture]]></category>
            <category><![CDATA[ec2]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[rds]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <dc:creator><![CDATA[Vijaya Nirmala Gopal]]></dc:creator>
            <pubDate>Tue, 11 Mar 2025 07:01:56 GMT</pubDate>
            <atom:updated>2025-07-06T18:18:27.516Z</atom:updated>
            <content:encoded><![CDATA[<h3>How to nail AWS Architecting? …with baby steps !!</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*ILEWNa3wC8o7H0k8.jpg" /></figure><p>Welcome to another new thought !! I was thinking about how I was struggling to understand AWS Architecture diagrams that were picture perfect, well written by scholars/Top notch Architects yet I stared at those architectures and moved on as I was overwhelmed with lot of components laid out and couldn’t grasp it from the pictorial !! It could have been because of lack of confidence and/or knowledge gap.</p><p>But with relentless effort, I started by hand drafting many incorrect versions and finally perfected it with time. If I can get it right, anyone else can and hence this post it to encourage folks to do architecture diagrams!!</p><p>To narrate the learning curve, I am presenting a simple requirement-component mapping made into an architecture evolution, from simple sentences to AWS Services mapping. Nevertheless, this will lead to a sensible completion and will surprise you!! Let us start !!</p><p>Need #1: Business is currently on-premise and would like to make its presence on Cloud</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/0*vxL2gqZplV9_E1zi.png" /></figure><p>Need #2: Identify the region; Region is decided based on the business requirement on where the clients/users are rather the organizations’ operational area</p><blockquote><em>AWS Region selection</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*QNIhV1oNLgV_ETHm.png" /></figure><p>Need #3 &amp; #4: Web Application server &amp; backend Database Server are to be hosted on AWS</p><blockquote><em>AWS Compute(EC2), DB on AWS RDS</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*qIeLSSzyA86ri1nr.png" /></figure><p>Need #5: Web Application needs to communicate with DB Server; There has to be mechanism to operate in cloud, a segregation, privacy, just like how it was in an on-premise data centre. For logical segregation &amp; security, a VPC has to be created. To operate in a region, we need to select a availability zone, which is were the data centre with servers are made available for us</p><blockquote><em>AWS VPC, Availability Zone</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*7hsRq7yiqT1yhFBM.png" /></figure><p>Need #6: Web Application Server has to access Internet</p><blockquote><em>AWS VPC Public Subnet, Internet Gateway brings internet access to App server</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*OhzFNBHeO-Kl5Xvs.png" /></figure><p>Need #7: DB Server has to be safeguarded as transactional data are stored here</p><blockquote><em>AWS Private Subnet with no internet access</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*f7CgBz4yTvabXmpd.png" /></figure><p>Need #8: App server should be accessible to End Users</p><blockquote><em>AWS Route 53 to access the domain/host name via Internet Gateway onto the App server in Public Subnet</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*2_DfTcLQu00oACK3.png" /></figure><p>Need #9: DB server should be accessible to App Server</p><blockquote><em>AWS Security Groups Rules, NAT Gateway to establish connection</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*X3ieT1BRfyDCs3kI.png" /></figure><p>Need #10: Design must cover servers or region failures</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*h-ebvvCMz5oTN6oS.png" /></figure><p>Need #11: Application must ensure High Availability &amp; Elasticity &amp; meet the peak demands of the customers</p><blockquote><em>AWS Autoscaling &amp; Load Balancing</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*AV6SPFZKuH-Eyixn.png" /></figure><p>P.S. There are areas of improvement here like including Observability &amp; monitoring, Optimization of compute services etc but to start with, I believe, that the scope represented here, will make more sense.</p><p>I believe this will create spark or motivate people to create or reading AWS architectures, going forward</p><p>Good Luck Folks !!</p><p><em>Originally published at </em><a href="https://dev.to/aws-builders/how-to-nail-aws-architecting-with-baby-steps--48nn"><em>https://dev.to</em></a><em> on March 11, 2025.</em></p><h3>Thank you for being a part of the community</h3><p><em>Before you go:</em></p><ul><li>Be sure to <strong>clap</strong> and <strong>follow</strong> the writer ️👏<strong>️️</strong></li><li>Follow us: <a href="https://x.com/inPlainEngHQ"><strong>X</strong></a> | <a href="https://www.linkedin.com/company/inplainenglish/"><strong>LinkedIn</strong></a> | <a href="https://www.youtube.com/@InPlainEnglish"><strong>YouTube</strong></a> | <a href="https://newsletter.plainenglish.io/"><strong>Newsletter</strong></a> | <a href="https://open.spotify.com/show/7qxylRWKhvZwMz2WuEoua0"><strong>Podcast</strong></a> | <a href="https://twitch.tv/inplainenglish"><strong>Twitch</strong></a></li><li><a href="https://differ.blog/"><strong>Start your own free AI-powered blog on Differ</strong></a> 🚀</li><li><a href="https://discord.gg/in-plain-english-709094664682340443"><strong>Join our content creators community on Discord</strong></a> 🧑🏻‍💻</li><li>For more content, visit <a href="https://plainenglish.io/"><strong>plainenglish.io</strong></a> + <a href="https://stackademic.com/"><strong>stackademic.com</strong></a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1252007d80a3" width="1" height="1" alt=""><hr><p><a href="https://aws.plainenglish.io/how-to-nail-aws-architecting-with-baby-steps-1252007d80a3">How to nail AWS Architecting? …with baby steps !!</a> was originally published in <a href="https://aws.plainenglish.io/">AWS in Plain English</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AWS — EC2 Instance Easy Recovery of lost key pairs]]></title>
            <link>https://medium.com/@gvnirmalaa/aws-ec2-instance-easy-recovery-of-lost-key-pairs-6233f9c87104?source=rss-38a9499630d0------2</link>
            <guid isPermaLink="false">https://medium.com/p/6233f9c87104</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[how-to]]></category>
            <category><![CDATA[ec2-instance]]></category>
            <dc:creator><![CDATA[Vijaya Nirmala Gopal]]></dc:creator>
            <pubDate>Wed, 10 Nov 2021 07:46:38 GMT</pubDate>
            <atom:updated>2021-11-10T07:46:38.654Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><strong>AWS — EC2 Instance Easy Recovery of lost key pairs</strong></blockquote><p>Did we not lose or delete or share the keypairs of EC2 instances by mistake anytime?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/503/1*x9XShv7ITsyUezwdrZ78WA.png" /></figure><p>Well, let us see a simple way of recovering from the same</p><ul><li>Stop the instance which do not have the key pair (al2_kp is the pem file in this example)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pHQvzieGxtOKPrmHGAobcw.png" /></figure><ul><li>Generate a new pem file from “EC2 Management Console -&gt; Network &amp; security” -&gt; Keypairs” section</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/948/1*P5G0YDn54YcTbfjXXVXHKA.png" /></figure><ul><li>Now the generated file is .pem file and hence we need public key retrieved for SSH compatibility by using ssh-keygen or puttygen</li><li>Copy this public key into the EC2 instances’ user-data content from EC2 Instance -&gt; Actions -&gt; Instance Settings -&gt; Edit User data section in the — PublicKey area of the below text</li></ul><blockquote>Content-Type: multipart/mixed; boundary=”//” MIME-Version: 1.0</blockquote><blockquote>— // Content-Type: text/cloud-config; charset=”us-ascii”</blockquote><blockquote>MIME-Version: 1.0</blockquote><blockquote>Content-Transfer-Encoding: 7bit</blockquote><blockquote>Content-Disposition: attachment; filename=”cloud-config.txt”</blockquote><blockquote>#cloud-config</blockquote><blockquote>cloud_final_modules:</blockquote><blockquote>— [users-groups, once]</blockquote><blockquote>users: — name: username</blockquote><blockquote>ssh-authorized-keys: — PublicKeypair</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*qsNYXFKX_0ptyGw6UCT0ww.png" /></figure><ul><li>Ensure to check the cloud-init step completion in order to assure that the public key has been copied</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w0d89nmOMncOz2fpxNJs1w.png" /></figure><ul><li>Now start the instance and see SSH established successfully in spite of the pem file being referred to the missing one</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*S9faKeUY2eRt2eP10Tsnag.png" /></figure><p>Hassle free recovery !!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6233f9c87104" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Redhat Ansible — Code snippet to ping to servers]]></title>
            <link>https://medium.com/@gvnirmalaa/redhat-ansible-code-snippet-to-ping-to-servers-260de0da98b8?source=rss-38a9499630d0------2</link>
            <guid isPermaLink="false">https://medium.com/p/260de0da98b8</guid>
            <category><![CDATA[ansible-playbook]]></category>
            <category><![CDATA[redhat-ansible]]></category>
            <category><![CDATA[ansible]]></category>
            <dc:creator><![CDATA[Vijaya Nirmala Gopal]]></dc:creator>
            <pubDate>Thu, 20 Feb 2020 04:12:46 GMT</pubDate>
            <atom:updated>2020-02-20T04:12:46.144Z</atom:updated>
            <content:encoded><![CDATA[<p>Redhat Ansible — Code snippet to ping to servers</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/328/1*nO0mtYvoqQT1HLv1ZjIilg.png" /></figure><p>Redhat Ansible is an opensource tool which is used for the automation of infrastucture provisioning, configuration management and/or application deployment tasks</p><p>Here, is an example code snippet which explains on how to test the connectivity or reach status of servers from Ansible Control server to other target nodes</p><ol><li>This script is using ‘command’ module of Ansible</li><li>ping command to reach target nodes</li><li>-c5 tells the ping to display status of ping 5 times, which otherwise would run until stopped</li><li>Here, the intention is to ping a list of servers and this is achieved using with_items option feature of Ansible</li><li>Another enhancement that can be made here is that, a .csv can be read using read_csv module and then later this output can be passed against with_items, to check the status against list of hosts specified in a .csv file</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/580/1*xQyigaoMgp-uWENr2rKDvw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=260de0da98b8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Accessorize for Global Warming]]></title>
            <link>https://medium.com/@gvnirmalaa/accessorize-for-global-warming-d54312902d32?source=rss-38a9499630d0------2</link>
            <guid isPermaLink="false">https://medium.com/p/d54312902d32</guid>
            <category><![CDATA[global-warming]]></category>
            <category><![CDATA[climate-change]]></category>
            <category><![CDATA[global-warming-solution]]></category>
            <dc:creator><![CDATA[Vijaya Nirmala Gopal]]></dc:creator>
            <pubDate>Sat, 25 May 2019 18:48:03 GMT</pubDate>
            <atom:updated>2019-05-25T18:49:24.965Z</atom:updated>
            <content:encoded><![CDATA[<p>Accessorize for Global Warming</p><p>We all have heard and are seeing the effects of Deforestation. Some find a way or means by being conscious in their own limits while some do take part in Tree Plantation Campaigns and contribute their share of responsibility by sponsoring, organizing and/or being part of planting them.</p><p>While the appreciation goes to those who contribute, ideal applause and gratitude goes with those who maintain and see the saplings grow to Trees. With infrastructure blooming up in every city and space available, the ratio between new saplings being planted to trees being cut, is nothing to compare or measure with.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*kgK07iBGXJGUdGQc" /><figcaption>Photo by <a href="https://unsplash.com/@ingemusic?utm_source=medium&amp;utm_medium=referral">Inge Maria</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>On a rainy morning, I was all cozy observing the sounds of rain droplets effortlessly creating unique sounds against its target like the Terrace, the Lawn, over the Avacado leaves, on a Tarpaulin, against the iron gate. Ah, What a medley of sounds? We are so ignorant with our ever competing, stressful lives that we forget to listen to the beautiful marriage of water and objects, producing sounds.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*WU_HjKXj3IyzJv6P" /><figcaption>Photo by <a href="https://unsplash.com/@gallarotti?utm_source=medium&amp;utm_medium=referral">Francesco Gallarotti</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Here comes the idea of accessorizing for Global Warming. Why dont we be a Creator at our own capacities by seeding a plant, however small it might be. We relentlessly dress up, accessorize, learn and evolve to be our best, in all walks of life.Why not Accessorize with plants of least maintenance, which are in need o f less light and/or water, and nurture them. We accessorize and nurture a mobile, a bike, a vanity kit and etc., why not micro greens at the least???</p><p>It is these small habits which brings out big changes for us !!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d54312902d32" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Crontab in Ansible]]></title>
            <link>https://medium.com/@gvnirmalaa/crontab-in-ansible-beb8cf17f329?source=rss-38a9499630d0------2</link>
            <guid isPermaLink="false">https://medium.com/p/beb8cf17f329</guid>
            <category><![CDATA[crontab]]></category>
            <category><![CDATA[devpos]]></category>
            <category><![CDATA[crontab-automation]]></category>
            <category><![CDATA[ansible]]></category>
            <dc:creator><![CDATA[Vijaya Nirmala Gopal]]></dc:creator>
            <pubDate>Wed, 22 May 2019 13:20:36 GMT</pubDate>
            <atom:updated>2019-05-22T13:27:29.735Z</atom:updated>
            <content:encoded><![CDATA[<p>Crontab in Ansible</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*dcPgtorQA_lou_wF" /><figcaption>Photo by <a href="https://unsplash.com/@curtismacnewton?utm_source=medium&amp;utm_medium=referral">Curtis MacNewton</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>My recent addiction is with Ansible as am unfolding lot many features of Ansible which is lifting heavy weights for a Devops Engineer, by giving away modules for easy implementations.</p><p>Here, let us see about how to implement crontab in the most optimum way for Configuration Management scenarios. Scenario in reference here is that post the code deployment, which is basically placing a bunch of shell script files and schedule or execute them, just immediately</p><p>We all know that adding a crontab as part of post deployment or at the end of the code deployment would be the ideal solution. On implementing, job scheduling using Ansible crontab module, I found that not all or each of the shell script file I had was scheduled in crontab. Instead the latest file read via “with_item: {{ fileList }}” was retained in crontab</p><p>This article will show on how to get both the tasks done, firstly, creating a crontab in Ansible and secondly, to have entries for all of the files(executables) intended</p><pre>- name: set entry for each script<br>  cron:<br>    name: “crontab-entry-for-{{ item }}”<br>    minute: “30”<br>    hour: “*”<br>    day: “*”<br>    month: “*”<br>    weekday: “*”<br>    job: “ {{ item }}”<br>  become: yes<br>  become_method: sudo<br>  with_items: “ {{ fileList.stdout_lines }}”</pre><p>Above code sample effortlessly achieves our intentions of</p><ul><li>Create a crontab</li><li>Define schedules as needed</li><li>Add individual entries for multiple or bunch of executable(s)</li></ul><p>If you are wondering what is different from Ansible documentation, it is the unique name that we provide in cron name by simply making the name unique by adding the file name so the crontab entry stands unique.</p><blockquote><em>P.S. Just before using the above task, add in a task that will gather the list of files into fileList or amend your variable name into this crontab task</em></blockquote><p>Happy Ansible folks !!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=beb8cf17f329" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>