<?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 Hema on Medium]]></title>
        <description><![CDATA[Stories by Hema on Medium]]></description>
        <link>https://medium.com/@Hema_Cloud?source=rss-f7576b8574ac------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*DYoNCTvxjYK9xETK.jpg</url>
            <title>Stories by Hema on Medium</title>
            <link>https://medium.com/@Hema_Cloud?source=rss-f7576b8574ac------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 11:28:56 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@Hema_Cloud/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[Vault Migration: Cluster Transition & Challenges and Solutions]]></title>
            <link>https://medium.com/@Hema_Cloud/vault-migration-cluster-transition-challenges-61ec0bc41605?source=rss-f7576b8574ac------2</link>
            <guid isPermaLink="false">https://medium.com/p/61ec0bc41605</guid>
            <category><![CDATA[consul]]></category>
            <category><![CDATA[sre]]></category>
            <category><![CDATA[vault]]></category>
            <category><![CDATA[migration]]></category>
            <category><![CDATA[storage]]></category>
            <dc:creator><![CDATA[Hema]]></dc:creator>
            <pubDate>Mon, 24 Feb 2025 17:11:46 GMT</pubDate>
            <atom:updated>2025-02-24T17:15:53.985Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/612/1*05LaAIT53Zn6Hw_WzJHYjw.jpeg" /></figure><p>Migrating Vault may seem straightforward, but in reality, it is far from easy. While Vault’s documentation suggests that backup and restore should suffice, this is only partially true.</p><h4>Migration from One Kubernetes Cluster to Another</h4><p>I worked on migrating a Vault setup from one Kubernetes cluster to another. Vault consists of two main types of pods:</p><ul><li><strong>Vault Pods</strong>: Handle incoming requests and provide responses.</li><li><strong>Consul Pods</strong>: Store and retrieve key-value data, acting as Vault’s backend.</li></ul><h3>Initial Deployment &amp; Challenges</h3><p>The initial deployment was attempted on the <strong>Butler cluster</strong>, which had Jenkins for automation. However, Butler had several drawbacks due to outdated software and lack of maintenance. During deployment, the cluster became unresponsive — Vault pods failed mid-process and entered an unavailable state. Given Butler’s instability, I opted to move to a <strong>more secure and managed cluster</strong>, certified at the IL5 compliance level.</p><h3>Strict Security Restrictions</h3><p>The new cluster had strict security policies, introducing additional challenges:</p><ul><li><strong>IPC_LOCK Restriction</strong>: Prevented Vault from locking memory, impacting performance.</li><li><strong>No Ingress Allowed</strong>: Made external access and communication difficult.</li></ul><p>To work around the ingress limitation, I first deployed Vault without ingress. While this worked, it remained unstable. The main issue was that <strong>Consul pods kept restarting, causing data loss</strong>. To prevent this, I had to ensure <strong>graceful termination of Consul nodes before shutdown</strong>.</p><h3>Jenkins Role ID &amp; Access Issues</h3><p>One major complication was the URL change. The old namespace server was unmanaged, and no one knew the password to SSH into it. As part of the migration, we had to update policies and <strong>Jenkins role configurations</strong>.</p><p>After performing a backup and restore, <strong>Jenkins and other automation tools failed to authenticate</strong> due to a <strong>Jenkins Role ID mismatch</strong>. Since the new cluster had a different IP address, updating the URL in the namespace server was necessary. However, because the namespace server was unmaintained and inaccessible, this wasn’t an option.</p><p><strong>Solution:</strong></p><ul><li>I assigned a <strong>new URL</strong> and mapped it to the new cluster.</li><li>For Jenkins jobs requiring manual URL updates, we had to <strong>re-enter the Role ID and Secret ID</strong>.</li><li>However, Vault does not display existing Role IDs and Secret IDs, making re-entry impossible.</li><li>To resolve this, I created a <strong>new Role ID and Secret ID</strong>, ensuring Jenkins could authenticate with the new Vault setup.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=61ec0bc41605" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I Built an Automated Deployment Pipeline for My Website]]></title>
            <link>https://medium.com/@Hema_Cloud/how-i-built-an-automated-deployment-pipeline-for-my-website-be7f09eb0b83?source=rss-f7576b8574ac------2</link>
            <guid isPermaLink="false">https://medium.com/p/be7f09eb0b83</guid>
            <category><![CDATA[website]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[action]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[pipeline]]></category>
            <dc:creator><![CDATA[Hema]]></dc:creator>
            <pubDate>Sun, 16 Feb 2025 10:06:14 GMT</pubDate>
            <atom:updated>2025-02-16T10:15:02.664Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*eMmOqTvvtZNozvvTZZfA7w.png" /></figure><p>My portfolio: <a href="http://hemaportfolio.com/">http://hemaportfolio.com</a><br>As an engineer, I automate everything — except, for some reason, my personal website. Every time I made a small update, I had to manually upload files to Bluehost. I had to log into cPanel, open the file manager, and painstakingly upload my files like it was 2005.</p><p>It was ridiculous. I knew better. So, one day, I decided to fix it.</p><h3>The Pain of Manual Uploads</h3><p>Making even the smallest change meant:</p><ol><li>Logging into Bluehost</li><li>Navigating cPanel’s clunky UI</li><li>Uploading files one by one</li><li>Hoping I didn’t break something crucial</li></ol><p>It was a slow, repetitive, and completely unnecessary process. I automate cloud infrastructure for a living — why was I manually dragging and dropping files like a caveman?</p><h3>Enter GitHub Actions: My New Best Friend</h3><p>I knew <strong>GitHub Actions</strong> could automate builds, tests, and deployments for real applications, so why not use it to update my website? After some digging, I found <strong>SamKirkland’s FTP Deploy Action</strong>, a simple tool that could push my files via FTP whenever I updated my GitHub repository.</p><p>This was it — the key to never opening cPanel again.</p><h3>How I Set It Up</h3><p>Here’s exactly what I did to automate my deployments:</p><ol><li><strong>Created FTP credentials in Bluehost</strong> — I went to the FTP accounts section in cPanel and set up a new FTP user.</li><li><strong>Stored my FTP credentials in GitHub Secrets</strong> — To keep them secure, I added my hostname, username, and password to GitHub Secrets.</li><li><strong>Wrote a deployment workflow</strong> — I created a file at .github/workflows/deploy.yml with the necessary instructions to deploy my site using <strong>SamKirkland’s FTP Deploy Action </strong>(comment below for the code).</li><li><strong>Configured the correct deployment path</strong> — Initially, my files were going into public_html/public_html/, so I adjusted the server-dir setting to / to fix it.</li><li><strong>Pushed my changes to GitHub</strong> — The GitHub Action kicked in, connected to my Bluehost server, and automatically deployed my files.</li></ol><h3>The Sweet Taste of Automation</h3><p>I made a small change, pushed it to GitHub, and watched as GitHub Actions handled everything for me. No cPanel. No FTP clients. No headaches.</p><p>It was beautiful.</p><p>From that moment, updating my website became effortless:</p><ol><li><strong>Make a change</strong></li><li><strong>Push to GitHub</strong></li><li><strong>GitHub Actions deploys it automatically</strong></li></ol><p>I’d finally freed myself from manual uploads.</p><h3>Final Thoughts: Stop Doing Things Manually</h3><p>If you’re still manually updating your website, please, for the sake of your sanity, automate it. Setting up GitHub Actions takes just a few minutes, but it will save you time and frustration forever.</p><p>For me, this was a fun side project that solved a very real problem. Now, I can spend my time on more important things — like actually improving my website — instead of babysitting file uploads.</p><p>Have you automated your deployments? Share your experience — I’d love to hear how others have escaped the manual deployment struggle!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=be7f09eb0b83" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Ultimate 2-Week Guide to Passing the HashiCorp Certified: Terraform Associate (003)…]]></title>
            <link>https://medium.com/@Hema_Cloud/how-i-passed-hashicorp-certified-terraform-associate-exam-within-2-weeks-study-plan-af6061d7a595?source=rss-f7576b8574ac------2</link>
            <guid isPermaLink="false">https://medium.com/p/af6061d7a595</guid>
            <category><![CDATA[certification]]></category>
            <category><![CDATA[terraform]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[infrastructure-as-code]]></category>
            <category><![CDATA[hashicorp]]></category>
            <dc:creator><![CDATA[Hema]]></dc:creator>
            <pubDate>Sat, 08 Feb 2025 04:50:06 GMT</pubDate>
            <atom:updated>2025-02-08T19:13:56.239Z</atom:updated>
            <content:encoded><![CDATA[<h3>The Ultimate 2-Week Guide to Passing the HashiCorp Certified: <a href="https://www.credly.com/badges/c3054936-47ac-4522-baea-308d4dbd84fb/public_url">Terraform Associate (003) Certification</a></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Rq7WosbSH88xx81TBBCgUA.png" /></figure><p>Preparing for the exam typically takes around 2 weeks for a beginner, or about 1.5 weeks if you have a background in cloud computing and strong motivation to spend 3–4 hours a day. Terraform is relatively easy to learn, and with proper practice, the certification exam is straightforward and easy to grasp.</p><p><strong>Contents</strong><br>- Step 1: Schedule Exam<br>- Step 2: Preparation<br>- Step 3: Practice<br>- Step 4: Exam Day<br>- Step 5: Results</p><p><strong>Step 1: Schedule Exam</strong></p><ul><li><a href="https://www.hashicorp.com/en/certification">https://www.hashicorp.com/en/certification</a></li><li>First step is to schedule the exam to establish commitment.</li></ul><p><strong>Step 2: Preparation</strong></p><p>If you’re new to Terraform and have no prior experience, be sure to watch this video: <a href="https://youtu.be/l5k1ai_GBDE?feature=shared">https://youtu.be/l5k1ai_GBDE?feature=shared</a></p><p><strong>Step 3: Practice</strong></p><ul><li><a href="https://www.udemy.com/share/10cr4t3@zaXXoTAcZAWrgN9__ErzzVII5w5EGvQ_Wzk5vo6vkbhh1IAXrz0hj5IphLn9QjSe/">https://www.udemy.com/share/10cr4t3@zaXXoTAcZAWrgN9__ErzzVII5w5EGvQ_Wzk5vo6vkbhh1IAXrz0hj5IphLn9QjSe/</a><br>This Udemy course is a goldmine for exam preparation — definitely worth the investment! Each practice test includes clear, easy-to-understand explanations and a reliable reference for every question.</li><li>I repeated the tests over and over until I fully grasped the concepts. After each attempt, I carefully reviewed any incorrect or skipped questions, which significantly boosted my confidence.</li><li>Once I felt prepared, I tested my knowledge by answering a few questions on <a href="https://www.examtopics.com/exams/hashicorp/terraform-associate/view/">https://www.examtopics.com/exams/hashicorp/terraform-associate/view/</a></li></ul><p><strong>Step 4: Exam Day</strong></p><ul><li>Two days before the exam — or at least 30 minutes prior — make sure to check the system requirements mentioned here: <a href="https://cp.certmetrics.com/hashicorp/en/home/dashboard.">https://cp.certmetrics.com/hashicorp/en/home/dashboard.</a> It’s best to use Chrome with your microphone, screen sharing, and camera enabled. I wouldn’t recommend relying on Safari, as it’s not supported by Certiverse.</li><li>That’s it! Thanks to my thorough preparation, I was able to complete the exam in just 20 minutes, and the questions were similar to those in the practice tests.</li></ul><p><strong>Step 5: Results</strong></p><p>Your pass or fail result is displayed immediately after completing the exam and user survey. However, the certificate takes approximately 48 hours to be issued. Check below for reference.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DPo7kLpFloj3RX9TETGxLQ.png" /></figure><p>Good Luck!! :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=af6061d7a595" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[VMware Aria Automation Code Stream (formerly vRealize Automation Code Stream)]]></title>
            <link>https://medium.com/@Hema_Cloud/vmware-aria-automation-code-stream-formerly-vrealize-automation-code-stream-0f4bb4bc4f5e?source=rss-f7576b8574ac------2</link>
            <guid isPermaLink="false">https://medium.com/p/0f4bb4bc4f5e</guid>
            <category><![CDATA[vmware]]></category>
            <category><![CDATA[ci-cd-pipeline]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[aria]]></category>
            <category><![CDATA[sre]]></category>
            <dc:creator><![CDATA[Hema]]></dc:creator>
            <pubDate>Sat, 25 Jan 2025 12:11:27 GMT</pubDate>
            <atom:updated>2025-02-08T18:09:26.961Z</atom:updated>
            <content:encoded><![CDATA[<p>VMware Aria Automation <strong>Code Stream</strong> is a tool designed to help automate the process of building, testing, and deploying software. It simplifies <strong>CI/CD (Continuous Integration/Continuous Delivery)</strong> by automating the steps needed to get software from development to production. With Code Stream, DevOps teams can create and manage workflows that automatically build and test software, then deploy it across <strong>multi-cloud environments</strong> like <strong>VMware, AWS, Azure, and Google Cloud</strong>. It integrates with popular development tools such as <strong>Jenkins</strong>, <strong>GitHub</strong>, <strong>Kubernetes</strong>, and <strong>Terraform</strong>, making it easy to fit into existing workflows. Additionally, Code Stream can run tests on the software to ensure it works properly before deployment, and it manages software versions, keeping track of different <strong>artifacts</strong> for easy deployment.</p><p>When using Code Stream, developers push code to a repository, which triggers the automated process. The tool then builds the software, runs tests to check for errors, and deploys it to the cloud or other environments. It also uses <strong>AI-powered insights</strong> to improve the efficiency of the pipeline, making the entire process faster and smoother. This automation results in quicker software delivery, more secure deployments, and less manual work for developers. Code Stream is ideal for <strong>DevOps teams</strong>, <strong>developers</strong>, and <strong>IT professionals</strong> who want to simplify and speed up the deployment of cloud-based applications while maintaining strong security and compliance throughout the process.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0f4bb4bc4f5e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SRE Project “Stratos: Autonomous CI/CD & Developer Productivity Framework”]]></title>
            <link>https://medium.com/@Hema_Cloud/devops-project-automating-ci-cd-pipeline-and-improving-infrastructure-management-92fafbd993ba?source=rss-f7576b8574ac------2</link>
            <guid isPermaLink="false">https://medium.com/p/92fafbd993ba</guid>
            <category><![CDATA[ci-cd-devops]]></category>
            <category><![CDATA[infrastructure-as-code]]></category>
            <category><![CDATA[pipeline]]></category>
            <category><![CDATA[site-reliability-engineer]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Hema]]></dc:creator>
            <pubDate>Sat, 25 Jan 2025 11:07:45 GMT</pubDate>
            <atom:updated>2025-01-25T11:12:21.294Z</atom:updated>
            <content:encoded><![CDATA[<p>When I first joined the team, my goal was to observe and learn for a few days. During this time, I was also expected to do small tasks like updating the UI or following up on retrospectives. However, instead of just observing, I decided to take a more proactive approach and automate processes that seemed inefficient.</p><p>During developer stand-ups, I noticed that code was being pushed to production frequently, but there was a lack of proper testing. SREs were getting paged constantly to handle issues caused by these quick deployments. When I asked how the code was tested, I learned that it was only tested with unit tests locally, and then pushed into production after peer review and approval.</p><p>Although the team had skilled engineers, they still relied on end-to-end (E2E) and integration tests, which took up to 8 hours to complete. The process was slow, especially during the pandemic, when engineers were working remotely. They had to manually create Docker containers, push them into an external artifact repository, and deploy to Kubernetes using YAML files and command-line scripts. This process took too long, and it made me realize there had to be a better way.</p><p>I reached out to my mentor, who confirmed that other teams were facing similar issues. He suggested I look into CI/CD technologies. That’s when I came up with a plan to automate the entire process, making it faster and more reliable.</p><h3>The Automated CI/CD Pipeline</h3><ol><li><strong>Code Review and Testing:</strong><br>Every code change would go through a Gerrit review, where it would trigger smoke tests, unit tests, and a few basic E2E tests. If these tests passed, the code would get the first approval (“+1”) from Gerrit. The second approval would come from the repo owner after reviewing the code.</li><li><strong>Pipeline Trigger and Version Control:</strong><br>After approval, the pipeline would start automatically using the Gerrit review ID and repository name. The pipeline would first create a new Git branch and raise a merge request. If everything looked good, the process would move forward.</li><li><strong>Docker Build and Artifact Management:</strong><br>Next, the pipeline would build a Docker image and push it to an artifact repository (like Nexus or Artifactory). This ensures that the Docker images are versioned and available for deployment.</li><li><strong>Kubernetes Deployment and Testing:</strong><br>A new Kubernetes namespace would be created, and the application would be deployed there. Once deployed, the E2E tests would run. If the tests passed, a separate pipeline would continue the deployment to the staging and pre-production environments.</li><li><strong>Staging, Pre-prod, and Production Cadence:</strong><br>Once the application passed pre-production tests, it would stop until the weekly deployment cadence. Every week, all ready-to-deploy code would be pushed to production.</li><li><strong>Monitoring and Alerting:</strong><br>For monitoring, we used <strong>Wavefront</strong> to track pod usage and overall health. Wavefront integrates with various sources to gather metrics. For instance, when we deploy EC2 instances, AWS sends metric values to Wavefront. Additionally, a <strong>DaemonSet</strong> in Kubernetes sends application-specific metrics, such as pod health and resource usage. Alerts were configured within Wavefront to monitor these metrics. Based on predefined thresholds, the system would trigger alerts to notify the team about potential issues. For example, if an EC2 instance’s resource usage exceeded a certain threshold or if application performance degraded, an alert would be triggered. These alerts were integrated with <strong>Terraform</strong>, which we used to manage infrastructure. Terraform alerts would notify the team of any infrastructure changes, such as when new EC2 instances were provisioned or if scaling events occurred. Alerts could be configured to trigger specific actions, such as notifying a part-time on-call engineer, sending webhooks, or simply sending an email to a predefined list of contacts. This ensured that the right team members were always aware of critical issues.</li><li><strong>Infrastructure Management and Scaling:</strong><br>To manage the infrastructure, we initially used EC2 instances, but later switched to <strong>Auto Scaling Groups (ASGs)</strong>for automatic scaling based on the application’s needs. Kubernetes’ native scaling capabilities were also used to adjust resources dynamically. The integration of <strong>Terraform</strong> with Kubernetes and AWS allowed us to manage infrastructure as code, ensuring repeatable and consistent deployments.</li><li><strong>High Availability and Disaster Recovery:</strong><br>To ensure high availability, we used multiple availability zones and set up cross-region replication for disaster recovery. This way, if something went wrong in one region, we could recover quickly and keep downtime to a minimum.</li></ol><h3>Results and Benefits</h3><p>By automating the CI/CD pipeline, we reduced the deployment time from 8 hours to about 20 minutes. This allowed for faster deployments without sacrificing quality. The automated testing, deployment, and monitoring processes also helped us ensure the application was always production-ready.</p><p>The system became more reliable, scalable, and efficient, which improved developer productivity and minimized the manual effort required for deployments. The integration of <strong>Wavefront</strong> and <strong>Terraform</strong> ensured that the team had complete visibility into both application performance and infrastructure health. The alerting system provided proactive notifications, helping the team resolve issues quickly before they became critical.</p><p>Overall, this project was a great success, and it set a new standard for how we handle deployments, making the process smoother, more automated, and more reliable.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=92fafbd993ba" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is the Terraform Provider for vRLIC “Query Alert as Code”?]]></title>
            <link>https://medium.com/@Hema_Cloud/what-is-the-terraform-provider-for-vrlic-query-alert-as-code-59446de9248c?source=rss-f7576b8574ac------2</link>
            <guid isPermaLink="false">https://medium.com/p/59446de9248c</guid>
            <category><![CDATA[terraform]]></category>
            <category><![CDATA[alerts]]></category>
            <category><![CDATA[infrastructure-as-code]]></category>
            <category><![CDATA[provider]]></category>
            <category><![CDATA[vmware]]></category>
            <dc:creator><![CDATA[Hema]]></dc:creator>
            <pubDate>Sat, 25 Jan 2025 07:09:35 GMT</pubDate>
            <atom:updated>2025-02-08T10:45:54.710Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*raCUR-QUND2EWEsCbyFKkw.png" /></figure><p>This Terraform provider allows users to manage query-based alerts in vRealize Log Insight Cloud (vRLIC) using Terraform. Instead of manually creating alerts through the vRLIC UI, you can define them as code. The alerts are based on log queries that you define, and once a log message matches the query, it triggers actions like sending email or webhook notifications or even a pagerduty alert.</p><h3>1. Installation and setup</h3><p>If you haven’t installed Terraform yet, you’ll need to do so first. Download Terraform from the official website. Follow the installation steps according to your operating system.</p><ul><li>Install the Terraform Provider for vRLIC. The vRLIC Terraform Provider is not an official provider listed in the Terraform Registry but is custom and requires you to install it manually.</li><li>Here’s how you can do it: . Provider is on GitHub, you can clone it or if the provider has been packaged for distribution, install it as a plugin</li><li>Build the provider (it’s a Go-based provider): Navigate into the provider directory and run: go build</li><li>Install the provider: After building, you can manually install the provider by placing the resulting binary into the ~/.terraform.d/plugins directory. Alternatively, if the provider is available in a .zip or .tar.gz format, you can extract it into the plugins directory:</li></ul><pre>mv terraform-provider-vrlic_v0.1.0 ~/.terraform.d/plugins/</pre><h3>2. Provider Configuration</h3><p>Once the provider is installed, you’ll need to configure it to interact with vRLIC. In your main.tf file, you’ll configure the provider like so:</p><pre>provider &quot;vrlic&quot; {<br>endpoint = &quot;https://api.vrlic.vmware.com&quot; # The vRLIC API endpoint<br>api_key = &quot;your-api-key&quot; # Your vRLIC API key for authentication<br>}</pre><ul><li>endpoint: The API endpoint of your vRLIC instance.</li><li>api_key: Your vRLIC API key, which you’ll get from your vRLIC instance for authentication. If you don’t have an API key, you typically generate it from the vRLIC UI under Settings → API Access.</li></ul><h3>3. Create a Query Alert Resource</h3><p>3.1 Defining a Query Alert as Code</p><ul><li>Once your provider is configured, you can create query alerts in Terraform using the vrlic_query_alert resource.</li><li>Here’s an example of how you would define an alert to detect “Out of Memory” errors:</li></ul><pre>resource &quot;vrlic_query_alert&quot; &quot;out_of_memory_alert&quot; {<br>name = &quot;Out of Memory Alert&quot;<br>query = &quot;message:\&quot;Out of Memory\&quot;&quot;<br>severity = &quot;critical&quot;<br>actions = [&quot;email&quot;, &quot;webhook&quot;]<br>}</pre><ul><li>name: Name of the alert, displayed in vRLIC’s UI.</li><li>query: This is the log query used to monitor logs in vRLIC. In this case, it’s looking for logs containing the phrase “Out of Memory” in the message field.</li><li>severity: Defines the severity level of the alert (e.g., critical, high, medium).</li><li>actions: Actions that will be triggered when the query matches a log entry. Options include email, webhook, slack, etc.</li></ul><p>3.2 Example with a Complex Query</p><p>You might want a more complex query based on multiple fields, such as severity or event type. Here’s how you can build it:</p><pre>resource &quot;vrlic_query_alert&quot; &quot;out_of_memory_alert&quot; {<br>name = &quot;Out of Memory Alert&quot;<br>query = &quot;message:\&quot;Out of Memory\&quot; AND severity:\&quot;Error\&quot; AND timestamp:[now-1h TO now]&quot;<br>severity = &quot;critical&quot;<br>actions = [&quot;email&quot;, &quot;webhook&quot;]<br>}</pre><p>Explanation of Query Syntax:</p><ul><li>message: Searches the message field of logs for the phrase “Out of Memory.”</li><li>severity: Filters logs to only match when the severity is “Error.”</li><li>timestamp: Searches logs that have occurred in the last hour (now-1h TO now).</li><li>actions: When the query matches, both email and webhook notifications will be triggered.</li></ul><h3>4. Applying the Terraform Configuration</h3><p>Once you have defined your alert in main.tf, apply the configuration using the following Terraform commands:</p><pre>terraform init <br>terraform validate <br>terraform plan<br>terraform apply</pre><p>Terraform will show you the changes it plans to make. If everything looks good, confirm with yes.</p><h3>5. Viewing and Managing Alerts in vRLIC</h3><p>Once the Terraform script is applied, the Query Alert will be created in your vRLIC instance. Here’s how to view and manage it:</p><ul><li>Log in to vRLIC (access it through the VMware Cloud portal).</li><li>Navigate to Alerts → Alert Rules to see the alert you created. The alert will be visible with the name “Out of Memory Alert” and will start monitoring logs for the “Out of Memory” pattern.</li></ul><p>When a match is found, the alert will be triggered based on the actions you defined (e.g., sending an email, triggering a webhook).</p><h3>6. Scaling the Alerts</h3><p>To scale query alerts for distributed systems, you can:</p><ul><li>Use Terraform modules to manage and deploy query alerts across different vRLIC instances. Create multiple alert resources in Terraform to monitor different keywords and logs across various systems and services.</li><li>Use variables in Terraform to dynamically define alert queries based on specific parameters (e.g., different log levels, time windows, etc.).</li><li>For example, you can use Terraform modules to deploy similar alerts across multiple environments (dev, staging, prod):</li></ul><pre>module &quot;out_of_memory_alert_dev&quot; {<br>source = &quot;./modules/query_alert&quot;<br>query = &quot;message:\&quot;Out of Memory\&quot;&quot;<br>severity = &quot;critical&quot;<br>}<br>module &quot;out_of_memory_alert_prod&quot; {<br>source = &quot;./modules/query_alert&quot;<br>query = &quot;message:\&quot;Out of Memory\&quot; AND host:\&quot;prod-server\&quot;&quot;<br>severity = &quot;critical&quot;<br>}</pre><ul><li>This allows you to manage alerts across different environments with minimal effort.</li></ul><h3>7. Cleaning Up</h3><p>To remove delete an alert execute: terraform destroy</p><h3>8. Summary of Key Steps</h3><ul><li>Install Terraform and the vRLIC provider.</li><li>Configure the provider in your main.tf with the vRLIC API endpoint and API key.</li><li>Define query alerts using the vrlic_query_alert resource in Terraform.</li><li>Apply the Terraform configuration with terraform apply.</li><li>Manage and scale alerts as needed.</li></ul><p>Reference for image credits: <a href="https://www.whizlabs.com/blog/what-is-terraform-terraform-tutorial/">https://www.whizlabs.com/blog/what-is-terraform-terraform-tutorial/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=59446de9248c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Where to go for digital detox?Weekend Trips in California — Ukiah]]></title>
            <link>https://medium.com/@Hema_Cloud/where-to-go-for-digital-detox-weekend-trips-in-california-ukiah-4106ccfb8115?source=rss-f7576b8574ac------2</link>
            <guid isPermaLink="false">https://medium.com/p/4106ccfb8115</guid>
            <category><![CDATA[retreats]]></category>
            <category><![CDATA[weekend-getaway]]></category>
            <category><![CDATA[california]]></category>
            <category><![CDATA[digital-detox]]></category>
            <category><![CDATA[yurt]]></category>
            <dc:creator><![CDATA[Hema]]></dc:creator>
            <pubDate>Thu, 23 Mar 2023 00:05:07 GMT</pubDate>
            <atom:updated>2024-11-11T11:16:11.283Z</atom:updated>
            <content:encoded><![CDATA[<h3>Digital detox - A Weekend Trip in California — Ukiah</h3><p>Searching for places on airbnb, I found a place in woods where I could lay down on a comfortable bed watching stars and listening to waterfall</p><p>⚠️ Safe for solo travelers?<br>I don’t think so. There was no single human being I could find on my way at least 8 miles away from the location.<br>⚠️ Which car?<br>I have see only a couple of cars which are trucks other than that 4WD also works but you will have to drive as slow as tortoise and communicate with the host.<br>❌Food?<br>No restaurants nearby so definitely pack food unless you are planning to eat fresh grass<br>❌Cellular Signal? <br>No way<br>✅Wifi<br>Only in few yurt’s <br>✅Hiking<br>✅Trekking</p><p>Location: <a href="https://www.airbnb.com/rooms/634977943521652735?source_impression_id=p3_1679528273_9t691BpUVeqbgX6g">https://www.airbnb.com/rooms/634977943521652735?source_impression_id=p3_1679528273_9t691BpUVeqbgX6g</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/663/1*ySnfIF1zEc4r_hvnN1tQbQ.png" /></figure><p>Wild adventure started when I realized I have to go through a windy mud road on a rainy day. One side was mountains the other side was deep valleys. <strong>Before starting the trip I took pictures of place description and downloaded offline google maps.</strong></p><p>There was no cellular signal until we reached a point where there is a single light hanging apparently it was for parking. From then on in heavy pouring rain I had to do a short hike (that’s what description says but I felt like climbing down two small mountains) to ‘Sister yurt’. Beside that there was a small bridge on a waterfall which lead to two yurts one on each side of the bridge.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/663/1*e-B85PtZ1cYsZthTtH2_Ig.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/663/1*3hRYzzBNpSwUAbcZSUkGAQ.png" /></figure><p>Big yurt has all the amenities, open shower in hot spring water, a self-composting toilet (it has a super view), watching stars on bed, meditation chair and a desk in balcony, refrigerator, stove, sofa, fireplace, wood logs, electricity, and games.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/356/1*vCtHyOlwEaQ-xpFXjR6tjg.png" /></figure><p>Tips:<br>1. Washer and Dyer — never used it so don’t know if it works<br>2. Definitely take a something that will help you light woods easily — They do provide something but we had to struggle <br>3. Communicate with the host its easy to get lost and become a ghost 👻</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4106ccfb8115" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Weekend trips in California — Highway 1]]></title>
            <link>https://medium.com/@Hema_Cloud/weekend-trips-in-california-2b6cfec35037?source=rss-f7576b8574ac------2</link>
            <guid isPermaLink="false">https://medium.com/p/2b6cfec35037</guid>
            <category><![CDATA[weekend]]></category>
            <category><![CDATA[day]]></category>
            <category><![CDATA[trip]]></category>
            <category><![CDATA[california]]></category>
            <category><![CDATA[two]]></category>
            <dc:creator><![CDATA[Hema]]></dc:creator>
            <pubDate>Sat, 18 Mar 2023 08:01:42 GMT</pubDate>
            <atom:updated>2023-03-20T02:43:31.575Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1006/1*Fy_dDqZKcgcixVtBojdqBA.png" /></figure><p>Looking for places in google every Friday and ending up going to the same places on almost all the weekends, does this resonate with you?</p><p>If yes, then I might also guess, you are frustrated and want to take instagram type vacation.</p><p>I am going to do my best to answer the below questions for this trip</p><blockquote>Where to stay?</blockquote><blockquote>Is it safe for solo female travelers?</blockquote><blockquote>What to eat?</blockquote><blockquote>What to pack?</blockquote><blockquote>Any local amusements?</blockquote><blockquote>Historical places?</blockquote><h3>What to pack:</h3><p>Foldable chair — you can find in Wallmart for less than 5$<br>Picnic kit<br>Football to play on beach<br>Light food dinner as you have multiple restaurants on the way.</p><h3>Day 1 Pace 1: Big Sur</h3><p>✅ Crowd: medium</p><p>✅ Instagram worthy pictures</p><p>✅ Safe for solo women as along as it is before sunset</p><p>✅ Restrooms in restaurants</p><p>Starting from San Jose at 11 AM, I packed food and drove my Tesla thruogh 17 miles drive to Bixby Bridge commonly known as Big Sur. Pictures can be taken before passing through the bridge or after croosing the bridge at a distance. It is famous of proposals.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ndgCprjoaSM_0tPWy7y6wA.png" /></figure><p>PC: taka-aki-big-sur-proposal</p><p>This is a mandatory picture and also don’t forget to park you car take your chair and look at the beautiful sun lying on the ocean bed. Still got time? take your football and go to the nearby beach.</p><p>Don’t worry if it is too crowded, there are multiple places similar to this on every walk between big Sur to ragged point.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TN1pkNQ4sN1GbeI9XXdohQ.png" /></figure><p>(If you are alone I would suggest to start as early as possible.)</p><h3>Day 1 Place 2: Ragged point</h3><p>Once enjoyed the breeze, sunlight and fresh air sitting on top of the mountain, it’s time to start again.</p><p>The next stop is at the Ragged point. It has restrooms, souvenirs, bakery, coffeeshop, and a restaurant. This place felt like stepping into a wealthy backyard. Pictures are breathtaking, I was able to meditate while listening to the ocean waves.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*c7LfzD_Mh1EWP6racDPL7w.png" /></figure><p>Don’t forget to try potato fries.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3_Mz1JVRWx6874R_4i_ZQQ.jpeg" /></figure><h3>Day 1 Place 3: Waterfall</h3><p>✅ Crowd: medium</p><p>✅ Instagram worthy pictures</p><p>✅ Safe for solo women as along as it is before sunset and closing time</p><p>✅ Restrooms</p><p>To enter this place, ticket is 10$. It is small waterfall.</p><h3>Day 1 Place 4: San Luis Obispo</h3><p>✅ Crowd: low</p><p>✅ Instagram worthy pictures</p><p>✅ Safe for solo women as along as it is before sunset</p><p>✅ Restrooms may be restaurants not sure as I visited late hours</p><p>On the way to Calander, San Luis Obispo has beautiful downtown especially during Christmas. If you are someone who enjoys laid back country side with music and as away as possible from wallmart and safeway, definetely check it out during special occasions like Christmas.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sqearOka2_6wthTIWs6M_g.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zPl6IrNfQpP970_MuQK9yg.jpeg" /></figure><p>Above picture is taken at “Mission San Luis Obispo de Tolosa 1772”</p><h3>Day 1 Place 4: Calander Night stay</h3><p>I went to Calander only to have crash at night, so did not explore much. <br>RV is beautiful, clean, is well equipped, has dart board outside and small tea tabel in the garden.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4MGCcoIm9B02txtYdwb27g.png" /></figure><h3>Day 2 Place 1: Breakfast at Madonna Inn</h3><p>✅ Crowd: high</p><p>✅ Instagram worthy pictures</p><p>✅ Safe for solo women</p><p>✅ Restrooms</p><p>Left RV and headed back with an empty stomach around 9 AM. While charging Tesla I found a coffee shop right next to it. It turned to be absolutely amazing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QEnCMlsGXxvZq6kfIx7H3g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jRz5sA4mxjJs9ylcL6C_3A.png" /></figure><h3>Day 2: Place 2: Friends Of The Elephant Seal Visitor Center</h3><p>✅ Crowd: high</p><p>✅ Instagram worthy pictures</p><p>✅ Safe for solo women as along as it is before sunset</p><p>✅ Restrooms — couldn’t find any</p><p>You can see the below picture, that’s all you will get to see at this place. I did not find any gift shop</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wPjfRq7lUBb2ek0LlxNzMA.png" /></figure><p>Address: Plaza del Cavalier, 250 San Simeon Ave Suite 5A, San Simeon, CA 93452</p><h3>Day 2: Place 3: Hearst castle</h3><p>✅ Crowd: high</p><p>✅ Instagram worthy pictures</p><p>✅ Safe for solo women as along as it is before sunset</p><p>✅ Restrooms</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*idTz9TxDfx1JrlH8dSyEhQ.jpeg" /></figure><p>Take tickets online before visiting (around 50$ each). It has multiple gifts and worthy of time. History goes back long way and one of the pools in the castle has gold in the tiles. Views are spectacular. Castle is at the very top of the mountains and we will be taken in a bus to reach that place.</p><h3>Day 2: Place 4 Monterey Bay Aquarium</h3><p>✅ Crowd: very high</p><p>✅ Instagram worthy pictures</p><p>✅ Safe for solo female travelers</p><p>✅ Restrooms</p><p>Take tickets online before visiting.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*edFhT9P7OtpHHG0K8Qx48g.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2b6cfec35037" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>