<?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 Ermia Qasemi on Medium]]></title>
        <description><![CDATA[Stories by Ermia Qasemi on Medium]]></description>
        <link>https://medium.com/@qasemi.ermia?source=rss-a016a176593c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*pkNBbQr3xCJqLxpUhouZEQ.jpeg</url>
            <title>Stories by Ermia Qasemi on Medium</title>
            <link>https://medium.com/@qasemi.ermia?source=rss-a016a176593c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 17:37:18 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@qasemi.ermia/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[MLOps: From Model to Production with Confidence]]></title>
            <link>https://medium.com/@qasemi.ermia/mlops-from-model-to-production-with-confidence-8253551d477e?source=rss-a016a176593c------2</link>
            <guid isPermaLink="false">https://medium.com/p/8253551d477e</guid>
            <category><![CDATA[devops-and-mlops]]></category>
            <category><![CDATA[mlops]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[sre]]></category>
            <dc:creator><![CDATA[Ermia Qasemi]]></dc:creator>
            <pubDate>Fri, 18 Jul 2025 03:06:38 GMT</pubDate>
            <atom:updated>2025-07-18T03:06:38.140Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*U7oQRGIXAZr1aApP" /><figcaption>Photo by <a href="https://unsplash.com/@snezhokman?utm_source=medium&amp;utm_medium=referral">Aleksei Malenchik</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>As machine learning (ML) models continue to shape the future of business, healthcare, finance, and more, one hard truth remains: a high-performing model in a notebook means little without a pathway to production.</p><p>That’s where <strong>MLOps</strong> comes in — the discipline that ensures machine learning systems are scalable, reliable, and maintainable in real-world environments.</p><h3>What Is MLOps?</h3><p><strong>MLOps (Machine Learning Operations)</strong> is a set of engineering practices that combine <strong>ML</strong>, <strong>DevOps</strong>, and <strong>data engineering</strong> to manage the full ML lifecycle — from training to production deployment and continuous monitoring.</p><p>Just like DevOps revolutionized software delivery, MLOps does the same for machine learning. It enables teams to:</p><ul><li>Reproducibly train and version models</li><li>Automate testing and deployment</li><li>Monitor models in production for drift and performance degradation</li><li>Ensure compliance and governance of data and models</li></ul><h3>Why MLOps Matters</h3><p>Many organizations fail to operationalize ML due to fragile handoffs, manual pipelines, and a lack of observability. MLOps addresses these issues by:</p><ul><li><strong>Reducing deployment time</strong> from weeks to hours</li><li><strong>Improving model reliability</strong> through automated testing</li><li><strong>Enabling faster iteration</strong> with continuous training and deployment</li><li><strong>Ensuring trust and accountability</strong> in ML systems</li></ul><p>In short, MLOps turns experimental code into real-world impact.</p><h3>Core Components of an MLOps Pipeline</h3><ol><li><strong>Data Versioning</strong><br> Track data changes across time for reproducibility and audits.<br> Tools: DVC, Delta Lake</li><li><strong>Experiment Tracking</strong><br> Log model runs, parameters, and metrics in a central system.<br> Tools: MLflow, Weights &amp; Biases</li><li><strong>Automated Training &amp; CI/CD</strong><br> Use orchestration and CI tools to retrain and test models at scale.<br> Tools: Airflow, Kubeflow, GitLab CI</li><li><strong>Model Serving</strong><br> Deploy models as APIs or batch services for inference.<br> Tools: Seldon Core, KServe, BentoML</li><li><strong>Monitoring &amp; Alerting</strong><br> Detect data drift, model decay, or operational failures.<br> Tools: Evidently AI, Prometheus, Grafana</li><li><strong>Governance &amp; Compliance</strong><br> Ensure all models meet regulatory and ethical standards, with full lineage tracking.</li></ol><h3>Common Challenges</h3><ul><li><strong>Reproducibility</strong>: Can we recreate a model’s exact conditions six months later?</li><li><strong>Scalability</strong>: Can the pipeline support hundreds of models across business units?</li><li><strong>Collaboration</strong>: Do data science and infrastructure teams speak the same language?</li><li><strong>Monitoring</strong>: Is someone alerted if the model quietly stops performing?</li></ul><p>Without MLOps, these challenges quickly become bottlenecks.</p><h3>A Strategic Skill for a Growing Field</h3><p>MLOps is not just for ML engineers. It’s a critical competency for:</p><ul><li>Data Scientists transitioning to production environments</li><li>DevOps and SRE professionals supporting ML workloads</li><li>Platform Engineers building ML infrastructure</li><li>Tech leaders scaling AI in regulated or customer-facing domains</li></ul><p>For women and trans professionals breaking into AI and infrastructure, MLOps offers a powerful path into technical leadership. It blends systems thinking, experimentation, and automation — and it’s in demand across every major industry.</p><h3>Final Thoughts</h3><p>Machine learning success doesn’t end at model accuracy — it begins with deployment, reliability, and trust. MLOps brings structure and discipline to that journey.</p><p>If you’re building your career at the intersection of ML and systems, now is the time to invest in MLOps skills. It’s where the future of AI becomes operational reality.</p><p>Lets keep in <a href="https://www.instagram.com/ermiaqasemi/">touch</a>!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8253551d477e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Modern Integration Testing with Testcontainers]]></title>
            <link>https://medium.com/@qasemi.ermia/modern-integration-testing-with-testcontainers-c4f4cf3dd3a3?source=rss-a016a176593c------2</link>
            <guid isPermaLink="false">https://medium.com/p/c4f4cf3dd3a3</guid>
            <category><![CDATA[integration-testing]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[testcontainer]]></category>
            <category><![CDATA[software-testing]]></category>
            <dc:creator><![CDATA[Ermia Qasemi]]></dc:creator>
            <pubDate>Wed, 04 Jun 2025 02:18:45 GMT</pubDate>
            <atom:updated>2025-06-04T02:18:45.922Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*F0-jBD1w-_qynaQv" /><figcaption>Photo by <a href="https://unsplash.com/@christinhumephoto?utm_source=medium&amp;utm_medium=referral">Christin Hume</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>In software development, integration testing is where things often get messy. Mocked services fall short, in-memory databases don’t reflect reality, and flaky test environments slow everything down. That’s where <strong>Testcontainers</strong> comes in — a simple, powerful tool that helps you test against real services using lightweight, disposable Docker containers.</p><h3>What is Testcontainers?</h3><p><a href="https://testcontainers.com/">Testcontainers</a> is an open-source library designed to support integration testing with real infrastructure components. It allows you to launch Docker containers for databases, message queues, and other services directly from your test code. Originally created for Java, it now supports Python, Node.js, Go, and .NET as well.</p><h3>Why It Matters</h3><p>Testcontainers provides a practical way to write integration tests that closely mirror production behavior:</p><ul><li><strong>Real services</strong>: Run actual PostgreSQL, Redis, Kafka, etc., instead of relying on mocks.</li><li><strong>Clean environments</strong>: Each test starts with a fresh container — no cross-test interference.</li><li><strong>Repeatability</strong>: Same results locally and in CI pipelines.</li><li><strong>Automatic cleanup</strong>: Containers shut down with the test. No need to manage state manually.</li></ul><h3>Example: PostgreSQL in Java</h3><pre>@Container<br>public PostgreSQLContainer&lt;?&gt; postgres = new PostgreSQLContainer&lt;&gt;(&quot;postgres:15&quot;)<br>  .withDatabaseName(&quot;testdb&quot;)<br>  .withUsername(&quot;testuser&quot;)<br>  .withPassword(&quot;secret&quot;);<br><br>@Test<br>void testConnection() {<br>  DataSource ds = getDataSource(postgres.getJdbcUrl(), postgres.getUsername(), postgres.getPassword());<br>  // Perform assertions against the real DB<br>}</pre><p>This setup takes seconds and ensures your test runs against a real PostgreSQL instance.</p><h3>When to Use Testcontainers</h3><ul><li>Integration testing microservices</li><li>CI environments that need isolated services</li><li>Validating database migrations or external API integrations</li><li>Replacing unreliable or slow mocks</li></ul><h3>Supported Languages</h3><p>While Testcontainers started in the Java ecosystem, it now has stable support for:</p><ul><li>Node.js</li><li>Python</li><li>Go</li><li>.NET</li></ul><h3>Final Thoughts</h3><p>Testcontainers brings clarity and confidence to integration testing. By working with real services in isolated environments, you avoid the guesswork and edge cases that often surface late in development. If you’re aiming to improve your test coverage and reliability, it’s worth adding to your workflow.</p><p>Happy reading and let’s <a href="https://www.instagram.com/ermiaqasemi?utm_source=ig_web_button_share_sheet&amp;igsh=ZDNlZDc0MzIxNw==">connect</a>!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c4f4cf3dd3a3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Controlling Access to AWS Resources Using Tags]]></title>
            <link>https://medium.com/@qasemi.ermia/controlling-access-to-aws-resources-using-tags-40814a52e6f1?source=rss-a016a176593c------2</link>
            <guid isPermaLink="false">https://medium.com/p/40814a52e6f1</guid>
            <category><![CDATA[tag-based-permissions]]></category>
            <category><![CDATA[aws-resource-tagging]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[security-best-practices]]></category>
            <dc:creator><![CDATA[Ermia Qasemi]]></dc:creator>
            <pubDate>Sun, 29 Dec 2024 23:52:14 GMT</pubDate>
            <atom:updated>2024-12-29T23:52:14.527Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*C-Q4JbIEob9XTlFE" /><figcaption>Photo by <a href="https://unsplash.com/@teapowered?utm_source=medium&amp;utm_medium=referral">Patrick Robert Doyle</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Access control in AWS is a critical component of ensuring that resources are used and managed securely. By leveraging <strong>tags</strong>, AWS provides a flexible and powerful way to control access to its resources. This article explores how you can use tags to define permissions, enforce policies, and streamline resource management.</p><h3>What Are Tags in AWS?</h3><p>Tags are key-value pairs that you can assign to AWS resources. They enable you to organize, identify, and control access to resources. For example, an EC2 instance could have a tag like Environment=Production or Owner=JohnDoe. Tags can be applied to numerous AWS resources, including IAM entities, enabling tag-based access control.</p><h3>Tagging IAM Resources</h3><p>Tags can be applied to IAM users and roles to control what they can access. By tagging these entities and utilizing tag-based conditions in IAM policies, you can define precise permissions. IAM resources that support tagging include:</p><ul><li>Customer-managed policies</li><li>Identity providers</li><li>Instance profiles</li><li>Server certificates</li><li>Virtual MFA devices</li></ul><p>For a step-by-step guide, refer to the <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/tagging.html">AWS documentation on IAM tagging</a>.</p><h3>How AWS Access Control Works</h3><p>Before using tags to control access, it’s important to understand AWS’s access control process. AWS evaluates access requests using the following steps:</p><ol><li><strong>Authentication</strong>: Ensures the principal (user or role) is signed in.</li><li><strong>Authorization</strong>: Checks all applicable policies (e.g., resource-based or identity-based policies) to determine if the requested action is allowed.</li></ol><p>Policies are JSON documents that define permissions. Tags play a role in the <strong>condition</strong> element of these policies, allowing you to enforce fine-grained access control.</p><h3>Using Tags in Policies</h3><p>Tags can be utilized in IAM policies through condition keys:</p><ol><li><strong>Resource Tags</strong>: Use aws:ResourceTag/key-name to control access based on resource tags.</li><li><strong>Request Tags</strong>: Use aws:RequestTag/key-name to control the tags included in a request.</li><li><strong>Tag Keys</strong>: Use aws:TagKeys to specify permissible tag keys in a request.</li></ol><h4>Example 1: Restricting Access by Resource Tags</h4><p>The following policy allows starting or stopping EC2 instances only if the Owner tag matches the user’s name:</p><pre>{<br>    &quot;Version&quot;: &quot;2012-10-17&quot;,<br>    &quot;Statement&quot;: [<br>        {<br>            &quot;Effect&quot;: &quot;Allow&quot;,<br>            &quot;Action&quot;: [&quot;ec2:StartInstances&quot;, &quot;ec2:StopInstances&quot;],<br>            &quot;Resource&quot;: &quot;arn:aws:ec2:*:*:instance/*&quot;,<br>            &quot;Condition&quot;: {<br>                &quot;StringEquals&quot;: {&quot;aws:ResourceTag/Owner&quot;: &quot;${aws:username}&quot;}<br>            }<br>        },<br>        {<br>            &quot;Effect&quot;: &quot;Allow&quot;,<br>            &quot;Action&quot;: &quot;ec2:DescribeInstances&quot;,<br>            &quot;Resource&quot;: &quot;*&quot;<br>        }<br>    ]<br>}</pre><p>This ensures that users can only manage instances they own.</p><h4>Example 2: Using Principal Tags</h4><p>This policy allows deleting SQS queues, but only if the queue name includes the user’s team name:</p><pre>{<br>    &quot;Version&quot;: &quot;2012-10-17&quot;,<br>    &quot;Statement&quot;: {<br>        &quot;Effect&quot;: &quot;Allow&quot;,<br>        &quot;Action&quot;: &quot;sqs:DeleteQueue&quot;,<br>        &quot;Resource&quot;: &quot;arn:aws:sqs:us-east-2::${aws:PrincipalTag/team}-queue&quot;<br>    }<br>}</pre><h3>Controlling Tags in Requests</h3><p>IAM policies can also control what tags can be included in requests. For example, this policy restricts tags to environment=preprod or environment=production when creating EC2 tags:</p><pre>{<br>    &quot;Version&quot;: &quot;2012-10-17&quot;,<br>    &quot;Statement&quot;: {<br>        &quot;Effect&quot;: &quot;Allow&quot;,<br>        &quot;Action&quot;: &quot;ec2:CreateTags&quot;,<br>        &quot;Resource&quot;: &quot;arn:aws:ec2:*:*:instance/*&quot;,<br>        &quot;Condition&quot;: {<br>            &quot;StringEquals&quot;: {<br>                &quot;aws:RequestTag/environment&quot;: [&quot;preprod&quot;, &quot;production&quot;]<br>            },<br>            &quot;ForAllValues:StringEquals&quot;: {&quot;aws:TagKeys&quot;: &quot;environment&quot;}<br>        }<br>    }<br>}</pre><h3>Best Practices</h3><ol><li><strong>Use Tag Keys</strong>: Prevent duplicate tags with varying cases (e.g., Environment vs. environment) by defining permissible keys using aws:TagKeys.</li><li><strong>Enforce Tagging Policies</strong>: Utilize <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html">AWS Organizations Tag Policies</a> to standardize tagging.</li><li><strong>Avoid Role Passing with Resource Tags</strong>: Do not rely on iam:PassRole with resource tags for role control as it can lead to unreliable results.</li></ol><h3>Conclusion</h3><p>Tags provide a versatile and efficient way to control access to AWS resources. By incorporating tags into IAM policies, you can enhance security, simplify management, and align access control with organizational structures. For more detailed tutorials and examples, refer to the <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html">AWS documentation on tag-based access control</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=40814a52e6f1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From Jenkins to GitLab Runners: A Smarter Choice for Modern CI/CD]]></title>
            <link>https://medium.com/@qasemi.ermia/from-jenkins-to-gitlab-runners-a-smarter-choice-for-modern-ci-cd-0799e5b4c176?source=rss-a016a176593c------2</link>
            <guid isPermaLink="false">https://medium.com/p/0799e5b4c176</guid>
            <category><![CDATA[sre]]></category>
            <category><![CDATA[gitlab]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[gitlab-runner]]></category>
            <dc:creator><![CDATA[Ermia Qasemi]]></dc:creator>
            <pubDate>Fri, 09 Aug 2024 14:47:03 GMT</pubDate>
            <atom:updated>2024-08-09T14:47:03.227Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*XkHBzD2Mw9q9QU3J" /><figcaption>Photo by <a href="https://unsplash.com/@ciabattespugnose?utm_source=medium&amp;utm_medium=referral">Lucrezia Carnelos</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>GitLab is increasingly incorporating AI-powered features that can significantly enhance the efficiency of DevOps teams. These AI capabilities help automate repetitive tasks, provide intelligent code suggestions, and even predict potential pipeline failures before they happen. By leveraging GitLab’s AI tools, developers can focus more on creative problem-solving and less on mundane tasks, leading to faster development cycles and higher-quality code. Jenkins, while powerful, does not offer the same level of AI integration, making GitLab Runners a forward-looking choice for teams aiming to stay competitive in an AI-driven world.</p><p>Switching from Jenkins to GitLab Runners is a significant decision that many teams are considering in today’s rapidly evolving software development landscape. Here’s why making this move could benefit your team:</p><h3>1. Seamless Integration with GitLab</h3><p>GitLab Runners offer a tight integration with the GitLab ecosystem. If your team is already using GitLab for source control, issues tracking, and CI/CD, the transition to GitLab Runners can streamline your processes. Jenkins, while powerful, often requires multiple plugins and additional configuration to achieve the same level of integration that comes out of the box with GitLab Runners.</p><h3>2. Simplified Maintenance and Updates</h3><p>One of the challenges with Jenkins is the constant need to update and maintain plugins. Jenkins’ flexibility comes with a trade-off: managing dependencies can be time-consuming and prone to errors. GitLab Runners, on the other hand, are automatically updated with GitLab’s regular releases, reducing the overhead of manual maintenance and ensuring that your CI/CD pipelines are always up to date.</p><h3>3. Improved Security Features</h3><p>Security is paramount in software development. GitLab Runners inherit the robust security features of GitLab, such as advanced role-based access control, integrated security testing, and automated updates. Jenkins can also be secured, but it often requires additional plugins and careful configuration to match GitLab’s built-in capabilities.</p><h3>4. Scalability and Flexibility</h3><p>GitLab Runners are highly scalable, allowing you to easily add or remove runners as needed. Whether you’re working on a small project or managing an enterprise-scale operation, GitLab Runners can be customized to meet your workload requirements. Jenkins also supports scaling, but the process can be more complex and less seamless compared to GitLab.</p><h3>5. Cost Efficiency</h3><p>By consolidating your CI/CD tools within the GitLab ecosystem, you can reduce the costs associated with maintaining separate systems for version control, CI/CD, and deployment. GitLab offers competitive pricing, and the integration of GitLab Runners can eliminate the need for additional Jenkins servers and the associated maintenance costs.</p><h3>6. Enhanced Developer Experience</h3><p>Developers prefer tools that are intuitive and easy to use. GitLab’s user-friendly interface and streamlined workflows reduce the learning curve and improve overall productivity. Jenkins, while feature-rich, can sometimes overwhelm users with its extensive configuration options. Moving to GitLab Runners can make the CI/CD process more accessible and enjoyable for your team.</p><h3>7. Unified Platform for DevOps</h3><p>GitLab positions itself as a complete DevOps platform, encompassing everything from planning and source code management to CI/CD and monitoring. By using GitLab Runners, you’re embracing a unified approach that simplifies the development lifecycle. Jenkins, although versatile, is primarily focused on CI/CD and often requires integration with other tools to achieve full DevOps functionality.</p><h3>8. Community and Support</h3><p>GitLab has an active and growing community, offering a wealth of resources, from documentation to forums and third-party integrations. While Jenkins also has a large community, GitLab’s rapid development pace and comprehensive support options make it an attractive choice for teams looking to stay ahead of the curve.</p><h3>Conclusion</h3><p>While Jenkins has been a staple in CI/CD for many years, the benefits of moving to GitLab Runners are clear, especially for teams already invested in the GitLab ecosystem. The seamless integration, reduced maintenance overhead, and enhanced security features make GitLab Runners a compelling choice for modern DevOps teams. If you’re looking to simplify your CI/CD processes and leverage a unified platform, making the switch to GitLab Runners could be the next step in your DevOps journey.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0799e5b4c176" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Terraform v1.9.0: What’s New and Exciting]]></title>
            <link>https://medium.com/@qasemi.ermia/terraform-v1-9-0-whats-new-and-exciting-d607dd6557d5?source=rss-a016a176593c------2</link>
            <guid isPermaLink="false">https://medium.com/p/d607dd6557d5</guid>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[terraform]]></category>
            <category><![CDATA[terraformupdate]]></category>
            <category><![CDATA[iac]]></category>
            <dc:creator><![CDATA[Ermia Qasemi]]></dc:creator>
            <pubDate>Wed, 17 Jul 2024 19:01:27 GMT</pubDate>
            <atom:updated>2024-07-17T19:03:34.626Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*FnXOqXBJhHJzDUmP" /><figcaption>Photo by <a href="https://unsplash.com/@nublson?utm_source=medium&amp;utm_medium=referral">Nubelson Fernandes</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Hey Terraform community! Terraform v1.9.0 has dropped, and it’s packed with some really cool new features, enhancements, and bug fixes. Whether you’re a seasoned Terraform user or just getting started, there’s a lot to be excited about. Let’s take a look at what’s new in this release and how it can make your life easier.</p><h3>New Features</h3><h3>Smarter Input Variable Validation</h3><p>One of the standout features in Terraform v1.9.0 is the ability for input variable validation rules to refer to other objects. Previously, you could only validate the variable itself, which was kind of limiting. Now, these validation rules can use expressions that reference other input variables and data resources in your module. This means you can create more complex and meaningful validation rules that make sure your configurations are just right.</p><h3>The New templatestring Function</h3><p>Terraform now includes a new function called templatestring. If you’ve used templatefile before, you’ll find this similar, but it’s designed to render templates dynamically, like those coming from a data resource. This makes it much easier to work with templates that aren’t static files, adding more flexibility to your configurations.</p><h3>Enhancements</h3><h3>Better terraform plan Output</h3><p>When you run terraform plan in HCP (HashiCorp Cloud Platform) Terraform remote runs, the output now shows OPA (Open Policy Agent) and Sentinel policy evaluations more clearly. This makes it easier to see what’s going on with your policies and understand their impacts.</p><h3>JSON Output for terraform init</h3><p>The terraform init command can now produce JSON output using the -json option. This is super handy for automation and scripting because you can parse the output easily and integrate it into your workflows.</p><h3>Handling Sensitive Values in Tests</h3><p>Test runs using terraform test can now handle sensitive values better. Previously, sensitivity was only preserved for variables explicitly marked as sensitive. Now, dynamically sensitive values are also preserved, which is great for maintaining security in your test environments.</p><h3>Performance Boosts and More</h3><ul><li><strong>Graph Building Speed</strong>: Performance has been improved for configurations with a lot of resource blocks, so things should run smoother and faster.</li><li><strong>Refactoring Moved Blocks</strong>: You can now refactor moved blocks from the hashicorp/null provider’s null_resource type to the terraform_data resource type.</li><li><strong>Multi-line Input in </strong><strong>terraform console</strong>: The console now supports basic multi-line input in interactive mode, which is handy for pasting in longer expressions.</li></ul><h3>Bug Fixes</h3><p>A bunch of bugs have been squashed in this release to make Terraform more stable:</p><ul><li><strong>Remote Connections</strong>: The remote-exec provisioner now closes each connection immediately after use, improving resource management.</li><li><strong>State Checksum Mismatches</strong>: Fixed an issue where the digest value displayed for DynamoDB/S3 state mismatches was incorrect.</li><li><strong>Provider Registry Addresses</strong>: Corrected registry addresses for non-HashiCorp providers in testing modules.</li><li><strong>Template Rendering Sensitivity</strong>: The templatefile function now handles sensitive template file paths better, marking the result as sensitive instead of crashing.</li><li><strong>Import Block Errors</strong>: Import blocks referencing non-existent modules now raise errors instead of being ignored.</li></ul><h3>Upgrade Notes</h3><p>When upgrading to Terraform v1.9.0, here are a couple of important changes to keep in mind:</p><ul><li><strong>Provider Version Constraints</strong>: Version constraints for providers should now be specified in the main configuration instead of .tftest.hcl files.</li><li><strong>Invalid Import Blocks</strong>: Import blocks pointing to non-existent modules need to be fixed or removed, as they’re no longer ignored.</li></ul><h3>Final Thoughts</h3><p>Terraform v1.9.0 brings a lot of exciting changes and improvements that make managing your infrastructure even better. The new input variable validation rules and templatestring function are game-changers, offering more flexibility and power in your configurations. And with all the enhancements and bug fixes, Terraform is smoother and more reliable than ever.</p><p>If you’re upgrading from an earlier minor release, make sure to check out the Terraform v1.9 Upgrade Guide for detailed instructions. Happy terraforming and connect with me on <a href="https://www.linkedin.com/in/ermia-qasemi/"><strong>Linkedin</strong></a>!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d607dd6557d5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Impact of AI-Generated Content on Search Quality: A Case Study on Pulumi AI]]></title>
            <link>https://medium.com/@qasemi.ermia/the-impact-of-ai-generated-content-on-search-quality-a-case-study-on-pulumi-ai-619370537f1f?source=rss-a016a176593c------2</link>
            <guid isPermaLink="false">https://medium.com/p/619370537f1f</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[impact-of-ai]]></category>
            <category><![CDATA[search-engines]]></category>
            <category><![CDATA[pulumi]]></category>
            <dc:creator><![CDATA[Ermia Qasemi]]></dc:creator>
            <pubDate>Sun, 02 Jun 2024 23:52:45 GMT</pubDate>
            <atom:updated>2024-06-02T23:52:45.350Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*AXE297MxVe4Lc1Z0" /><figcaption>Photo by <a href="https://unsplash.com/@steve_j?utm_source=medium&amp;utm_medium=referral">Steve Johnson</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>In recent months, the tech community has raised alarms about the rising prevalence of AI-generated content in search engine results. A notable example is Pulumi AI, a developer tool that uses an AI chatbot to generate infrastructure-as-code samples. This tool has inadvertently contributed to a decline in search quality, as inaccurate AI-generated content has started appearing prominently in search results. This blog delves into the implications of this issue and explores potential solutions.</p><h3>The Rise of AI-Generated Content</h3><p>Pulumi AI’s decision to publish user-generated prompts on its AI Answers page has led to unintended consequences. Google’s search crawler indexed these responses, resulting in many inaccurate or incomplete AI-generated answers ranking highly in search results. This phenomenon was highlighted by developer Arian van Putten, who noted that an erroneous Pulumi AI-generated answer about a nonexistent AWS feature had topped Google’s search results.</p><h3>Declining Search Quality</h3><p>The issue with Pulumi AI is part of a broader trend of declining search quality. As AI-generated content becomes more prevalent, search engines struggle to filter out low-quality material. Developer Pete Nykänen observed that Pulumi AI answers were consistently ranking high on Google, even for queries unrelated to Pulumi. This not only misleads users but also undermines the reliability of search engines as a source of accurate information.</p><h3>Developer Concerns and Responses</h3><p>Nykänen’s concerns echo a sentiment shared by many in the tech community. He pointed out that inaccurate documentation is already a significant problem, and the addition of unverified AI-generated content exacerbates the issue. Pulumi AI’s responses, while helpful to some extent, are often misleading and can lead to further confusion.</p><p>Aaron Friel, an AI engineer at Pulumi, acknowledged these concerns and indicated that Pulumi has taken steps to mitigate the problem. He stated that Pulumi had removed over half of its AI Answers and planned to ensure future AI-generated content was complementary to existing documentation. However, despite these efforts, Google continues to index and rank Pulumi AI’s content highly.</p><h3>Search Engine Policies and Responses</h3><p>When questioned about this issue, a Google spokesperson emphasized the company’s commitment to surfacing high-quality information. Google aims to reduce the prevalence of low-quality, AI-generated content through recent updates. However, the effectiveness of these measures is debatable, as Pulumi AI responses still appear prominently in search results.</p><p>Other search engines like Bing and Brave have shown better performance in filtering out AI-generated content, suggesting that Google’s approach may need further refinement.</p><h3>The Future of AI-Generated Content</h3><p>Despite the current challenges, Pulumi’s leadership remains optimistic about the future of AI-generated content. Joe Duffy, Pulumi’s co-founder and CEO, defended the value of Pulumi AI, noting significant improvements in code quality and user satisfaction. Duffy acknowledged the imperfections but stressed the importance of continued innovation and improvement.</p><p>Pulumi has already removed 100,000 AI answers and plans to delist more if necessary. The company is committed to improving the quality of its AI-generated content and ensuring it serves as a useful resource for users.</p><h3>Conclusion</h3><p>The case of Pulumi AI underscores the complexities and challenges of integrating AI-generated content into search engines. While AI has the potential to enhance productivity and provide valuable insights, it also poses risks to the accuracy and reliability of information. As search engines and AI developers work to address these issues, it is crucial to balance innovation with the need for accurate, trustworthy content.</p><p>Moving forward, it will be essential for AI developers and search engines to collaborate closely, ensuring that AI-generated content is properly vetted and integrated into the broader ecosystem of online information. Only then can we harness the full potential of AI while maintaining the integrity of our digital knowledge base.</p><p>Happy coding and connect with me on <a href="https://www.linkedin.com/in/ermia-qasemi/"><strong>Linkedin</strong></a>!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=619370537f1f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding Checkov: An All-Inclusive Manual for Boosting Security]]></title>
            <link>https://medium.com/@qasemi.ermia/understanding-checkov-an-all-inclusive-manual-for-boosting-security-6f0e01032973?source=rss-a016a176593c------2</link>
            <guid isPermaLink="false">https://medium.com/p/6f0e01032973</guid>
            <category><![CDATA[security-services]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[devsecops]]></category>
            <category><![CDATA[iac]]></category>
            <category><![CDATA[cloud-security]]></category>
            <dc:creator><![CDATA[Ermia Qasemi]]></dc:creator>
            <pubDate>Mon, 15 Apr 2024 02:08:26 GMT</pubDate>
            <atom:updated>2024-04-15T02:08:26.980Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*LqTNxB_M2fO8ud62" /><figcaption>Photo by <a href="https://unsplash.com/@tma?utm_source=medium&amp;utm_medium=referral">Tianyi Ma</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Maintaining the security of your infrastructure is crucial in the modern digital environment. Here comes Checkov, a useful tool to protect your systems from potential threats. The purpose of this paper is to demystify Checkov by illuminating its workings and useful applications for enhancing security.</p><h3>Understanding Checkov</h3><p>Bridgecrew has developed an open-source tool for static code analysis called Checkov. With an emphasis on well-known infrastructure as code (IaC) frameworks like Terraform, AWS CloudFormation, Kubernetes, and others, it specializes in checking IaC for security flaws and misconfiguration.</p><h3>How Does Checkov Work?</h3><p>Checkov works by analyzing your infrastructure codebase and comparing it against a set of predefined best practices, compliance standards, and security benchmarks. It employs a rule-based engine to identify potential risks and deviations from security standards.</p><h3>Key Features of Checkov</h3><ol><li><strong>Rule Library: </strong>Checkov offers an extensive rule library covering various cloud services, ensuring comprehensive coverage for infrastructure configurations.</li><li><strong>Custom Rules:</strong> Users can define custom rules tailored to their organization’s specific security requirements, adding an extra layer of flexibility.</li><li><strong>Integration: </strong>Checkov seamlessly integrates into CI/CD pipelines and IDEs, enabling developers to incorporate security checks into their workflow effortlessly.</li><li><strong>Multi-Cloud Support: </strong>With support for multiple cloud providers, Checkov ensures consistency in security practices across different infrastructure environments.</li><li><strong>Policy as Code:</strong> Checkov aligns with the concept of policy as code, allowing teams to codify and enforce security policies alongside infrastructure definitions.</li></ol><h3>Using Checkov for Enhanced Security</h3><ol><li><strong>Continuous Integration: </strong>Integrate Checkov into your CI/CD pipelines to automatically scan infrastructure changes for security issues, ensuring vulnerabilities are identified early in the development process.</li><li><strong>Pre-Deployment Checks:</strong> Run Checkov scans before deploying infrastructure changes to validate configurations against security best practices, minimizing the risk of deploying insecure infrastructure.</li><li><strong>IDE Integration:</strong> Utilize IDE plugins to perform real-time security checks as you write infrastructure code, empowering developers to address security issues during the development phase.</li><li><strong>Custom Rules: </strong>Define custom rules to enforce specific security standards unique to your organization, ensuring compliance with internal policies and regulatory requirements.</li></ol><h3>Conclusion</h3><p>In world where cybersecurity threats are rampant, Checkov emerges as a valuable ally in safeguarding your infrastructure. By seamlessly integrating security into the development lifecycle and offering comprehensive coverage across multiple cloud platforms, Checkov paves the way for a more secure digital future. Embrace Checkov today, and take proactive steps towards enhancing the security of your systems.</p><p>Happy coding and connect with me on <a href="https://www.linkedin.com/in/ermia-qasemi/"><strong>Linkedin</strong></a>!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6f0e01032973" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Boosting DevOps: Using AI and Snyk.io to Secure Code]]></title>
            <link>https://medium.com/@qasemi.ermia/boosting-devops-using-ai-and-snyk-io-to-secure-code-f192248c94a3?source=rss-a016a176593c------2</link>
            <guid isPermaLink="false">https://medium.com/p/f192248c94a3</guid>
            <category><![CDATA[snyk]]></category>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[secuirty]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Ermia Qasemi]]></dc:creator>
            <pubDate>Wed, 28 Feb 2024 19:25:53 GMT</pubDate>
            <atom:updated>2024-02-28T19:25:53.218Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*A_d4qrcX5d_HYelC" /><figcaption>Photo by <a href="https://unsplash.com/@wocintechchat?utm_source=medium&amp;utm_medium=referral">Christina @ wocintechchat.com</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>DevOps engineers are essential to ensure that development and operations are seamlessly integrated in the ever-changing world of software development. Code security prior to deployment is a crucial component of their duties. DevOps teams are using artificial intelligence (AI) solutions to strengthen their security measures due to the complexity of applications that are becoming more and more complicated, as well as the rise in cyber threats. In this post, we’ll examine how artificial intelligence (AI) may help DevOps engineers secure code and present Snyk.io as an effective resource in this field.</p><h3>DevOps Changing Contribution to Code Security</h3><p>Strong security measures become essential as companies use DevOps techniques to speed up their software development life cycles. To provide a safe deployment procedure, DevOps engineers are responsible for locating and fixing vulnerabilities in the codebase. Conventional approaches frequently can’t keep up with the rate of growth, which could result in security flaws.</p><h3>How AI Improves Code Security</h3><p>By utilizing cutting-edge algorithms and machine learning capabilities, artificial intelligence takes a revolutionary approach to code security. Large volumes of code may be swiftly and precisely analyzed by AI, which can then be used to find possible security flaws, compliance problems, and vulnerabilities. AI helps DevOps teams to proactively resolve security issues without slowing down the development process by automating the code review process.</p><h3>Snyk.io: An AI-Powered Code Security Pioneer</h3><p>As a pioneer in AI-powered code security, <a href="https://snyk.io/">Snyk.io</a> stands out among the cutting-edge tools offered to DevOps engineers. With its seamless integration into the DevOps workflow, <a href="https://snyk.io/">Snyk.io</a> offers actionable advice and real-time insights to improve code security. Key characteristics that set Snyk.io apart as a useful tool for DevOps teams are as follows:</p><ol><li><strong>Vulnerability Detection:</strong> Detailed information about the issues detected is provided by Snyk.io, which searches the codebase for known vulnerabilities. Early vulnerability detection allows DevOps teams to fix issues before deployment, which lowers the chance of security breaches.</li><li><strong>Container Security:</strong> Protecting container images is essential given the growth of containerized applications. DevOps developers may ensure a secure containerized environment by using Snyk.io’s container security tools to find vulnerabilities in Docker images and Kubernetes configurations.</li><li><strong>Open Source Library Scanning:</strong> A lot of programs use open-source libraries, which present security hazards if improperly handled. DevOps teams can maintain their dependencies safe and up to date by using Snyk.io to scan open-source dependencies for vulnerabilities.</li><li><strong>Constant Monitoring:</strong> DevOps teams can be immediately informed of new security threats and vulnerabilities by using the continuous monitoring features offered by Synyk.io. This proactive strategy guarantees code security even in the face of emerging dangers.</li></ol><h3>Conclusion</h3><p>To strengthen their code security procedures, DevOps engineers need to adopt cutting-edge technologies as the software development industry changes. AI is becoming a vital ally in this effort because of its capacity to quickly and efficiently evaluate code. Snyk.io’s extensive feature set, enhanced by AI, enables DevOps teams to find and fix vulnerabilities efficiently, strengthening the security posture of their apps. DevOps engineers can confidently negotiate the dynamic world of code security by incorporating Snyk.io into their workflows. This ensures that their deployments are not only swift but also reliable and safe.</p><p>Happy coding and connect with me on <a href="https://www.linkedin.com/in/ermia-qasemi/"><strong>Linkedin</strong></a>!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f192248c94a3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Smooth Transition: GOV.UK]]></title>
            <link>https://medium.com/@qasemi.ermia/smooth-transition-gov-uk-7924f6ea3304?source=rss-a016a176593c------2</link>
            <guid isPermaLink="false">https://medium.com/p/7924f6ea3304</guid>
            <category><![CDATA[postgresql]]></category>
            <category><![CDATA[downtime-reduction]]></category>
            <category><![CDATA[aws-database-migration]]></category>
            <category><![CDATA[data-migration]]></category>
            <category><![CDATA[database-migration]]></category>
            <dc:creator><![CDATA[Ermia Qasemi]]></dc:creator>
            <pubDate>Fri, 02 Feb 2024 18:54:36 GMT</pubDate>
            <atom:updated>2024-02-02T18:54:36.102Z</atom:updated>
            <content:encoded><![CDATA[<h3>Smooth Transition: GOV.UK Relocated a 400GB PostgreSQL Database with 1.3 Billion Rows in Just 11 Seconds</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*sckqrmtd1PAotk6q" /><figcaption>Photo by <a href="https://unsplash.com/@thisisengineering?utm_source=medium&amp;utm_medium=referral">ThisisEngineering RAEng</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Seamless database transfer is an essential activity in the field of digital infrastructure, particularly when working with enormous datasets. This article describes how the GOV.UK Notify team moved from the decommissioned GOV.UK Platform as a Service (PaaS) to their own Amazon Web Services (AWS) account, migrating their PostgreSQL database with only 11 seconds of downtime.</p><h3>The Obstacle</h3><p>The current 400GB PostgreSQL database contained 1.3 billion records, 85 tables, 185 indexes, and 120 foreign keys. It was housed in the PaaS’s AWS account. The task was to transfer this massive dataset — which, on a normal workday, receives about 1,000 inserts or updates every second — to a new PostgreSQL database on their AWS account with the least amount of disturbance possible.</p><h3>AWS Database Migration Service (DMS) is the solution</h3><p>To make the migration process easier, the GOV.UK Notify team decided to use AWS Database Migration Service (DMS). The PaaS team and AWS recommended DMS because it can move data from source databases to target databases. There were various crucial phases to the migrating process.</p><ol><li><strong>Configuring the DMS instance:</strong> By utilizing the PaaS team’s rapid setup capabilities, the DMS instance was established in the source AWS account. The DMS instance was given PostgreSQL credentials so it could communicate with the source and target databases.</li><li><strong>Configuring the target database:</strong> In the team’s AWS account, a brand-new PostgreSQL 15 database was made. The target database’s table creation was made easier by a database schema dump from the source database. For efficiency, primary keys, foreign keys, and indexes were added after full load.</li><li><strong>Complete Load:</strong> This process took about 6 hours to complete and copied all of the data from the source database to the target database. The last schema elements, including indexes, were then inserted, which took three more hours.</li><li><strong>Replication:</strong> In order to preserve synchronization, ongoing replication operations (change data capture) made sure that new transactions on the source database were replicated to the destination database.</li><li><strong>Getting Ready for Traffic Migration</strong>: A careful plan was developed to move traffic as quickly as possible from the source database to the target database.</li><li><strong>Stopping Traffic to the Source Database: </strong>In less than a second, a Python script was used to halt all traffic to the source database. Any attempt at reconnection was met with authentication problems guaranteed by password changes.</li><li><strong>Verifying Replication Status:</strong> To ensure that the destination database was synchronized, DMS-provided tables were kept an eye on. Extra precautions were taken, like documenting the process and verifying its entry into the intended database.</li><li><strong>Creating a Smooth Traffic Swap:</strong> To ensure less than five minutes of downtime, traffic was redirected to the target database without redeploying apps by using DNS modifications with a minimum TTL.</li></ol><h3>The Migration’s Success Story</h3><p>The team ran the migration script that night, rerouting traffic to the destination database. Their intended goal of 5 minutes was surpassed with a downtime of only 11 seconds.</p><h3>Learnings</h3><p>Despite DMS’s effectiveness, the researchers recognized that the replication process could be complicated and unfamiliar. In accordance with AWS’s migration tool recommendations, alternate tools such as pglogical will be investigated for upcoming PostgreSQL to PostgreSQL migrations.</p><h3>Conclusion</h3><p>The GOV.UK Notify PostgreSQL database transfer was completed successfully and with little disruption, demonstrating the value of careful preparation, wise tool selection, and utilizing AWS services’ advantages. Insights from this experience are invaluable for firms thinking about doing similar database migrations in the future.</p><p>Happy coding and connect with me on <a href="https://www.linkedin.com/in/ermia-qasemi/"><strong>Linkedin</strong></a>!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7924f6ea3304" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Simplifying CI/CD Workflows with GitLab’s New Catalog Feature]]></title>
            <link>https://medium.com/@qasemi.ermia/simplifying-ci-cd-workflows-with-gitlabs-new-catalog-feature-443d34c75d4e?source=rss-a016a176593c------2</link>
            <guid isPermaLink="false">https://medium.com/p/443d34c75d4e</guid>
            <category><![CDATA[gitlab]]></category>
            <category><![CDATA[gitlab-ci]]></category>
            <category><![CDATA[cicd]]></category>
            <category><![CDATA[ci-cd-pipeline]]></category>
            <dc:creator><![CDATA[Ermia Qasemi]]></dc:creator>
            <pubDate>Mon, 22 Jan 2024 15:11:48 GMT</pubDate>
            <atom:updated>2024-01-22T15:11:48.403Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*x8r0KAEeTGUgd5Ol" /><figcaption>Photo by <a href="https://unsplash.com/@pankajpatel?utm_source=medium&amp;utm_medium=referral">Pankaj Patel</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p><strong>GitLab</strong> has introduced a new feature called the CI/CD Catalog Beta, aimed at making it easier for developers to work together and streamline their processes. This feature comes as a response to challenges developers face when creating pipeline configurations.</p><h3>Unveiling the GitLab CI/CD Catalog Beta</h3><p>In the world of software development, speed is crucial, and a smooth CI/CD pipeline is essential for achieving rapid progress. However, creating pipeline configurations using YAML can be complicated, leading to inefficiencies as developers may redo work without knowing what others have already done. GitLab aims to address this with the CI/CD Catalog Beta, focusing on three main goals:</p><ol><li><strong>Discoverability:</strong> Easily find existing configurations for specific tasks.</li><li><strong>Reusability:</strong> Effectively use discovered pipelines in your projects.</li><li><strong>Ease of Contribution:</strong> Share your configurations with the GitLab community effortlessly.</li></ol><h3>What is the GitLab CI/CD Catalog?</h3><p>The CI/CD Catalog is a central place for developers and organizations to share existing CI/CD components. All components published in the catalog are accessible to the entire GitLab community, encouraging collaboration and knowledge-sharing.</p><h4>Simplifying Component Creation and Sharing</h4><p>Developers can not only benefit from reusing components but can also actively contribute to the GitLab CI/CD community by creating and publishing their own components. This ensures that valuable configurations are shared, fostering collaboration across the platform.</p><h3>Discovering and Using Components</h3><ol><li><strong>Opening the CI/CD Component Catalog</strong>: Easily navigate to the catalog page or explore it through the GitLab interface to discover a variety of CI/CD components contributed by the community. Open the catalog by navigating to “Explore &gt; CI/CD Catalog” or visit this <a href="https://gitlab.com/explore/catalog">catalog page</a>.</li><li><strong>Browsing Components:</strong> Utilize the search functionality or browse through the catalog to find components relevant to your project. Each component project provides detailed documentation on usage and input parameters.</li><li><strong>Integrating Components:</strong> Incorporate selected components into your project’s CI/CD pipeline by updating your .gitlab-ci.yml file. Ensure correct paths, specify versions, and add required input parameters for seamless integration.</li></ol><h3>Creating and Publishing Components — A Six-Step Guide</h3><h4>Step 1: Set Up Project as a CI/CD Catalog Resource</h4><p>Configure your project as a CI/CD Catalog resource, providing a filled-out project description for catalog visibility.</p><h4>Step 2: Create Components</h4><p>Generate components by creating YAML template files for each component in a dedicated /templates folder, including optional input parameters.</p><h4>Step 3: Document Components</h4><p>Craft a comprehensive README.md file detailing the functionality, input parameters, and illustrative examples for clarity.</p><h4>Step 4: Add Tests (Recommended)</h4><p>Enhance component reliability by incorporating tests into the .gitlab-ci.yml file, following standard software development practices.</p><h4>Step 5: Prepare for Publishing</h4><p>Include a release job in the .gitlab-ci.yml file, ensuring that components are released following semantic versioning conventions.</p><h4>Step 6: Publish Components</h4><p>Upon successful testing, create a Git tag using semantic versioning. This triggers the release job, making the components available in the CI/CD Catalog.</p><h3>Example projects</h3><ul><li><a href="https://gitlab.com/components">GitLab official components</a></li></ul><h3>Documentation</h3><p>For more details on using components from the CI/CD Catalog and maximizing their potential within your projects, refer to the official <a href="https://docs.gitlab.com/ee/ci/components/#cicd-catalog">CI/CD Catalog documentation</a>. This documentation provides in-depth insights into the functionality.</p><h3>Conclusion</h3><p>By implementing the GitLab CI/CD Catalog Beta and following these steps, developers can simplify their workflows, promote collaboration, and leverage a wealth of shared CI/CD components within the GitLab community.</p><p>Happy coding and connect with me on <a href="https://www.linkedin.com/in/ermia-qasemi/"><strong>Linkedin</strong></a>!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=443d34c75d4e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>