<?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[Tailwarden - Medium]]></title>
        <description><![CDATA[Tailwarden is an open-source platform built for the 99% of developers bringing DevOps knowledge to developers’ fingertips. We enable developers to take control on their cloud infrastructure while building secure, efficient and cost-effective applications - Medium]]></description>
        <link>https://medium.com/tailwarden?source=rss----897e3c35bc67---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Tailwarden - Medium</title>
            <link>https://medium.com/tailwarden?source=rss----897e3c35bc67---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 21:07:00 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/tailwarden" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Take back control of your tags with Tailwarden — Part 1]]></title>
            <link>https://medium.com/tailwarden/take-back-control-of-your-tags-with-tailwarden-part-1-51ea4d3f5ade?source=rss----897e3c35bc67---4</link>
            <guid isPermaLink="false">https://medium.com/p/51ea4d3f5ade</guid>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[sre]]></category>
            <category><![CDATA[finops]]></category>
            <category><![CDATA[cloud-tagging]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Jake Page]]></dc:creator>
            <pubDate>Mon, 18 Dec 2023 15:38:16 GMT</pubDate>
            <atom:updated>2023-12-18T15:38:16.624Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*ljcIDsanpt-l89QystUO1w.png" /></figure><h3>Take back control of your tags with Tailwarden — Part 1</h3><p>Having a strong and consistent cloud tagging strategy is one of the basic building blocks needed for any organization that is seriously trying to effectively manage and thrive in the cloud. But even a great strategy if not accompanied by excellent execution, won’t be very effective. That’s why I want to take a practical approach to exploring some Tailwarden features that can aid in effective tagging management. In the following three articles, I will do my best to show how a well-executed strategy can make all the difference in your cloud management efforts.</p><p>A tag is one of the easiest cloud concepts to explain, a key/value pair attached to a cloud resource holding any information you want. A well-defined tagging strategy that’s robust yet flexible, well-implemented, auditable, and future-proof shouldn’t be much more difficult. However, it starts getting complicated if you don’t have clear answers to questions like, who is in charge of the tagging strategy? When should tags be attached to a resource? Are there any organization-wide mandatory tags? Can team-level tags be added? Are tags case-sensitive? Are there any enforcement policies in place?</p><p>Having a tagging strategy isn’t optional. If you have untagged resources in your environment, it doesn’t mean you lack a tagging strategy it just means your strategy leaves a lot to be desired. Think of it this way, just because your car doesn’t have any license plates on the bumpers, doesn’t mean it’s not registered to you. Once this is internalized we can start challenging some assumptions, and you can start focusing on consistently executing, remediating, and evolving the tagging strategy.</p><blockquote>💡 Don’t have a Tailwarden account yet? <a href="https://calendly.com/cyril-allard/tailwarden-demo?month=2023-12">Book a demo</a> here and open your free account.</blockquote><h3>The Downsides of a Bad Strategy</h3><h4>Unless your strategy is rock solid you can never be sure you are not leaving money on the table</h4><p>If tags are sparsely implemented or not carefully maintained across teams and departments. When you gather infrastructure cost metrics from aggregation tools like <a href="https://docs.aws.amazon.com/cost-management/latest/userguide/ce-what-is.html">AWS Cost Explorer </a>or <a href="https://www.tailwarden.com/">Tailwarden</a> you can never be sure to have 100% coverage. By having inconsistent tags, crucial resources might be left out of budgets but you can be sure that they will appear in the cloud provider’s monthly bills.</p><h4>Unless you have an owner you don’t have a strategy.</h4><p>A tagging strategy is not an organic process that self-preserves and improves automatically. It needs an individual or team to take responsibility for it and commit to maintaining and ensuring enforcement across the board. If not, it can lead to being a hindrance to future management efforts and a huge missed opportunity. What does this mean in practice? Apart from every resource having an Owner or Team tag, there should be a person or team who is responsible for company-wide tagging compliance, making sure all Owners and all Teams are in alignment with the larger strategy.</p><h4>It’s impossible to have a cost-conscious culture at your organization without hard and reliable data.</h4><p>A consistent tagging strategy is one of the main ingredients necessary to be able to consistently generate reliable, granular, and reproducible resource usage data and cloud transparency metrics. If one of your objectives is to nurture a culture of cost consciousness and resource safeguarding, it has to start with a reliable source of truth.</p><p>I assume you already have a tagging strategy in place for better or worse and you are not starting a green-field project. In the upcoming blog posts, we will look at practical advice that can be applied to your organization immediately. We will break down our exploration into three execution phases, starting by <strong>Evaluating your situation</strong>, then <strong>Remediating the Situation</strong>, and finally, <strong>Ensuring consistency over time</strong> as well as showing how some Tailwarden features can be utilized to make managing your cloud tags much easier.</p><h3>Understand your current implementation</h3><h4>Who owns and executes the tagging strategy?</h4><p>This is a crucial question you have a clear answer to. Tags are useful at every level and since cloud providers can hold up to 50 or 60 tags per resource in some cases, individual contributors; should be encouraged to use custom tags that help them in their work. But there has to be an overarching cohesive system of communally agreed upon tags (a tagging strategy) that tools like Tailwarden can leverage to glean high-level, organizational insights. The core organization tagging requirements have to be implemented top-down and monitored across namespace, account, and provider in a centralized manner.</p><h3>Which tags are company-wide and mandatory?</h3><p>There is no “silver bullet” industry standard tagging strategy, each company is different and need not copy what other companies do. Having said that, inside the organization itself, there must be no doubt at all about which tags must be applied company-wide and preferably at creation time.For example, some commonly used tag keys are:</p><p>- <strong>Team:</strong> To what squat does the resource belong?<br>- <strong>CostCenter:</strong> Whose budget does the resource fall into?<br>- <strong>Environment:</strong> Production, Staging, Sandbox, TestingAccount<br>- <strong>Service:</strong> Does this resource belong to a larger service cluster?</p><h3>How consistently have the tags been applied?</h3><p>Understandably as environments and teams scale, maintaining tagging compliance can become a difficult task. If you are using some sort of IaC tool you might be able to ensure compliance at creation time but how do you know tags weren’t edited or removed afterward? This is where some tooling can help.</p><h4>Tags Audit feature</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3Ye7v0tuRi1MFFTlr_Hm-g.png" /><figcaption>Tags audit view</figcaption></figure><p>Once you connect your cloud accounts to Tailwarden your cloud resources will be automatically fetched, and along with them any tags attached to the resources will also automatically appear.</p><p>Tailwarden distinguishes between two types of tags. Provider tags are created at the cloud provider level. Virtual tags on the other hand are tags created inside Tailwarden. The cloud provider is unaware of the existence of virtual tags but they can be very useful for you to extend business units, services, and apartments across multiple cloud accounts or even providers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/740/1*IxOCwMBh9k2eMvGaurTzrw.gif" /><figcaption>Tags audit view gif</figcaption></figure><p>Tags audit gives you quick access to the resources and with just a couple of clicks, you can find them inside your cloud account.</p><p>The Tags Audit widget acts as the first line of defense to understand the current state of tagging in your environment. Quickly catch spelling mistakes, and repeated or underutilized tags.</p><h3>What insights are readily available?</h3><p>Along with the tags audit feature, gain further insight into your tags by applying specific filters to the resource inventory to get answers to questions like, do I have any untagged resources? Are all of the most expensive resources correctly tagged? Are all mission-critical resources tagged with all required tags?</p><h4>Untagged Resources</h4><p>The lowest-hanging fruit in trying to understand the current tagging implementation is to filter for all empty tags. In the example below all Untagged AWS resources which were created in the last 7 days will appear. Any resource that appears in this search will violate the tagging strategy and should be addressed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*159HVeOtxe9OheZc3z9qtw.png" /><figcaption>Untagged resources created in the last week filter</figcaption></figure><h4>Finding expensive critical resources</h4><p>The specific tag filter combined with a Cost greater than 100 dollars filter shows 0 resources. Good news right? Are we sure that all costly resources have the current Environment:Prod tag? Or are they even tagged at all?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9Lf5G6WYb03Q8mByqD5abQ.png" /><figcaption>Cost, Specific tag filter combination</figcaption></figure><p>Remove the tag filter and compare the results, are there any costly resources that are untagged? If so, fix it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WNq2PH_AOxt2QgNdrZWGrg.png" /><figcaption>Cost filter</figcaption></figure><h4>Easily find missing tags</h4><p>Filter specific categories like service or region and add the <strong>Specific tag / Doesn’t</strong> exist to generate a list of all resources that are missing a key tag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Up1j3NN-FzuRrF8e8HdHRQ.png" /><figcaption>Missing Owner tag filter</figcaption></figure><p>In this case, I have 232 IAM roles that don’t have an Owner tag attached to them. I have some tagging to do.</p><h4>Save your most crucial filters as Custom Views</h4><p>As you leverage tags to filter the inventory list, save the results as Custom Views. When you filter the inventory list by including tags you are effectively shining a light on deep dark and unvisited areas of your infrastructure you might have never seen before. Make sure you have quick access to your environment by saving a granular filter as a custom view to always have quick access to key infrastructure insights.</p><p>Alerts and filters can also be applied to custom views themselves but we will cover that in more detail in the blog posts to come.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MzMCO8FpINMcSl9CZI9M9A.png" /><figcaption>Custom views sidebar</figcaption></figure><p>As the cloud, in IT and business management in general, I would not be the first one to assert that an incredibly sophisticated tagging strategy isn’t worth very much unless it is executed diligently. Without regular checks and the right tools to ensure consistent implementation and prevent divergence, even the most intricate strategy can lose its effectiveness. When your implementation isn’t perfect, it’s time to remediate. An integral phase of effective tagging execution and also the topic of the upcoming blog post.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=51ea4d3f5ade" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tailwarden/take-back-control-of-your-tags-with-tailwarden-part-1-51ea4d3f5ade">Take back control of your tags with Tailwarden — Part 1</a> was originally published in <a href="https://medium.com/tailwarden">Tailwarden</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deploy a Jenkins Cluster on AWS with Terraform and Packer]]></title>
            <link>https://medium.com/tailwarden/deploy-a-jenkins-cluster-on-aws-with-terraform-and-packer-9224a0f56799?source=rss----897e3c35bc67---4</link>
            <guid isPermaLink="false">https://medium.com/p/9224a0f56799</guid>
            <category><![CDATA[jenkins]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[terraform]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Mohamed Labouardy]]></dc:creator>
            <pubDate>Sun, 14 May 2023 14:05:59 GMT</pubDate>
            <atom:updated>2023-05-14T14:05:45.584Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/872/0*Jtzre_kzfdyOlFt4.png" /></figure><p>Last month, we hosted our 2nd “Wardens Assembly” event in our <a href="http://discord.tailwarden.com/">Discord community</a> where we showcased how to deploy a Jenkins cluster on AWS with Terraform and Packer, and how to build a CI/CD pipeline for a Serverless app on top of it. In case you missed the event, you can watch it completely here:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fw5J7fBATCu4%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dw5J7fBATCu4&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fw5J7fBATCu4%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/a4b8a0e1ad9178bf515af9d658bb863c/href">https://medium.com/media/a4b8a0e1ad9178bf515af9d658bb863c/href</a></iframe><p>In case you want to cut straight to the chase, this tutorial is for you as it covers only the key parts of building the Jenkins cluster, including:</p><ul><li>Baking machine images with Packer</li><li>Discovering Jenkins as Code with Groovy</li><li>Deploying Jenkins cluster on AWS with Terraform</li></ul><p>Before jumping into the code, the diagram below summarizes the architecture we’re going to build by the end of this tutorial:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*AaogEowxNVp3PknC.png" /><figcaption>Jenkins cluster architecture</figcaption></figure><p>Jenkins uses a master-worker architecture for managing distributed builds. Each component plays a specific role:</p><ul><li><strong>Jenkins master:</strong> Handles scheduling of build jobs and distributes them to workers for execution. It also monitors worker states and collects and aggregates build results in the web dashboard.</li><li><strong>Jenkins worker</strong>: Also referred to as <em>build agent</em>, this Java executable runs on a remote machine, listens for requests from the Jenkins master, and carries out build jobs. You can have numerous workers (up to 100+ nodes), which can be added and removed on the fly. As a result, workloads are distributed automatically, and workers alleviate the load on the master Jenkins server.</li></ul><p>We’re going to bake two Amazon Linux Images (AMIs) using Packer, one for worker machines and another for the Jenkins master. From there, we’ll use Terraform to deploy Jenkins in a distributed mode on AWS based on those AMIs. Additionally, we’ll set up scaling policies with CloudWatch to trigger the scaling of Jenkins workers according to their CPU utilization.</p><blockquote>You can find all the source code used in this tutorial on <a href="https://github.com/tailwarden/virtual-workshops">GitHub</a>.</blockquote><h3>Building a Jenkins worker AMI</h3><p>Our first machine image will be an Amazon EC2 AMI for the worker machines. To create this AMI, we need to write a Packer configuration file. Create a template.json with the following sections:</p><ul><li><strong>variables</strong>: Instead of hardcoding values in the template file, we are using variables that can be overridden at the Packer runtime.</li><li><strong>builders</strong>: Because the target machine image is an Amazon Machine Image, we are using the amazon-ebs builder.</li><li><strong>provisioners</strong>: The stage is responsible for installing and configuring all needed dependencies.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*AsR_SPEXdG4FhRAY.png" /><figcaption>Packer template file for Jenkins worker AMI</figcaption></figure><p>Substitute the value of source_ami with the appropriate Amazon Linux AMI ID. The ID can be found by heading to <a href="https://eu-central-1.console.aws.amazon.com/ec2/home">AWS EC2 Console</a>. Click “Launch EC2 Instance”. On the “Choose AMI tab”, type “Amazon Linux AMI” in the search bar.</p><p>Packer fully supports multiple modern configuration management tools such as Ansible, Chef, and Puppet. Bash scripts are also supported. To simplify the baking process for the worker’s AMI, we can use the following <a href="https://github.com/tailwarden/virtual-workshops/blob/master/jenkins-cluster-on-aws/packer/worker/setup.sh">setup.sh</a> bash script:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*DF6De46IXAeY0wAR.png" /><figcaption>Bash script to install worker’s dependencies</figcaption></figure><p>The script will install Java JDK, Docker Community Edition, and Git client, which are the required dependencies for running CI/CD pipelines.</p><p>With the Packer template being ready it is time to build our first AMI. This is done by calling the packer build command with the template file as an argument. Packer will deploy an EC2 instance based on the configuration specified in the template file, and then execute the bash script on the deployed instance.</p><p>At the end of running the packer build command, Packer outputs the artifacts that were created as part of the build. Artifacts are the results of a build and typically represent the AMI ID.</p><h3>Building a Jenkins master AMI</h3><p>To automate a Jenkins master instance completely, we’ll use Jenkins post-initialization scripts. We’ll harness the power of Groovy scripts and put them in the <strong>$JENKINS_HOME/init.groovy.d</strong> directory. Jenkins will consume this directory upon startup, enabling us to preconfigure Jenkins to the desired state.</p><p>The basic-security.groovy script creates a Jenkins user with full admin access. Besides user management, we&#39;ll also establish basic configurations to harden Jenkins against Cross-Site Request Forgery (CSRF) attacks using csrf-protection.groovy. With CSRF protection enabled, all issued tokens must include a web session to prevent external attackers from acquiring web sessions.</p><p>Jenkins features a built-in CLI that lets users and administrators access Jenkins from a script or shell environment. However, using the CLI is discouraged for security reasons (to avoid remote access), so we’ll disable it through the disable-cli.groovy script. We&#39;ll also disable the JNLP and old unencrypted protocols (JNLP-connect, JNLP2-connect, JNLP3-connect, and CLI-connect) using disable-jnlp.groovy to eliminate warning messages in the web dashboard.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Offr_T_wUfBq9gR2.png" /><figcaption>Groovy script to create a Jenkins admin user</figcaption></figure><p>We still need to install plugins to extend Jenkins functionalities in order to be able to build CI/CD pipelines. Plugins can be easily installed from the Jenkins dashboard. However, the purpose of this tutorial is to build a fully automated Jenkins AMI, because if you want to install many plugins, this manual process can be fairly long and boring. Therefore, we will use a <a href="https://github.com/tailwarden/virtual-workshops/blob/master/jenkins-cluster-on-aws/packer/master/config/install-plugins.sh">script</a> provided by the Jenkins community to install plugins, including their dependencies. The scripts take, as a parameter, a file containing the <a href="https://github.com/tailwarden/virtual-workshops/blob/master/jenkins-cluster-on-aws/packer/master/config/plugins.txt">list of Jenkins plugins</a> to be installed.</p><p>Finally, we will update the Packer template file used to build the Jenkins worker AMI to upload the Groovy scripts described previously to the temporary instance by using the file provisioner. Next, we use a shell provisioner to move these files to the init.groovy.d folder. The template.json file should look similar to the following listing:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*6Mx9cBJ-k2hxpPeV.png" /><figcaption>Packer template to build a Jenkins master AMI</figcaption></figure><p>After files are uploaded to the temporary instance created by Packer, a <a href="http://setup.sh/">setup.sh</a> script will be executed to install the Jenkins LTS version. The script then installs the Git client. Following that, it copies the workers’ private SSH key to the /var/lib/jenkins/.ssh folder and sets permissions. Lastly, it moves Groovy scripts to the initialization folder, installs essential plugins by running the <a href="https://github.com/tailwarden/virtual-workshops/blob/master/jenkins-cluster-on-aws/packer/master/config/install-plugins.sh">install-plugins.sh</a> script, and starts the Jenkins server. Now that the template is ready, we will bake the AMI with the packer build command. If the script succeeds, Packer should show a message containing the AMI ID, and the Jenkins master AMI will be available in the EC2 dashboard, as shown below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/693/0*bH7asfMlHKQF4UZT.png" /><figcaption>Jenkins AMIs</figcaption></figure><p>Now that our Jenkins cluster AMIs are ready to use, we will use them in the next section to deploy our cluster on AWS with Terraform.</p><h3>Deploying a Jenkins cluster with Terraform</h3><p>Let’s start by creating an EC2 instance to host the Jenkins dashboard. Create a jenkins_master.tf and declare an aws_instance resource, which will use the Jenkins master AMI baked by Packer. Attach a security group to the instance to allow SSH and inbound traffic on port 8080 (Jenkins web dashboard).</p><p>The amount of memory Jenkins needs depends on your project build needs and the tools required by the same builds. Each build node connection will take two to three threads, which equals about 2 MB or more of memory. You will also need to factor in CPU overhead for Jenkins if a lot of users will be accessing the Jenkins user interface.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*iUD9hwQcMZo4_dSk.png" /><figcaption>Jenkins master EC2 instance</figcaption></figure><p>Running a single Jenkins instance is a good start, but in the real world, a single instance is a single point of failure. If that instance crashes or becomes overwhelmed by too many builds, developers can no longer deliver their releases. The solution is to run a cluster of Jenkins workers and adjust the size of the cluster up or down based on resource utilization. Therefore, create an autoscaling group by declaring an aws_launch_configuration resource in jenkins_workers.tf:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*k6QYn1SHb30x1geI.png" /><figcaption>Workers launch configuration</figcaption></figure><p>To auto-discover the Jenkins master by the worker machines, we’ll pass a user-data script that will be executed at boot time on each Jenkins worker instance. The script takes as a parameter the Jenkins admin credentials, Jenkins SSH credential ID, as well as the Jenkins private IP address.</p><p>The scripts/join-cluster.tftpl script will fetch the running instance’s private IP address from the EC2 metadata (available at 169.254.169.254/latest/meta-data). The script will then issue an HTTP request to Jenkins with a Groovy script to add the instance to the cluster.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*VtZJoXpVLXlr57v9.png" /><figcaption>Bash script to auto-join Jenkins cluster</figcaption></figure><p>Now that the Jenkins workers’ blueprint is defined in a launch configuration, we can deploy an Auto Scaling Group (ASG) to deploy similar Jenkins workers based on the launch configuration. This ASG will run 2 to 10 workers (defaulting to 2 for the initial launch).</p><p>So far, the number of workers is static and fixed. To scale the number of workers dynamically, we will define scaling policies based on CPU utilization. This gives you extra capacity to handle the build of additional jobs without maintaining an excessive number of idle Jenkins workers and paying extra money. Create a <a href="http://cloudwatch.tf/">cloudwatch.tf</a> file and define an AWS CloudWatch metric alarm based on CPU utilization. The CloudWatch alarm will trigger a scale-out event to add a new Jenkins worker instance if the average CPU utilization is over 80% for a period of 2 minutes. Similarly, we define another CloudWatch alarm to trigger a scale-in event to remove a Jenkins worker if the average CPU utilization is less than 20% for a period of 2 minutes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*SaAsVp33xyGVcHKd.png" /><figcaption>CloudWatch scaling policies</figcaption></figure><p>We can take this architecture further, and configure a public-facing load balancer in front of the Jenkins instance to access the Jenkins web dashboard. This way, your Jenkins instance does not have to be directly exposed to the internet. The load balancer will listen on both the HTTP (80) and HTTPS (443) ports and send incoming requests to the instance on port 8080. That way, it uses an encrypted connection to communicate with the Jenkins instance.</p><p>Finally, if you would like to use a friendly DNS name to access your load balancer, instead of the default DNS name automatically assigned to your load balancer, you can create a custom domain name and associate it with the DNS name for your load balancer. The DNS configuration can be done on Amazon Route 53.</p><p>With the Terraform stack complete, jump to your terminal and run the terraform apply command to provision the Jenkins architecture in your AWS account.</p><p>Once the stack is deployed, 3 EC2 instances should be provisioned as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*WOZutgqF8lHA5-TX.png" /><figcaption>Jenkins cluster instances</figcaption></figure><p>Point your browser to the Jenkins dashboard DNS name. This time, the setup wizard should disappear and many functionalities should be added. Sign in using the admin credentials defined in the basic-security.groovy Your Jenkins cluster should be up and running with 2 workers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9MKjkJHVczOUFk_a.png" /><figcaption>Jenkins dashboard</figcaption></figure><p>Congrats! you learned how to deploy a highly available, secure, and resilient Jenkins cluster on AWS by using Terraform and how to use the baked Packer images to deploy workers to scale.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9224a0f56799" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tailwarden/deploy-a-jenkins-cluster-on-aws-with-terraform-and-packer-9224a0f56799">Deploy a Jenkins Cluster on AWS with Terraform and Packer</a> was originally published in <a href="https://medium.com/tailwarden">Tailwarden</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deploy Komiser to AWS with Terraform]]></title>
            <link>https://medium.com/tailwarden/deploy-komiser-to-aws-with-terraform-866883f9e7d3?source=rss----897e3c35bc67---4</link>
            <guid isPermaLink="false">https://medium.com/p/866883f9e7d3</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[infrastructure]]></category>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[terraform]]></category>
            <dc:creator><![CDATA[Mohamed Labouardy]]></dc:creator>
            <pubDate>Mon, 24 Apr 2023 18:55:38 GMT</pubDate>
            <atom:updated>2023-04-24T18:55:28.078Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Lg5GrK_kdH1cX81U2JG4lA.png" /></figure><p><a href="https://github.com/tailwarden/komiser">Komiser</a> is an open-source cloud-agnostic inventory solution that gives you a holistic view of your cloud resources and helps you uncover insights about your infrastructure such as cost wasted, security threats, and compliance issues.</p><p>This tutorial will cover all the necessary steps for deploying Komiser on AWS using Terraform. By the end of this tutorial, we’ll deploy the below architecture with the following components:</p><ul><li>Provision an EC2 instance to host the Komiser container, and ensure that inbound and outbound traffic to the instance is restricted using a security group.</li><li>Deploy an ELB in front of the EC2 instance to manage traffic distribution, and configure a security group for the ELB.</li><li>Create an IAM instance profile and attach it to the EC2 instance, including the Komiser recommended IAM policy to manage access to AWS resources.</li><li>Set up an alias record in Route 53 to direct traffic to the ELB DNS with a user-friendly URL.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/710/1*2cwPMl-Baj5IGn-IqMI8TA.png" /></figure><blockquote>All Terraform templates used in this tutorial can be found in the GitHub <a href="https://github.com/tailwarden/komiser-terraform">repository</a>.</blockquote><p>To get started, define your backend and declare AWS as your provider in the <a href="http://terraform.tf/">terraform.tf</a> file. In this example, S3 is used as the backend for storing Terraform state files. Once done, run <em>terraform init</em> to download the AWS module.</p><p>Next, declare an EC2 instance in <a href="http://ec2.tf/">ec2.tf</a> file with <em>aws_instance</em> resource. The resource uses Amazon Linux 2 as an AMI which is obtained using the <em>data</em> block and the <em>aws_ami</em> data source. The instance type is <em>t2.medium</em> (recommended size to host Komiser) and uses a public IP address and a security group that allows traffic on port 22 for SSH access and 3000 for serving the Komiser dashboard. It also attaches an IAM instance profile with the <a href="https://github.com/tailwarden/komiser/blob/master/policy.json">permissions</a> required by Komiser to build your asset inventory.</p><p>The provisioned blocks define a series of file transfers and commands to execute on the EC2 instance after it’s launched. The first three <em>provisioner</em> blocks upload files from the local machine to the EC2 instance. The last <em>provisioner</em> block executes remote commands on the EC2 instance, which installs some needed dependencies by running a bash script that is transferred to one of the previous <em>provisioner</em> blocks and deploys Komiser as a Docker container.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wx51JwhhR78OLu9_8BIGsA.png" /></figure><p>It’s important to note that when using Komiser in a production environment, certain additional improvements should be taken to ensure security and scalability.</p><p>Firstly, it’s recommended to deploy the Komiser instance within a private subnet and restrict SSH access only from a trusted CIDR block or a bastion host. This helps to prevent unauthorized access to the instance and reduces the risk of security threats.</p><p>Secondly, automation tools such as Ansible or Packer can be leveraged to further optimize the deployment process. Using Packer, for example, allows for creating a custom AMI that includes all the necessary software and configurations for running Komiser.</p><p>The <a href="http://install.sh/">install.sh</a> script installs Docker Community Edition (CE) and Docker Compose. It also adds the <em>ec2-user</em> to the <em>docker</em> group, allowing us to run Docker commands without needing to use <em>sudo</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BSoYZoNinZ2wNOZGNdhwhw.png" /></figure><p>Once those tools are installed, the deployment of the Komiser container can be initiated by executing the command <em>docker-compose up</em> with reference to the <em>docker-compose.yml</em> file. This will result in the deployment of the latest version of the Komiser image, which is at the time of writing this post <a href="https://github.com/tailwarden/komiser/releases/tag/v3.0.11"><em>v3.0.11</em></a>.</p><p>The container is configured to use a <em>config.toml</em> file that connects to the running AWS account and stores data in an SQLite database. Additionally, the container serves the Komiser dashboard through port 3000.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yP-K23_RGcPc0WHtTbXfMQ.png" /></figure><p>In the <a href="http://iam.tf/"><em>iam.tf</em></a> file, the next step is to define AWS IAM resources that enable the Komiser EC2 instance to assume an IAM role with the appropriate permissions attached to it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IsV5H_wiUHCzr_kXOvia0w.png" /></figure><p>Next, in <a href="http://elb.tf/">elb.tf</a> define a load balancer resource that forwards traffic into the EC2 instance running the Komiser container on port 3000. The ELB is configured with two listeners: one for HTTPS traffic and the other for HTTP traffic. The HTTPS listener is configured with an SSL certificate (requested through ACM) that is specified as a variable.</p><p>The <em>health_check</em> block specifies a health check configuration for the ELB. It specifies the target to check for health as “TCP:3000”. The health check is configured to check the instances every 5 seconds, with a timeout of 3 seconds, and a threshold of 2 checks for both healthy and unhealthy responses.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*POhuG6yr7PTT8EkzzY2sUQ.png" /></figure><p>Finally, in <a href="http://route53.tf/">route53.tf</a> creates a new AWS Route 53 record for a domain name that points to the ELB resource using an alias record. The record type specified is “A” for an IPv4 address.</p><p>This creates a Route 53 record that maps the domain name to the ELB, making it possible for users to access Komiser running on the ELB through a user-friendly URL.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kqAKqqLgC3hmKNoQ3BGubQ.png" /></figure><p>After defining variables and outputs, running <em>terraform plan</em> will generate an execution plan detailing the changes that will be made to the infrastructure. Running <em>terraform apply</em> will apply these changes, resulting in the deployment of the 9 new resources necessary for running Komiser on AWS.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T9ySZrUZfzIrp2SEV-qcVg.png" /></figure><p>After the resources have been successfully provisioned, you can easily access the Komiser dashboard by navigating to <a href="https://demo.domain.com/"><strong>https://demo.domain.com</strong></a>. Once accessed, you will be presented with a comprehensive breakdown of your AWS resources, including their associated costs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4n9z6sPEcT1FD4RkXtm26A.png" /></figure><p>Congrats! You’ve successfully deployed Komiser with Terraform.</p><p>You can now leverage Komiser’s holistic view to take control of your cloud usage and optimize your resources for maximum efficiency and cost savings.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=866883f9e7d3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tailwarden/deploy-komiser-to-aws-with-terraform-866883f9e7d3">Deploy Komiser to AWS with Terraform</a> was originally published in <a href="https://medium.com/tailwarden">Tailwarden</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Build a Serverless Gym App with ChatGPT, Twilio and WhatsApp]]></title>
            <link>https://medium.com/tailwarden/build-a-serverless-gym-app-with-chatgpt-twilio-and-whatsapp-a7d0447fb950?source=rss----897e3c35bc67---4</link>
            <guid isPermaLink="false">https://medium.com/p/a7d0447fb950</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[golang]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[tech]]></category>
            <dc:creator><![CDATA[Mohamed Labouardy]]></dc:creator>
            <pubDate>Mon, 03 Apr 2023 17:00:12 GMT</pubDate>
            <atom:updated>2023-04-03T17:00:23.370Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WkPgzEUs20iccLOodLJxoQ.png" /></figure><p>We have recently started hosting virtual workshops in our <a href="http://discord.tailwarden.com/">Discord community</a> called “Wardens Assembly”. These monthly events cover a variety of tech topics. The first event was about building a Serverless gym app that sends a workout plan to your WhatsApp number using ChatGPT. In case you missed the event, you can watch it completely here:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fz2JaX-2Cn2w%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dz2JaX-2Cn2w&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fz2JaX-2Cn2w%2Fhqdefault.jpg&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/fe5e5050bb5988ec5cab3a51ef407f9c/href">https://medium.com/media/fe5e5050bb5988ec5cab3a51ef407f9c/href</a></iframe><p>In case you want to cut straight to the chase, this tutorial is for you as it covers only the key parts of building a Serverless app, including:</p><ul><li>Building a Serverless app using Golang &amp; AWS Lambda</li><li>Scheduling Lambda with cron expression triggers</li><li>Integrating ChatGPT 4 with AWS Lambda</li><li>Sending WhatsApp messages via the Twilio SDK</li><li>Streamlining deployment with GitHub Actions &amp; AWS SAM</li></ul><p>Before jumping into the code, the diagram below summarizes the architecture we’re going to build by end of this tutorial:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*NPMNELL9W7C70Dqt.png" /><figcaption>Application’s architecture</figcaption></figure><p>The goal is to create a Lambda function in Go, which will communicate with ChatGPT. This function will send a prompt to ChatGPT API and then use Twilio to send a workout plan to our WhatsApp number at a specific schedule determined by an EventBridge Rule. Moreover, we will leverage AWS SAM and GitHub Actions to automate the infrastructure build and deployment, as well as the CI/CD pipeline.</p><blockquote>You can find all the source code used in this tutorial on <a href="https://github.com/tailwarden/virtual-workshops">GitHub</a>.</blockquote><h4>Building Lambda Function</h4><p>To get started, from your terminal create a main.go file, initialize a go project, and install the AWS Lambda package with the following commands:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/23fdbb0b8908d8acc370e37399f81523/href">https://medium.com/media/23fdbb0b8908d8acc370e37399f81523/href</a></iframe><p>Next, declare the handler function in <em>main.go</em>. The main function calls the lambda <em>handler </em>by calling the <em>lambda.Start</em> method<em>.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*PL8m296LjZKpyozc.png" /><figcaption>Lambda handler</figcaption></figure><p>Next, to integrate with OpenAI, you will need to download the OpenAI Go wrapper library:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/503f26b54a71dfce36c429850decaf29/href">https://medium.com/media/503f26b54a71dfce36c429850decaf29/href</a></iframe><p>Then, update the handler, and create an OpenAI client by passing your OpenAI token. Next, start a chat using the <em>CreateChatCompletion</em> method and pass a prompt, and <em>setGPT3Dot5Turbo</em> as the target model (which is the underlying name for ChatGPT). The library also supports other models, such as ChatGPT, GPT-4, DALL·E 2, and Whisper.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*UFHxtpP34eyroMzj.png" /><figcaption>ChatGPT Go integration</figcaption></figure><p>The <em>OPENAI_TOKEN</em> value can be generated from the <a href="https://platform.openai.com/account/api-keys">OpenAI platform</a>. Make sure to save the key in a safe place, as it will only be shown to you once.</p><p>To send the workout plan to our WhatsApp number, we need to integrate Twilio. To do so, you will need to sign up for a Twilio account, sign in to your existing account, and activate the Twilio Sandbox for WhatsApp. Follow the steps below:</p><ul><li>Sign up for a <a href="https://www.twilio.com/try-twilio">free Twilio account</a>.</li><li>Activate the Twilio <a href="https://www.twilio.com/console/sms/whatsapp/sandbox">Sandbox for WhatsApp</a>.</li><li>Select a number from the available sandbox numbers to activate your sandbox.</li><li>Send join <em>&lt;your sandbox keyword&gt;</em> to your Sandbox number in WhatsApp to join your Sandbox.</li></ul><p>After sending the message, Twilio should reply with a confirmation message, as shown in the screenshot below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*jwWzm4qs9SpYqkdF.png" /><figcaption>Twilio Sandbox confirmation</figcaption></figure><p>Now to integrate with our app, install the Twilio Go package with the following command:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/112ebb320726c731472b7e01ce5de9f6/href">https://medium.com/media/112ebb320726c731472b7e01ce5de9f6/href</a></iframe><p>Next, add the following code snippet to the Lambda handler. It creates a Twilio client by passing the credentials as environment variables. The Account SID and Auth Token can be found <a href="http://twilio.com/console">here</a> and should be set as the values for the environment variables <em>TWILIO_USERNAME</em> and <em>TWILIO_PASSWORD</em> respectively. Finally, it uses the <em>CreateMessage</em> method to send the workout plan generated by ChatGPT.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*2TXcHsUQsiJR9mOh.png" /><figcaption>Sending message with Twilio SDK</figcaption></figure><p>That’s it. Our function handler is ready to be deployed to AWS Lambda!</p><h4>Deploying Serverless Stack with SAM</h4><p>For the deployment part, we’re going to use AWS Serverless Application Model (SAM). Once you’ve installed the <a href="https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/install-sam-cli.html">SAM CLI</a>, create a template.yml that declares a Lambda function called “WorkoutGenerator”, including its source code location, handler function, runtime environment, memory size, and timeout duration.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*cR-3I-f9Vohb-OCJ.png" /><figcaption>SAM template</figcaption></figure><p>The template also defines a set of environment variables for the function. These variables are resolved using the AWS Systems Manager Parameter Store, which is a service that stores secure strings and parameters. The variables specified in this template include the OpenAI token, Twilio account credentials, and phone numbers for sending and receiving WhatsApp messages.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*AhNMH2wxZYHKZKHf.png" /><figcaption>Lambda variables stored in Parameter Store</figcaption></figure><p>Next, use the AWS SAM CLI to build the application and prepare for deployment by running the <em>sam build</em> command. Finally, run the <em>sam deploy — guided</em> command to deploy the AWS resources by provisioning an AWS CloudFormation stack:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*pcxljtqoU1Fbh091.png" /><figcaption>The sam deploy command’s output</figcaption></figure><p>The Lambda function is now deployed and running in the AWS Cloud! You can test it out, by triggering the Lambda function manually from the AWS Console. A WhatsApp message should be received with a workout plan generated by ChatGPT as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*rX-HZtmBu8Xa6kMP.png" /><figcaption>Workout plan generated by ChatGPT</figcaption></figure><p>However, our goal is to have our workout plan generated automatically, ideally before we begin our gym workout. To achieve this, we need to trigger our Lambda function at a specific schedule. We can use an EventBridge rule to define a cron expression that invokes our function every weekday at 7 PM. Update the SAM template below and run it again:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*S8clxAjd6sVEECIJ.png" /><figcaption>Triggering Lambda function with a cron job</figcaption></figure><p>If you head back to the Lambda dashboard, you should see an EventBridge Rule trigger, as shown in the screenshot below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*lHHOrfFXl6g2tybI.png" /><figcaption>EventBridge integration</figcaption></figure><p>With our application being completed, let’s build a CI/CD pipeline to automate the deployment process through GitHub Actions.</p><h4>Defining a CI/CD Pipeline with GitHub Actions</h4><p>Once your source code is pushed to a remote GitHub repository, create a <em>release.yml</em> file under the <em>.github/workflows</em> folder with the following steps:</p><ul><li>Check out the repository under <em>$GITHUB_WORKSPACE</em>, so the workflow can access it.</li><li>Set up Python environment and install SAM CLI.</li><li>Configure AWS credentials from secrets. Make sure to add <em>AWS_ACCESS_KEY_ID</em> and <em>AWS_SECRET_ACCESS_KEY</em> as a secret under the GitHub repository.</li><li>Run the <em>sam build</em> and <em>sam deploy</em> commands in a non-interactive mode.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*FwPOp-m32F1UPiAZ.png" /><figcaption>CI/CD pipeline</figcaption></figure><p>Once the pipeline is defined, push the changes to the remote repository.</p><p>We can test out the pipeline by improving the ChatGPT prompt to generate a workout plan with only weightlifting exercises. Push the changes, the pipeline will be triggered and new changes will be deployed to AWS as shown below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*BWizl77yrIxSoTj4.png" /><figcaption>GitHub Actions pipeline’s output</figcaption></figure><blockquote>To improve the workout plan, provide your age, gender, weight, height, and one rep max in the ChatGPT prompt.</blockquote><p>Congratulations! You have successfully built a personal gym workout generator. We would love to see your implementation. Create a similar Serverless app that integrates with ChatGPT and share it on Twitter to enter the competition. Tag <a href="https://twitter.com/tailwarden">Tailwarden on Twitter</a> and add the hashtag #WardensAssemblyChallenge. The three winners will be chosen on Friday, April 28th.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a7d0447fb950" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tailwarden/build-a-serverless-gym-app-with-chatgpt-twilio-and-whatsapp-a7d0447fb950">Build a Serverless Gym App with ChatGPT, Twilio and WhatsApp</a> was originally published in <a href="https://medium.com/tailwarden">Tailwarden</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Unexpected charges on your AWS bill]]></title>
            <link>https://medium.com/tailwarden/unexpected-charges-on-your-aws-bill-1fa0c71c8ea0?source=rss----897e3c35bc67---4</link>
            <guid isPermaLink="false">https://medium.com/p/1fa0c71c8ea0</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Mohamed Labouardy]]></dc:creator>
            <pubDate>Mon, 27 Mar 2023 13:34:16 GMT</pubDate>
            <atom:updated>2023-03-27T13:34:06.923Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7FknHfcihvB9oOLqr6WzOA.png" /></figure><p>Are you a new AWS user who has experienced bill shock while being in a free-tier plan or a professional cloud practitioner struggling to understand your team’s cloud expenses? If so, you’re not alone. Many AWS users are surprised by unexpected charges on their monthly bills, which can significantly increase the overall cost of using AWS services. As companies’ cloud environments become more complex, lack of visibility can lead to unpredictable cloud bills and budget overruns. In this blog post, we will cover the most common unexpected charges on your AWS bill and provide tips on how to avoid them, so you can optimize your cloud costs and avoid unpleasant surprises.</p><blockquote><em>It’s worth mentioning that the list is not exhaustive and covers only the most common ways in which money is wasted on AWS.</em></blockquote><h4>Paying for unused resources</h4><p>One of the main common unexpected charges is related to idle resources. AWS charges for resources that are not actively used, such as idle EC2 instances, RDS databases, and Elastic Load Balancers. These charges can accumulate over time and result in significant bills. To avoid this, you can use AWS Auto Scaling to automatically adjust the number of resources based on demand. You can also use AWS Reserved Instances or Savings Plans to reduce costs by committing to a one-year or three-year term or use Spot Instances for non-critical jobs or workloads.</p><p>Another common source of idle resources is unattached EBS volumes and unused Elastic IPs. To avoid these charges appearing on your bill, create a <a href="https://aws.amazon.com/blogs/mt/controlling-your-aws-costs-by-deleting-unused-amazon-ebs-volumes/">policy that automatically deletes any unused EBS volumes</a> or EIPs.</p><h4>Infrastructure Drift</h4><p>One major cause of <a href="https://www.tailwarden.com/blog/infrastructure-drift-management">infrastructure drift</a> is the creation of resources outside of the established IaC tools such as Terraform, CloudFormation, and Pulumi, or without proper approval. When this happens, the infrastructure state is not adequately described or persisted, and the changes made to the infrastructure go unnoticed (aka shadow IT activity).</p><p>Until you have total visibility across your environment and have implemented measures to prevent the use of cloud consoles, infrastructure drift is likely to contribute to your AWS bill.</p><h4>Data requests, transfers, and retrievals</h4><p>Another unexpected item that can pop up on your AWS bill is related to data transfer. AWS charges for data transfer within the platform, as well as data transfer to and from the internet. Many users are unaware of this charge and end up with significant increases. To avoid this, you can use AWS services in the same region or availability zone, which is usually free of charge. You can also use AWS Direct Connect for data transfer between your data center and AWS, which can significantly reduce data transfer charges.</p><h4>CloudWatch Logs</h4><p>CloudWatch is the primary source of truth for monitoring the overall health and storing logs of active AWS cloud services. However, it is also notorious for surprise bill spikes due to the complexity of its pricing model.</p><p>The pricing is determined by various factors, such as the number of custom metrics, alarms, and dashboards, logs ingested, stored, and analyzed, and the use of contributor insights rules and synthetics canary runs.</p><p>The most common way of rapidly driving up costs is by leaving the default retention period. This is especially true for AWS Lambda, which creates an automatic log group with an <a href="https://medium.com/@mlabouardy/how-we-reduced-lambda-functions-costs-by-thousands-of-dollars-8279b0a69931">indefinite retention setting</a>. It’s also important to use alarms and dashboards for key metrics only that way avoiding unnecessary alerts and visualizations.</p><h4>AWS Free Tier expired or usage exceeds</h4><p>AWS is pretty generous with free-tier plans but without proper monitoring, you can exceed the free usage limits in a breeze. The good news is you can monitor usage through the <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/tracking-free-tier-usage.html">AWS Management Console</a> and track free tier usage. Any usage beyond the free tier limit or after a free trial has ended is charged at standard rates. To avoid charges, set up alerts to notify you before the free tier expires or usage exceeds the limit.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*RiRoTWJe4TpxWtFF.png" /><figcaption><a href="https://www.reddit.com/r/aws/comments/119admy/300k_bill_after_aws_account_hacked/">Impact of not having a budget alert</a></figcaption></figure><blockquote><em>AWS Free Tier usage alerts automatically notify you over email when you exceed 85 percent of your Free Tier limit for each service.</em></blockquote><h4>Underutilized Reserved Instances and Savings Plans</h4><p>When it comes to AWS EC2 costs, there are several recommendations that you can use to save money. One popular approach is to purchase Reserved Instances and Savings Plans. By doing so, companies can potentially save a lot of money on their monthly bills. However, it’s important to note that simply purchasing these plans isn’t enough. In order to fully reap the benefits of Reserved Instances and Savings Plans, you need to make sure that they are being used, monitored, and optimized effectively. Failure to do so can result in unexpected charges and higher costs.</p><h4>Dynamic Environments</h4><p>Elastic Beanstalk is designed to ensure that all necessary resources are running. As a result, it will automatically relaunch any services that you stop. To prevent this, you must terminate your Elastic Beanstalk environment before terminating any resources that Elastic Beanstalk has created.</p><p>Similarly, auto-scaling groups are designed to maintain a minimum number of EC2 instances running. Ensure that you terminate your ASG or update the scaling policies to avoid unexpected charges.</p><h4>Preventing AWS Bill Shock</h4><p>AWS has many services to help monitor billing. Setting an account-wide budget alert is a relatively easy first line of defense. Secondly, regularly review and tag your resources to identify any unused or idle resources that you can terminate or downsize to reduce costs. Thirdly, use AWS Cost Explorer to analyze and visualize your costs, identify cost trends, and optimize your spending. Finally, take advantage of AWS tools such as CloudWatch and AWS Config to monitor and optimize your resources continuously.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FOdJeaoZYGOU%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DOdJeaoZYGOU&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FOdJeaoZYGOU%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/975fabcc10d05c15aa90f9da0fdcf219/href">https://medium.com/media/975fabcc10d05c15aa90f9da0fdcf219/href</a></iframe><p>If you’re looking for an all-in-one platform, you can also leverage open-source tools like <a href="https://github.com/tailwarden/komiser">Komiser</a> to build your cloud asset inventory, tag resources, set up budget alerts, and <a href="https://www.tailwarden.com/blog/how-to-practice-finops-with-komiser">bring accountability to cloud spend</a>.</p><h4>Conclusion</h4><p>Unexpected charges on AWS bills can put businesses out of the market. However, with the right practices and tools in place, companies can detect and troubleshoot overspending issues before they ever occur.</p><p>Whether you’re just starting out with AWS or you’re a seasoned DevOps engineer, <a href="https://github.com/tailwarden/komiser">Komiser</a> can help you catch potential cost optimization opportunities early, before they become a larger problem.</p><blockquote>Regardless if you are a Developer, DevOps, or Cloud engineer. Dealing with the cloud can be tough at times, especially on your own. If you are using Tailwarden or Komiser and want to share your thoughts doubts and insights with other cloud practitioners feel free to join our<em> </em><a href="https://discord.tailwarden.com/"><em>Tailwarden discord server</em></a>. Where you will find tips, community calls, and much more.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1fa0c71c8ea0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tailwarden/unexpected-charges-on-your-aws-bill-1fa0c71c8ea0">Unexpected charges on your AWS bill</a> was originally published in <a href="https://medium.com/tailwarden">Tailwarden</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Manage your OCI resources with Komiser]]></title>
            <link>https://medium.com/tailwarden/manage-your-oci-resources-with-komiser-7eb65459cbee?source=rss----897e3c35bc67---4</link>
            <guid isPermaLink="false">https://medium.com/p/7eb65459cbee</guid>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[oracle-cloud]]></category>
            <category><![CDATA[cost-optimization]]></category>
            <dc:creator><![CDATA[Jake Page]]></dc:creator>
            <pubDate>Fri, 10 Mar 2023 10:57:22 GMT</pubDate>
            <atom:updated>2023-03-10T11:03:38.148Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/872/1*9rO5SqbHZSAsaLwTx-vqWQ.png" /></figure><p>In today’s digital world, cloud computing has become an essential tool for businesses of all sizes. Cloud computing allows organizations to access a wide range of computing resources, including storage, networking, security, and databases, without the need for on-premises infrastructure.</p><p>One cloud provider that has gained a lot of attention in recent years is <a href="https://www.oracle.com/cloud/">Oracle Cloud Infrastructure (OCI)</a>. OCI is a powerful cloud computing platform that offers a wide range of services to help businesses modernize their IT infrastructure and improve their operations.</p><h3>Why Oracle Cloud Infrastructure (OCI)?</h3><p>Oracle Cloud Infrastructure is a cloud computing platform that offers a range of services, including compute, storage, networking, security, and database services. OCI is built on a high-performance architecture that is designed to support modern workloads, including big data analytics, artificial intelligence, and machine learning.</p><p>OCI is a reliable, scalable, and secure cloud solution that offers a range of benefits to users. These benefits include:</p><h4>High Performance</h4><p>OCI offers high-performance computing resources, including fast network connectivity, low-latency storage, and high-speed computing instances. This makes it ideal for running resource-intensive applications that require fast processing and high bandwidth.</p><h4>Security</h4><p>OCI is built with advanced security features to protect against cyber threats and attacks. The platform provides multiple layers of security, including network isolation, encryption, and identity and access management. This ensures that your data and applications are always protected, even in the event of a security breach.</p><h4>Scalability</h4><p>OCI offers a flexible and scalable infrastructure that can grow and evolve with your business needs. You can quickly scale up or down your resources to meet changing demand, without worrying about hardware limitations. This makes OCI an ideal cloud solution for businesses that need to rapidly scale their operations.</p><h4>Cost-Effective</h4><p>OCI offers a pay-as-you-go pricing model, which means you only pay for what you use. This can help you save money on infrastructure costs, without compromising on performance or reliability. Additionally, OCI offers a range of pricing options, including monthly and annual subscriptions, so you can choose the pricing model that best suits your business needs.</p><h4>Hybrid Cloud</h4><p>OCI allows you to seamlessly integrate with on-premises infrastructure or other cloud providers, enabling you to build a hybrid cloud environment that meets your specific business needs. This makes it easy to manage your entire IT infrastructure from a single location, regardless of where your resources are located.</p><p>As with any cloud provider, it can be easy to lose track of spending, and as your team grows, so does your cloud bill. Fortunately, Komiser has now integrated with OCI, giving you a clear view of your cloud infrastructure. With Komiser, you can easily track, organize, and set alerts for your cloud infrastructure activity, making it much easier to manage and be a responsible cloud custodian. To learn how to set up the integration, follow the steps below.</p><h4>Configuration</h4><p>Use an <strong>OCI user</strong> and an <strong>API key</strong> for authentication. In this case, you’ll need to put your tenancy OCID, user OCID, region name, the path to an API key, and the fingerprint of the API key.</p><p>The easiest way is to let OCI walk you through the setup process by executing the following command using the <strong>OCI CLI</strong>:</p><blockquote><em>Download OCI CLI, find instructions </em><a href="https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/cliinstall.htm"><em>here</em></a></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*vVsft_AUaLvggXaI.png" /><figcaption>OCI setup config command</figcaption></figure><p>Now, a config file and key pair have been created in your local <strong>.oci </strong>folder:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*pAWbFcl1FR0lkQ4i.png" /><figcaption>Resulting in keys and credentials</figcaption></figure><p>Since Komiser looks for credentials in a file called credentials. Create a credentials file in the <strong>.oci</strong> folder and copy the contents of the config file to it.</p><h4>Contents of credentials file</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Y-c8mk-FezGAPc1t.png" /><figcaption>Created credentials file</figcaption></figure><p>Add it to the <strong>config.toml</strong> file like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*hdQtI7AfJt2UweGa.png" /><figcaption>Config.toml file</figcaption></figure><p>Make sure to update the <strong>path</strong> to ensure that Komiser has access to the credentials file.</p><h3>Resource inventory view</h3><p>This is the view of the OCI resources in the Komiser dashboard which has been saved in the <strong>OCI Resources</strong> custom view.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*iHByxX2gBf9Qm_uk.png" /><figcaption>Resource inventory page</figcaption></figure><h4>Supported resources</h4><p>At the time of writing (Komiser v3.0.5) the supported resources for OCI are:</p><ul><li>Compute <strong>instances</strong></li><li>Developer Service <strong>applications</strong> and <strong>functions</strong></li><li>IAM <strong>policies</strong></li><li>Oracle Autonomous <strong>Database</strong></li><li><strong>Block</strong> storage and <strong>buckets</strong></li></ul><p>If you’re an open-source contributor looking to contribute to the Komiser project, there are two ways to do so. First, you can open individual issues requesting support for OCI resources that you’d like to see added to Komiser. These issues can be added to the project by visiting <a href="https://github.com/tailwarden/komiser/issues?q=is%3Aopen+is%3Aissue+label%3Aoci"><strong>this page</strong></a>.</p><p>Alternatively, you can add new resources yourself by using the already-supported resources as a template. To get started, take a look at the IAM policy integration <a href="https://github.com/tailwarden/komiser/blob/master/providers/oci/iam/policies.go"><strong>example</strong></a>.</p><p>For more detailed guidance on contributing to Komiser, check out this <a href="https://www.tailwarden.com/blog/how-to-contribute-to-komiser?utm_source=blog&amp;utm_medium=refferal&amp;utm_campaign=content"><strong>guide</strong></a>.</p><blockquote>Regardless if you are a Developer, DevOps, or Cloud engineer. Dealing with the cloud can be tough at times, especially on your own. If you are using Tailwarden or Komiser and want to share your thoughts doubts and insights with other cloud practitioners feel free to join our<em> </em><a href="https://discord.tailwarden.com/"><em>Tailwarden discord server</em></a>. Where you will find tips, community calls, and much more.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7eb65459cbee" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tailwarden/manage-your-oci-resources-with-komiser-7eb65459cbee">Manage your OCI resources with Komiser</a> was originally published in <a href="https://medium.com/tailwarden">Tailwarden</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to find all resources in an AWS account]]></title>
            <link>https://medium.com/tailwarden/how-to-find-all-resources-in-an-aws-account-277a6ce85a9a?source=rss----897e3c35bc67---4</link>
            <guid isPermaLink="false">https://medium.com/p/277a6ce85a9a</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[cloud]]></category>
            <dc:creator><![CDATA[Mohamed Labouardy]]></dc:creator>
            <pubDate>Fri, 03 Mar 2023 17:00:13 GMT</pubDate>
            <atom:updated>2023-03-03T17:00:02.052Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sLrMclyFNVYJfz2DVFjpyA.png" /></figure><p>When managing your cloud infrastructure on AWS, it’s important to have a comprehensive understanding of all the resources running in your AWS accounts. It’s crucial to be able to have reliable data and clear insight into areas such as:</p><ul><li>Identifying resources that are idle, unmonitored, or exposed to security threats.</li><li>Understanding the cost breakdown and coverage of tags.</li><li>Keeping up-to-date and accurate audit information.</li><li>Evaluating whether your resources conform to specific governance controls.</li><li><a href="https://www.tailwarden.com/blog/infrastructure-drift-management">Detecting any infrastructure drift</a> and changes in configurations.</li></ul><p>Without answers to those questions, you open the doors to cost wastage, security threats, and compliance issues.</p><p>This blog post provides guidance on the different tools available that can help you in locating and identifying all resources within your AWS account.</p><h4>AWS Native Services</h4><p>AWS provides several tools to help you identify and track resources in your account. Each tool has its own pros and cons, as we will see. The key distinction for cloud resource tracking is the scope of the tool and which resources are in its zone. Let’s dive in.</p><h4>AWS Management Console</h4><p>For anyone working with AWS, the <a href="https://console.aws.amazon.com/">AWS Management Console</a> is a good place to begin. It provides access to a wide range of services and features. However, the console’s UI can be challenging to navigate, and it can be overwhelming. Additionally, you should have prior knowledge of the resources you are searching for and their location in the region. Otherwise, you may end up spending several hours browsing through multiple tabs and levels of hierarchy in the AWS Console to find answers to questions such as “What is the number of EC2 instances operating in our Frankfurt region?”</p><h4>AWS Resource Groups</h4><p><a href="https://docs.aws.amazon.com/ARG/latest/userguide/resource-groups.html">AWS Resource Groups</a> is a better alternative to the AWS console. This service enables you to create a custom group of your resources, based on specific criteria such as tags or the resources in an AWS CloudFormation stack. By organizing and consolidating information in this way, you can easily track the resources used by individuals or application teams.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CvWaqFi1SfORpuPcMM0NaA.png" /><figcaption>Grouping resources by owner tag</figcaption></figure><p>It’s worth noting that the service doesn’t support all AWS services (<a href="https://docs.aws.amazon.com/ARG/latest/userguide/integrated-services-list.html">AWS services that work with AWS Resource Groups</a>), as it was not specifically designed for resource discovery. Rather, the service is intended to group resources together based on predetermined tags or CF stack. Therefore, it may not be the best option if you’re looking for a tool to build your asset inventory.</p><h4>AWS Config</h4><p><a href="https://aws.amazon.com/config/">AWS Config</a> is a full-fledged asset inventory. It discovers all your running AWS resources and their configuration history as well as the resource relationships (e.g: find out if an EBS volume is attached to an EC2 instance associated with a security group).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HN7oP1DiwFrW3BckBvCKsg.png" /><figcaption>List of active resources</figcaption></figure><p>The service also provides a rules engine that you can use to evaluate the configuration of resources against pre-defined rules or compliance policies. E.g: you can use SQL queries to find resources that are non-compliant AWS resources and export the results to JSON or CSV format for further benchmarks (e.g: <a href="https://www.cisecurity.org/benchmark/amazon_web_services/">CIS AWS Benchmarks</a>, <a href="https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-standards-fsbp-controls.html">AWS Foundational Security Best Practices</a>, or <a href="https://www.pcisecuritystandards.org/">PCI DSS</a>)</p><p>Despite those features, the AWS Config service does come with certain drawbacks, including:</p><ul><li>As of the time of writing, AWS Config does not cover all types of resources (A list of supported services can be found <a href="https://docs.aws.amazon.com/config/latest/developerguide/resource-config-reference.html"><strong>here</strong></a>).</li><li>The more configuration items generated, the more expensive the service can become (See <a href="https://aws.amazon.com/config/pricing/">pricing</a>).</li><li>AWS Config is best suited for AWS resources. Therefore, users operating in multi-cloud environments and organizations seeking configuration visibility for SaaS assets may require additional tools.</li><li>The service is not enabled by default, so users need to set it up in all regions for all their AWS accounts. For those with a considerable number of AWS accounts, this can result in significant effort.</li></ul><h4>AWS Cost Explorer and CloudWatch</h4><p>It is also a good idea to take a look at Cost explorer once in a while and check whether we are charging our account unnecessarily. Billing information cannot provide a complete picture. But you can use the AWS Cost Explorer to slice your AWS cost by both AWS services, regions, and tags (if enabled). This can give you a starting point of where to further explore manually with AWS Config or Resource Explorer.</p><p>You can also leverage AWS CloudWatch to identify which resources are generating metrics so no resource goes untracked.</p><h4>AWS Resource Explorer</h4><p>AWS Resource Explorer is a service released last year that allows you to explore and discover the resources in your AWS account. It allows you to view, search, and filter the resources across all regions and services in your AWS account. The service is free of charge, making it a great alternative to other resource discovery mechanisms, such as AWS Config.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*MwYkQZ0I4sbA5HNq.png" /><figcaption>List of untagged resources</figcaption></figure><p>Resource Explorer was built with cross-region support from the very beginning. However, the list of resource types that can be discovered with Resource Explorer is quite short and does not support searching across multiple accounts inside an organization (It only works on an AWS account scope).</p><p>As such, you may want to consider alternative options that are more user-friendly and offer a more intuitive way to manage your resources on AWS.</p><h4>Komiser</h4><p><a href="https://github.com/tailwarden/komiser">Komiser</a> is an open-source cloud-agnostic asset inventory. It integrates with multiple cloud providers, builds a cloud asset inventory, and helps you break down your cost at the resource level.</p><p>Komiser comes with a resource inventory feature where you can have an active resource inventory of all your cloud resources along with relevant information such as source account, region, cost, and the tags that are applied to it. You can analyze cloud resource utilization and costs based on specific criteria, such as teams, applications, or cost centers. This approach enables the creation of custom views for engineering, finance, and product teams and promotes accountability for cloud expenses.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DUq2fTA_VcatTlCqGT3Dtw.png" /><figcaption>Multi-cloud asset inventory</figcaption></figure><p>As you’re moving to a multi-cloud model, you would need a single place where you can manage all your cloud resources. By integrating with several cloud service providers (currently supporting AWS, Azure, Oracle, DigitalOcean, Civo, Tencent Linode, Kubernetes, and Scaleway), Komiser can swiftly generate your cloud asset inventory. This allows you to utilize its powerful filter system to uncover idle resources and wasted costs across all your cloud accounts and regions. Consequently, supported resources have nowhere to hide, and there is no way they will slip under the radar. As soon as the resource inventory is fetched, all regions will show exactly what they are holding. The resources come to you in a sense, so there’s no more tab switching or console hoping to make sure you didn’t miss anything.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*8vD1KdqL4LxHcP19.png" /><figcaption>Cost breakdown</figcaption></figure><p>Having an asset inventory of your AWS resources is crucial to uncover optimization opportunities and answering questions about your infrastructure. AWS has some good services but as the number of resources increases and you shift toward multi-cloud you might want to check out something like Komiser that does it all.</p><blockquote>Regardless if you are a Developer, DevOps, or Cloud engineer. Dealing with the cloud can be tough at times, especially on your own. If you are using Komiser and want to share your thoughts doubts and insights with other cloud practitioners feel free to join our <a href="https://discord.tailwarden.com/"><em>Tailwarden discord server</em></a>. Where you will find tips, community calls, and much more.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=277a6ce85a9a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tailwarden/how-to-find-all-resources-in-an-aws-account-277a6ce85a9a">How to find all resources in an AWS account</a> was originally published in <a href="https://medium.com/tailwarden">Tailwarden</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Drift management in cloud infrastructure]]></title>
            <link>https://medium.com/tailwarden/drift-management-in-cloud-infrastructure-6732ff83fd7b?source=rss----897e3c35bc67---4</link>
            <guid isPermaLink="false">https://medium.com/p/6732ff83fd7b</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[terraform]]></category>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Mohamed Labouardy]]></dc:creator>
            <pubDate>Wed, 22 Feb 2023 17:14:00 GMT</pubDate>
            <atom:updated>2023-02-22T17:13:50.655Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/872/0*qRQ5cHdkvzPzgj_T.png" /></figure><p>Over the past few years, the number of infrastructure services has grown, and more applications are being released to production on a daily basis while infrastructure needs to be able to be spun up, scaled, and taken down frequently. The adoption of CI/CD and DevOps practices emphasizes the importance of having similar runtime environments. Without an Infrastructure as Code (IaC) practice in place, it becomes increasingly difficult to manage the scale of today’s average infrastructure environment.</p><p>IaC safeguards the entire process of cloud provisioning and ensures consistency across different environments by codifying and documenting configuration specifications. IaC tools like Terraform helped the dev and ops teams align as they both use the same description of application deployment. In an ideal world, you want everything to be managed by your IaC stack but expectations do not always line up with reality, resources are still being provisioned manually or through the cloud provider’s consoles, causing infrastructure drift and a growing number of untracked assets.</p><p>Understanding the resources that are not managed by IaC in the cloud is a challenge and finding whether they remain in the same configuration defined in the code is yet another task. This blog post will explore the various tools available for detecting and managing infrastructure drift.</p><h4>What’s Infrastructure Drift</h4><p>Infrastructure drift occurs when the configuration of the infrastructure deviates from its intended or documented state. This deviation can be attributed to several factors such as human error, lack of automation, manual intervention, applications making unwanted changes, changes applied to some environments but not propagated to others, and so on, leading to inconsistencies in the infrastructure. Additionally, CI/CD workflows can result in failed pipelines, causing the infrastructure state to become corrupted, leading to orphaned resources and drift.</p><p>One major cause of infrastructure drift is the creation of resources outside of the established IaC tools such as Terraform, CloudFormation, and Pulumi. When this happens, the infrastructure state is not adequately described or persisted, and the changes made to the infrastructure go unnoticed. This opens the door to security vulnerabilities, wasted costs, and compliance issues.</p><p>In some cases, there may be production incidents or emergencies that require quick action, and manual adjustments to the infrastructure via web consoles may be necessary to achieve a better state as soon as possible (and keep the customers satisfied). However, this becomes a problem when those changes are not backported to Terraform which often stems from poor education on best IaC practices, loose access permissions, and a lack of proper communication regarding the infrastructure management process.</p><h4>Why it’s bad</h4><p>Infrastructure drift can have a significant impact on the reliability, security, and cost-effectiveness of the infrastructure. One major issue caused by infrastructure drift is the wastage of cloud resources, which can lead to increased costs. Drifting can result in the creation of duplicate resources or the failure to delete unused ones, leading to an unoptimized cloud environment.</p><p>Furthermore, infrastructure drift can pose a significant threat to the security of the infrastructure. Inconsistent configurations can make the infrastructure vulnerable to security breaches and data leaks. Such inconsistencies can lead to essential resources unintentionally being made publicly accessible, and unsecured resources may go unnoticed. However, if changes to infrastructure were made through IaC, it would be possible to set up compliance policies and security controls, preventing or mitigating issues such as an S3 bucket being accessible to the public and making sure all resources are properly tagged.</p><p>Infrastructure fragmentation is another problem that can arise from infrastructure drift. As the infrastructure becomes more complex, it becomes more difficult to track all resources and changes. This can lead to situations where development teams are unaware of production environment changes, which can cause applications to crash and deployment projects to fail unexpectedly. Moreover, when the IaC tool does not cover the entire infrastructure, it can cause discrepancies between the different environments, leading to inconsistent behavior. This inconsistency can be particularly problematic between the development, staging, and production environments.</p><p>Without a single, shared source of truth, intentional infrastructure changes to remediate incidents could be reverted or temporary changes left unnoticed, wasting thousands of dollars in monthly costs due to unused resources.</p><p>Cloud workloads undergo frequent changes as more workloads and services are deployed to the infrastructure, resulting in more developers and authenticated services interacting with the infrastructure across various cloud environments and providers. Drift is inevitable, just like incidents, and is a part of the infrastructure’s life cycle. Therefore, it’s crucial to be able to easily and quickly detect and possibly revert drift.</p><h4>Drift Management</h4><p>Preventing and resolving infrastructure drift is crucial to maintain the stability and security of the infrastructure. Increasing the adoption of IaC is one of the most effective ways to prevent infrastructure drift. Teams should ensure that a greater percentage of the infrastructure is managed by IaC and leverage code versioning, code reviews, static analysis, automated tests, and so on.</p><p>When resources are created using IaC tools, drift can be detected and resolved promptly. For instance, running a command like “terraform plan” can reveal any drift in resources described in the Terraform files.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*0zIZ2ovBAxtbpulO.png" /><figcaption>Terraform drift detection</figcaption></figure><p>In the screenshot above, we can see that the EC2 instance owner has changed outside of Terraform which is drift.</p><blockquote><em>CloudFormation has a built-in </em><a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/detect-drift-stack.html"><em>drift detection</em></a><em> feature that can be used either via the AWS Console or via the AWS CLI command.</em></blockquote><p>Regular testing and monitoring are also critical to detect and resolve any issues that may arise due to infrastructure drift. Open-source tools like <a href="https://github.com/snyk/driftctl">driftctl</a>, <a href="https://github.com/tenable/terrascan">terrascan</a>, and <a href="https://cloudcustodian.io/">cloud custodian</a> can also be leveraged to detect all changes outside of regular IaC workflow and ensure prompt remediation.</p><p>In addition to tracking infrastructure changes, it is crucial to track who is provisioning what, where, and how often. This is especially important since it can be challenging to track those changes across multiple cloud providers and accounts, and manually checking provisioned resources can be time-consuming. Tools like <a href="https://github.com/tailwarden/komiser">Komiser</a> can be used to build a queryable asset inventory and get a clear picture of the cloud infrastructure. Komiser can detect the drift of managed resources and unmanaged resources in multi-cloud environments, which can be brought under control to maintain consistency and prevent security risks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*YeH2VGhS3LkOqD6A.png" /><figcaption>Cloud asset inventory</figcaption></figure><p>After loading the cloud assets into the Komiser dashboard, teams can use filters and views to query the inventory and identify any unmanaged resources. This feature enables you to efficiently manage your cloud infrastructure and ensure that all resources are tracked and appropriately accounted for through your IaC workflows.</p><h4>Cloud Resource Coverage</h4><p>In addition to the previous points, it is important to regularly schedule drift detection checks to identify any changes that may have occurred. For instance, an hourly check may be appropriate for detecting any changes in IAM roles, while a daily check may suffice for less critical cloud services. Additionally, to minimize the possibility of infrastructure drift due to manual changes, it is recommended to follow the Least Privilege Principle and restrict permissions to cloud practitioners only for necessary tasks. This approach reduces the number of individuals who can make manual changes to the infrastructure.</p><p>In summary, preventing infrastructure drift requires a proactive approach, and a combination of practices and tools can be leveraged to achieve this goal. By increasing IaC adoption, regularly testing and monitoring the infrastructure, and leveraging tools like driftctl and Komiser, teams can detect and resolve drift promptly, maintain consistency, and prevent security risks and bill shocks.</p><blockquote>Regardless if you are a Developer, DevOps, or Cloud engineer. Dealing with the cloud can be tough at times, especially on your own. If you are using Tailwarden or Komiser and want to share your thoughts doubts and insights with other cloud practitioners feel free to join our <a href="https://discord.tailwarden.com/"><em>Tailwarden discord server</em></a>. Where you will find tips, community calls, and much more.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6732ff83fd7b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tailwarden/drift-management-in-cloud-infrastructure-6732ff83fd7b">Drift management in cloud infrastructure</a> was originally published in <a href="https://medium.com/tailwarden">Tailwarden</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to practice FinOps with Komiser]]></title>
            <link>https://medium.com/tailwarden/how-to-practice-finops-with-komiser-c2a7d0cb62d0?source=rss----897e3c35bc67---4</link>
            <guid isPermaLink="false">https://medium.com/p/c2a7d0cb62d0</guid>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Mohamed Labouardy]]></dc:creator>
            <pubDate>Mon, 20 Feb 2023 16:47:35 GMT</pubDate>
            <atom:updated>2023-02-20T16:50:32.095Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*kiQw0tsS8CnmxEKE3HgPDA.png" /></figure><p>Financial Operations (FinOps) is a critical aspect of cloud computing that helps organizations to manage their cloud resources effectively and efficiently. With the increasing popularity of cloud computing, the importance of FinOps has only increased (<a href="https://www.cio.com/article/404314/94-of-enterprises-are-overspending-in-the-cloud-report.html">94% of enterprises overspend</a> in the cloud), as organizations look to reduce their cloud spend and make the most of their investments in cloud infrastructure.</p><p>Despite the increasing concerns around cloud costs, there has yet to be a single tool that comprehensively manages and helps to remediate excessive cloud expenses. As a result, teams continue to depend on a mix of native cloud provider tools, third-party platforms, and Google Sheets.</p><p>According to the <a href="https://data.finops.org/">State of FinOps 2022</a> report, teams are still struggling with the following challenges:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*3jBgV9mBzSRhQpYQ.png" /><figcaption>Key FinOps Challenges</figcaption></figure><p>FinOps is a cultural discipline that involves collaboration among finance, engineering, product, and management. The open-source model can facilitate this collaboration and cover the long tail of cloud providers and services. That’s where <a href="https://github.com/tailwarden/komiser">Komiser</a> comes in as a way to address cloud cost management concerns in today’s multi-cloud environments. It offers insight into cloud resource consumption and expenses, making it a valuable tool for organizations practicing FinOps.</p><p>In this post, we’ll explore how to use Komiser to empower engineers to optimize their cloud spend while following the <a href="https://www.finops.org/framework/principles/">FinOps principles</a>.</p><h4>Cost Allocation</h4><p>Cost allocation is a crucial component of FinOps. Komiser enables cost allocation to individual projects, teams, or departments, which simplifies the tracking of resource usage and its associated expenses. This information can be used to set budgets, track costs, and identify areas where costs can be optimized. For example, if you see that one team is consistently using more EC2 instances than others, you can work with that team to identify opportunities for optimization.</p><p>By utilizing a tagging strategy, you can analyze cloud resource utilization and costs based on specific criteria, such as teams, applications, or cost centers. This approach enables the creation of personalized views that promote accountability for cloud expenses.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*xWx0FM6AFkFgO1Vz.png" /><figcaption>Creating a view with a list of resources created by the Frontend team</figcaption></figure><p>This is a great way to show your teams what they’re spending and why and see the impact of their actions on the monthly bill.</p><h4>Multi-cloud Cost Reporting</h4><p>As you’re moving to a multi-cloud model, you would need a single place where you can manage all your cloud resources. By integrating with several cloud service providers, Komiser can swiftly generate your cloud asset inventory. This allows you to utilize its powerful filter system to uncover idle resources and wasted costs across all your cloud accounts and regions.</p><p>Komiser takes cloud cost management to the next level. Firstly, it gives you visibility into the cloud unit economics that are relevant to you, rather than focusing on a specific cloud vendor. Additionally, it enables you to tag resources across multiple providers and regions using a single interface, which can uncover dormant resources and reduce unnecessary costs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ZQHEs9wAPEMgiEPq.png" /><figcaption>Cloud resources deployed in different providers</figcaption></figure><p>Komiser provides multi-cloud platform support, including AWS, DigitalOcean, OCI, Tencent, Linode, and Civo, with GCP and Azure support to be added soon. It also supports containerization solutions like Kubernetes.</p><h4>Uncovering Idle Resources</h4><p>Komiser provides detailed information on resource utilization, including information on the types of resources being used, the number of resources being used, and the costs associated with each resource. This information can be used to identify opportunities for cost optimization, such as underutilized resources or resources that can be scaled down to reduce costs.</p><p>By assigning human-readable labels to cloud resources, teams can use tagging to increase visibility and make smarter budget allocations. With Komiser’s bulk tagging feature, tags can be efficiently applied to a group of resources provisioned in various providers and regions without leaving the Komiser dashboard.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*AMyVyX0w5vpM8gJF.png" /><figcaption>Filtering resources by environment</figcaption></figure><p>With resources being accurately identified by tags, you can gain a comprehensive understanding of your cloud costs, pinpoint resources that are either redundant or aren’t being used, and identify potential opportunities to save money.</p><h4>Shared Costs Tracking</h4><p>A key aspect of FinOps is that every team member is responsible for their cloud usage. The calculation of the total cost of ownership requires transparency and accuracy, but unallocated shared costs obstruct these factors. If shared costs are not properly divided, engineers and product managers do not have a complete understanding of the actual cost of their apps. To improve visibility into shared resources such as databases, logging, k8s, enterprise support, etc., developers can categorize shared resources and allocate budget, as well as create custom views that separate these shared resources from the rest of the team’s views.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*zlbP2L-C6Maxc2vk.png" /><figcaption>Hide shared resources</figcaption></figure><h4>Cost Trends Analysis</h4><p>It’s important to keep an eye on cost trends over time. Komiser provides information on cost trends, including total costs, cost per resource, per team, or tags. This information can be used to identify cost spikes or patterns in resource usage that may indicate an opportunity for optimization. For example, if you see a sudden increase in costs for the frontend team, it may be a good time to review your CDN utilization and see if there are any opportunities to reduce costs.</p><p>Komiser cost explorers go beyond native tools like AWS Cost Explorer to provide full-funnel cost visibility across your cloud environment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*8u__HblhiF5W_r_i.png" /><figcaption>Komiser cost explorer widget</figcaption></figure><h4>Budget Monitoring</h4><p>In order to stay on top of costs and ensure that resources are being used effectively, it’s important to set alerts in Komiser. Slack alerts can be set to notify you when costs reach a certain threshold, or when resources are being used more than expected. This can help you to catch potential cost optimization opportunities early before they become larger problems.</p><h4>We need your help</h4><p>Although Komiser can serve as a good starting point for enabling FinOps within your organization, there is still room for improvement in terms of features. We’re collaborating with the open-source community and cloud leaders to work on the following enhancements:</p><ul><li>Automatic resource scaling, right-sizing of instances, RI coverage, and other cost optimization recommendations.</li><li>Forecasting based on past cloud usage to anticipate future demand and identify areas for investment.</li><li>Additional support for cloud providers and SaaS platforms.</li><li>Container cost reporting through OpenCost.</li></ul><p>Join our <a href="http://discord.tailwarden.com/">Discord community</a> or visit the <a href="https://github.com/tailwarden/komiser">Komiser repository</a> to find a good first issue and help us create the future for DevOps where the cloud is transparent and collaborative.</p><h4>Conclusion</h4><p>Developing a FinOps culture takes time, but it is essential for creating a sustainable business model. With the right strategy and tools, such as Komiser, you can automate cloud cost management, address complex edge cases, and set higher performance goals. By building a cloud asset inventory, tracking usage and costs, and setting custom alerts, organizations can optimize their cloud infrastructure and make the most of their investments.</p><p>Whether you’re just starting out with cloud computing or are an experienced user, <a href="https://github.com/tailwarden/komiser">Komiser</a> is a valuable tool for practicing FinOps and optimizing cloud spend.</p><blockquote>Regardless if you are a Developer, DevOps, or Cloud engineer. Dealing with the cloud can be tough at times, especially on your own. If you are using Tailwarden or Komiser and want to share your thoughts doubts and insights with other cloud practitioners feel free to join our <a href="https://discord.tailwarden.com/"><em>Tailwarden discord server</em></a>. Where you will find tips, community calls, and much more.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c2a7d0cb62d0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tailwarden/how-to-practice-finops-with-komiser-c2a7d0cb62d0">How to practice FinOps with Komiser</a> was originally published in <a href="https://medium.com/tailwarden">Tailwarden</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Manage your Kubernetes objects all in one place with Komiser]]></title>
            <link>https://medium.com/tailwarden/manage-your-kubernetes-objects-all-in-one-place-with-komiser-f1644f757f8e?source=rss----897e3c35bc67---4</link>
            <guid isPermaLink="false">https://medium.com/p/f1644f757f8e</guid>
            <category><![CDATA[cost]]></category>
            <category><![CDATA[integration]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <dc:creator><![CDATA[Jake Page]]></dc:creator>
            <pubDate>Wed, 15 Feb 2023 14:58:33 GMT</pubDate>
            <atom:updated>2023-02-15T14:58:33.390Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/872/1*EtpbtbOfH4c6OzwmUNO5oQ.png" /></figure><h3>The cloud observability problem</h3><p>Managing and optimizing cloud resources is crucial to maximizing their effectiveness, and the right tools can make all the difference when trying to avoid vendor lock-in and tailoring solutions specifically to you. However, many cloud providers struggle to offer a unified and straightforward management platform that works across different cloud environments.</p><p><a href="https://github.com/tailwarden/komiser">Komiser</a> is an open-source cloud cost optimization tool that can help with this challenge. It provides insights into the costs associated with different regions, managed services, and individual resources, making it a valuable addition to any cloud environment. But not only that, Komiser’s Kubernetes integration offers even greater visibility into the Kubernetes clusters running on compute instances, allowing users to create custom views that dynamically update to reflect the current state of their microservice resources.</p><p>With Komiser, you can easily gain a complete picture of your cloud cost and usage by leveraging one easy-to-use tool. Komiser offers cloud-agnostic transparency for cost and resource utilization, making it a valuable addition to any cloud environment, regardless of the cloud provider.</p><h3>Why Kubernetes?</h3><p>Kubernetes is the present and future of container orchestration. It’s a platform that allows you to automate the deployment, scaling, and management of your containerized applications. With Kubernetes, you can build, test, and deploy your applications faster and more reliably. No more manual updates or tedious scripting, Kubernetes does it all for you.</p><p>The benefits of Kubernetes are numerous and undeniable. For starters, it increases efficiency and productivity. By automating tasks, developers can focus on writing code and building great products. Kubernetes also provides a level of consistency and reliability that’s unparalleled. No more worrying about different environments causing bugs or crashes, Kubernetes ensures your application runs the same way, every time. And let’s not forget about scalability. Kubernetes makes it easy to scale your applications up or down, on-demand. So, whether you’re running a small blog or a massive enterprise application, Kubernetes has got you covered.</p><h3>Kubernetes configuration</h3><p>Komiser now integrates with Kubernetes and takes cloud management to the next level. With this integration, you can now view your Kubernetes objects in the Komiser dashboard, providing complete transparency into your cluster. This gives you the ability to bundle your objects (Deployments, Ingress, Pods, PersistentVolumes, PersistentVolumeClaims, ServiceAccounts, and Services) into custom views, alongside other cloud resources, making it easier to understand and manage your cloud spending. By having all of your resources in one place, you can make informed decisions about how to optimize your costs and ensure that your cluster is running as efficiently as possible. The integration of Komiser with Kubernetes streamlines cloud management and empowers organizations to effectively manage their cloud costs and resources.</p><h4><strong>Adding kubeconfig to the configuration file</strong></h4><blockquote>In this example, I’ll be integrating Komiser with three EKS clusters I have deployed to my AWS account.</blockquote><p>Easily integrate your Kubernetes clusters by adding a block to the <strong>config.toml </strong>file as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9_W3vtefETVXhCJ2Rfzccg.png" /><figcaption>config.toml file</figcaption></figure><p>Above we are integrating three separate Kubernetes accounts named <strong>“my-demo-cluster”</strong>, <strong>“my-demo-staging-cluster”</strong> and <strong>“my-demo-production-cluster”</strong>. Add the path to each individual <strong>kubeconfig</strong> file and you are all set.</p><blockquote>At present, the sole means of cluster integration offered by Komiser’s Kubernetes support (<strong>v1</strong>) is by directly inputting each individual <strong>kubeconfig</strong> containing the cluster credentials. In the future, we will add support for adding all clusters to the same <strong>kubeconfig</strong> file and you will be able to load the file once and subsequently choose the cluster profile in each configuration block.</blockquote><p>You can locate your <strong>kubeconfig</strong> file at <strong>~/.kube/config</strong> on your local machine.</p><p>View of my Kubernetes resources in the Komiser dashboard, which I saved in a <strong>Kubernetes resources</strong> custom view:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6SAxfLiKWoKQJozrPAtKJQ.png" /><figcaption>View Kubernetes objects in Komiser</figcaption></figure><h3>AWS Configuration</h3><p>To take it a step further, we can update the configuration file to include the AWS account where the Kubernetes clusters we’re tracking are located. This enables us to track and manage not only the Kubernetes objects but also the general AWS resources on which the clusters run.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VJ3dPx9pJMmNmRvFAlobWQ.png" /><figcaption>Updated config.toml file (Includes AWS config)</figcaption></figure><p>By running this configuration, we can see that the resource inventory page now fetches additional AWS resources, providing us with a more complete picture of our cloud environment. With this enhanced visibility, we can create even more comprehensive custom views and gain greater transparency into our cloud resources.</p><h4>Resource inventory view</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JkhfbonR2W1OYNPzCmD9JQ.png" /><figcaption>Komiser view of AWS and K8s resources</figcaption></figure><h3>Self-hosting Komiser in a Kubernetes cluster</h3><p>If you want to self-host Komiser in a Kubernetes cluster, you can use the official Komiser [Helm chart](<a href="https://github.com/tailwarden/helm">https://github.com/tailwarden/helm</a>) to deploy it to any type of Kubernetes cluster. Although the documentation focuses on deploying to an AWS EKS cluster, you can use it to deploy to any other Kubernetes cluster as well.</p><h4>Tutorial Video</h4><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F4veDmJpui44%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4veDmJpui44&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F4veDmJpui44%2Fhqdefault.jpg&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/cfa4d671feb8018385aa5329bf73cab4/href">https://medium.com/media/cfa4d671feb8018385aa5329bf73cab4/href</a></iframe><blockquote>Regardless if you are a Developer, DevOps, or Cloud engineer. Dealing with the cloud can be tough at times, especially on your own. If you are using Tailwarden or Komiser and want to share your thoughts doubts and insights with other cloud practitioners feel free to join our_ [Tailwarden discord server](<a href="https://discord.tailwarden.com/)_">https://discord.tailwarden.com/)_</a>. Where you will find tips, community calls, and much more.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f1644f757f8e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tailwarden/manage-your-kubernetes-objects-all-in-one-place-with-komiser-f1644f757f8e">Manage your Kubernetes objects all in one place with Komiser</a> was originally published in <a href="https://medium.com/tailwarden">Tailwarden</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>