<?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 DevOpsEd on Medium]]></title>
        <description><![CDATA[Stories by DevOpsEd on Medium]]></description>
        <link>https://medium.com/@r.lakhani11?source=rss-6e11ca19d30f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*yvp66rBdkwXP74Jd</url>
            <title>Stories by DevOpsEd on Medium</title>
            <link>https://medium.com/@r.lakhani11?source=rss-6e11ca19d30f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 16:33:08 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@r.lakhani11/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[Simplifying CI/CD: A Quick Guide to GitLab Self-Managed Runners]]></title>
            <link>https://medium.com/@r.lakhani11/simplifying-ci-cd-a-quick-guide-to-gitlab-self-managed-3a1f08ef0fa6?source=rss-6e11ca19d30f------2</link>
            <guid isPermaLink="false">https://medium.com/p/3a1f08ef0fa6</guid>
            <dc:creator><![CDATA[DevOpsEd]]></dc:creator>
            <pubDate>Wed, 17 Jan 2024 10:36:38 GMT</pubDate>
            <atom:updated>2024-01-17T10:41:01.082Z</atom:updated>
            <content:encoded><![CDATA[<p>Elevate Your DevOps Game with Scalable and Secure CI/CD Pipelines</p><p>In the dynamic world of DevOps, GitLab stands out as a comprehensive platform that seamlessly integrates collaboration, version control, and CI/CD. Central to GitLab’s CI/CD prowess are GitLab Runners, and in this guide, we’ll explore the game-changing capabilities of GitLab self-managed runners. Follow along for a step-by-step setup with visuals to supercharge your CI/CD pipelines.</p><p>Before we dive into the setup process, let’s gain a clear understanding of GitLab Runners — lightweight agents that execute CI/CD jobs. While GitLab provides shared runners for public projects, self-managed runners offer unparalleled control and customization for private projects. Some of the benefits of self-managed runners include:</p><p>· <strong>Isolation and Customization:</strong> Tailor environments for consistency and reproducibility.</p><p>· <strong>Scalability:</strong> Scale CI/CD infrastructure easily by adding more self-managed runners.</p><p>· <strong>Security:</strong> Keep control by hosting runners within your infrastructure.</p><p>There are three prerequisites to setting up and running GitLab runners:</p><p>· A GitLab instance (self-managed)</p><p>· A dedicated host machine for the runner</p><p>· GitLab runner binary installed on the host machine</p><p>GitLab runners can be set up and run with three very easy steps:</p><p>Create the runner by going to repository settings &gt; CI/CD (expand Runners):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eSfGsLK-fCktAHcEvXTVew.png" /></figure><p>Assign tag(s) to streamline the runner for specific jobs:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gKkv1InOnfCgYWn6wu3oSQ.png" /></figure><p>Enter the registration URL on the runner machine with sudo permissions and enter ‘gitlab-runner run’ command to see or monitor live status of the jobs assigned to and executed by the runner.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*kPf4Q2ZJPU9lJeZc08WKLQ.png" /></figure><p>That’s it. Additionally, you can tweak runner settings by modifying /etc/gitlab-runner/config.toml file as per your requirement:</p><pre>[[runners]]<br>  name = &quot;My Self-Managed Runner&quot;<br>  url = &quot;https://gitlab.com/&quot;<br>  token = &quot;your_registration_token&quot;<br>  executor = &quot;docker&quot;<br>  [runners.custom_build_dir]<br>  [runners.docker]<br>    tls_verify = false<br>    image = &quot;alpine:latest&quot;<br>    privileged = true</pre><p>Lastly, start and “run” the runner:</p><p>· <strong>sudo gitlab-runner start</strong></p><p>· <strong>sudo gitlab-runner run</strong></p><p>Don’t forget to restart the runner with <strong>sudo gitlab-runner restart</strong> command if you happen to make any changes to config.toml file.</p><p>An integral and relevant part of this process is .gitlab-ci.yaml file. Pipelines get initiated every time this file is created or modified/committed/pushed to the repo. Please keep in mind that the name has to match exactly as mentioned here, so watch out for typos.</p><p>Create the file with the same tag or tags assigned to the runner, so that correct runner(s) are assigned this job/pipeline.</p><pre>stages:<br>- print-something<br><br>user-deletion-prevention-check-job:<br>  stage: print-something<br>  script:<br>    - echo &quot;Printing something.....&quot;<br>  tags:<br>    - test-runner</pre><p>That’s all there is to get you started with GitLab self-managed runners. If you ever want to automate GitLab pipelines on a schedule, you could also use a cronjob provided by GitLab:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*xnt9tJMvqFMjAv1FaFftww.png" /></figure><p>Alright then. I’ll see you in the next one.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3a1f08ef0fa6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Implications of deleting Amazon Route 53 public hosted zone]]></title>
            <link>https://medium.com/@r.lakhani11/implications-of-deleting-amazon-route-53-public-hosted-zone-9f62a94392e5?source=rss-6e11ca19d30f------2</link>
            <guid isPermaLink="false">https://medium.com/p/9f62a94392e5</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[route-53]]></category>
            <category><![CDATA[terraform]]></category>
            <category><![CDATA[dns]]></category>
            <category><![CDATA[hosted-zones]]></category>
            <dc:creator><![CDATA[DevOpsEd]]></dc:creator>
            <pubDate>Tue, 12 Sep 2023 17:45:46 GMT</pubDate>
            <atom:updated>2023-11-06T05:36:19.920Z</atom:updated>
            <content:encoded><![CDATA[<p>“A widely neglected concept.”</p><p>This is my very first post on Medium and I wanted to start with some basics on Domain Name System, of course as a filler so that it looked big and credible 😉. But since internet is overflowing with what DNS is and its functional concepts etc., I’ll just cut to the chase.</p><p>During my early days studying and learning Amazon Web Services (AWS) and Amazon Route 53/DNS, I had difficulty searching for one of the basics of DNS which not many people seemed to have talked about, especially in Route 53’s context or cloud in general. So that’s what we’re going to discuss instead of all the other abundant and boring DNS-related details.</p><p>When you register a new domain on Amazon Route 53, it takes the liberty to go ahead and automatically create a new public hosted zone for you, for the newly-registered domain.</p><p>Now what if you deleted this AWS-created hosted zone to save the $0.50 cost that AWS starts charging you after retaining this public hosted zone for more than 12 hours, and decide to create a new one later on just to find out that all your hard-earned DNS knowledge that you put into creating a perfect DNS environment has gone into vein? Let’s take a step back.</p><p>Previously when Route 53 created a new zone for you, it was also clever enough to carry out the most basic of tasks, that is, copying “name servers” from the hosted zone’s NS record to the name servers on “Registered domains” page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AmenJIznxmMPn2098XUn_A.png" /></figure><p>This concept or practice is not new or exclusive to Route 53 but instead, this must be done every time you create a new public hosted zone with any vendor. In case of a public hosted zone created on Route 53 for a domain registered at a third-party vendor, replace the domain provider’s name servers with the ones from your new hosted zone. It’s that simple.</p><p>Lastly, here’s the Terraform code in case you’re planning to automate this:</p><pre>resource &quot;aws_route53_zone&quot; &quot;public&quot; {<br>  name = var.domain_name<br>}<br><br>resource &quot;aws_route53domains_registered_domain&quot; &quot;domain&quot; {<br>  domain_name = var.domain_name<br>  dynamic &quot;name_server&quot; {<br>    for_each = aws_route53_zone.public.name_servers<br>    content {<br>      name = name_server.value<br>    }<br>  }<br>  depends_on = [<br>    aws_route53_zone.public<br>  ]<br>}</pre><p>In the end, I hope this small and simple tutorial helps people who are either new to AWS or networking in general. I apologize for not doing enough justice with my very first article by making it more colorful and flashier, but I only required two images to explain the concept, really.</p><p>Thanks for reading till the end. I’ll see you in the next one.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9f62a94392e5" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>