<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Michael on Medium]]></title>
        <description><![CDATA[Stories by Michael on Medium]]></description>
        <link>https://medium.com/@michael.reuben.mellor?source=rss-7fb3c9256946------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Stories by Michael on Medium</title>
            <link>https://medium.com/@michael.reuben.mellor?source=rss-7fb3c9256946------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 07:00:28 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@michael.reuben.mellor/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[UniFi BGP with Kubernetes]]></title>
            <link>https://medium.com/@michael.reuben.mellor/unifi-bgp-with-kubernetes-aec1e25e0e91?source=rss-7fb3c9256946------2</link>
            <guid isPermaLink="false">https://medium.com/p/aec1e25e0e91</guid>
            <category><![CDATA[bgp]]></category>
            <category><![CDATA[homelab]]></category>
            <category><![CDATA[unifi]]></category>
            <category><![CDATA[kubernetes]]></category>
            <dc:creator><![CDATA[Michael]]></dc:creator>
            <pubDate>Wed, 27 Aug 2025 10:59:15 GMT</pubDate>
            <atom:updated>2025-08-27T10:59:15.394Z</atom:updated>
            <content:encoded><![CDATA[<p>Ever wanted to get virtual IP addresses for your Kubernetes Services on your UniFi Network. Well hopefully this is the treasure map that you’ve been looking for.</p><p>First a bit of background; I’m a Platform Engineer and have been working with Kubernetes for a couple of years now. Most of my experience has been either with the Public Cloud Kubernetes offerings like GKE or EKS and the easy to run single device Kubernetes solutions like Kind and MiniKube.</p><p>About 6 months ago I took the plunge into building out a homelab and invested in some UniFi gear, specifically a UniFi Dream Machine SE. I had been amazed by the amount of open source solutions that you can run yourself things like immich, bitwarden, authentik, plex as well as completely custom applications that I have Coded and wanted to deploy on my own hardware. After a little time trying out other solutions like docker swarm I came to the decision that I wanted a homelab Kubernetes cluster.</p><p>Virtual IP’s aren’t really a native feature in the UniFi Network and previously if you wanted to get BGP working on your UDM you were reliant on SSH’ing onto the Device and adding the configuration and necessary services yourself. More recently though BGP support became much better allowing you to do all the configuration in the console and providing stability for applications like these.</p><h3>Why BGP?</h3><p>Well put simply availability. I remember at my first real job in the industry setting up a server rack, and demonstrating that we could completely remove a hard drive and would lose no data because it was replicated across the other drives with RAID. The same is possible with compute and Kubernetes is designed to handle nodes failing. But your networking infrastructure needs to handle this sort of failover, it needs to be smart when nodes go offline and send traffic to nodes that are still online all in a way that makes the issue invisible to your application users.</p><p>Border Gateway Protocol is specifically designed to handle this sort of fault tolerant routing. Your router in my case my UniFi Dream Machine will communicate with each of the Kubernetes control plane nodes which are designated as neighbours. The UDM stays in constant communication with it’s neighbours to make sure that they are able to receive traffic, if a neighbour goes down it will no longer be routed to and traffic will only go to one of the other healthy neighbours. From the perspective of everything else the applications and services are serviced from a single IP address that is linked to a Kubernetes LoadBalancer service, this gives us a single entry that we can point DNS at.</p><p>There are several alternatives to BGP worth considering:</p><p><strong>External Load Balancers</strong> like nginx or traefik can be deployed on dedicated nodes to handle traffic distribution. However, this approach simply shifts the single point of failure problem — you’d need to load balance your load balancers, creating an endless cycle of complexity.</p><p><strong>ARP-based solutions</strong> offer a middle ground between simplicity and functionality. They’re easier to configure and compatible with any network equipment, but they come with significant trade-offs: slower failover times, inability to work across VLANs, and fundamentally less intelligent routing that can’t take advantage of Kubernetes’ distributed architecture.</p><h3>Architecture</h3><p>Okay let me try and help you visualise the traffic flow that is happening when a local machine say your desktop, laptop or phone on your home network is accessing an application on the Kubernetes cluster with the diagram below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qtXQjXfd3Q_s9KvhxMWE2Q.png" /><figcaption>BGP Flow Visualisation</figcaption></figure><p>So your host machine is connected to the home network on the IP range 192.168.0.x and has the specific address of 192.168.0.2. You go onto your browser and access the application, the application through DNS will resolve onto the Virtual IP address that we’ve configured in the Kubernetes Load Balancer Service (more details on this later on). Let’s give our hypothetical application a virtual IP address of 10.0.0.8 this is in our BGP range 10.0.0.x that we configure in the UniFi Network Policy. This configuration will have the peer addresses of the individual control plane nodes in the Cluster which are also on the home network. Your traffic flow goes from your host to the default gateway (the UniFi Dream Machine) and then via BGP to one of the control plane nodes, it will be routed through the Clusters internal Network to the correct Service for the application.</p><p>A couple important notes. Firstly the BGP range is not managed as an internal network, your UniFi firewall will classify it as an external address and it must not clash with the ranges that you’ve used for any other VLANs. Secondly you will likely want your Kubernetes cluster to be in a separate VLAN, for simplicity sake I’ve kept it all together in the diagram in one home network.</p><h3>BGP in Kubernetes</h3><p>So far we’ve mostly looked at how UniFi handles BGP but we need also need to consider how the Kubernetes nodes handle BGP as well. In Kubernetes there are a few different options to implement virtual IP’s through BGP. All of the solutions work in a very similar way, you provide the ASNs and IPs and your chosen solution will be able provision virtual IPs from a designated range or pool to Services designated as a LoadBalancer. Once the virtual IP is designated to your service you will be able to access it externally giving you direct network access into your cluster. As it’s an IP you can choose whatever port you like, it will still be bound to a node port though which you will also be able to access the Service on.</p><p>Here are a few of the solutions that you can use to implement the LoadBalancer service:</p><ul><li>MetalLB — This solution was the first that I implemented and was by far the easiest to setup. I’d recommend this highly if you are just looking for a LoadBalancer Solution for your applications.</li><li>Kube VIP — This solution has a lot of different configuration options compared with MetalLB and I’ve heard good things from those that have used it. As of the time of writing though it had a big issue which I encountered when setting it up which is that it requires super admin permissions; if you are contemplating using Kube VIP I would seriously consider reading this <a href="https://github.com/kube-vip/kube-vip/issues/684">issue</a>. The aforementioned issue wrote the solution off for me as giving it the required permissions was not easily possible with Talos which I was using for my cluster at the time.</li><li>Cilium — This was the golden child for me but Cilium is a lot more than just a Load Balancer Virtual IP solution it’s a complete network solution for Kubernetes and will entirely replace something like Flannel which will accompany one of the other Solutions. Because of this it does require more extensive setup as you will likely need to start your Kubernetes Cluster without any networking and then implement Cilium with the CLI or helm chart.</li></ul><p>Cilium and Kube VIP also come with the advantage of allowing you to Load Balance the Kubernetes API itself. This means that you can use a single fault tolerant address in your kube config file which should work regardless of whether certain control plane nodes become inoperable.</p><h3>Setup</h3><p>This is the setup that I used to implement a highly available Kubernetes Cluster with UniFi BGP and Cilium. To get started you will need a Kubernetes cluster without any pre-deployed networking solution, I would recommend using something like Talos or K3s. I use the following K3s config values:</p><pre>disable-kube-proxy: true<br>disable-network-policy: true<br>tls-san:<br>  - controlplane-01<br>  - controlplane-02<br>  - controlplane-03<br>  - &lt;controlplane-01-ip&gt;<br>  - &lt;controlplane-02-ip&gt;<br>  - &lt;controlplane-03-ip&gt;<br>  - &lt;my-public-ip&gt;<br>disable:<br>  - traefik<br>  - servicelb<br>  - flannel<br>  - local-storage</pre><p>You should then be able to deploy Cilium using either the CLI or directly through the helm release. I use the following helm values file for Cilium:</p><pre>kubeProxyReplacement: true<br>bgpControlPlane:<br>  enabled: true<br>ipam:<br>  mode: kubernetes<br>  operator:<br>    clusterPoolIPv4PodCIDRList: [&quot;10.42.0.0/16&quot;]<br>securityContext:<br>  privileged: true<br>routingMode: native<br>autoDirectNodeRoutes: true<br>ipv4NativeRoutingCIDR: 10.42.0.0/16<br>bpf:<br>  masquerade: true<br>hubble:<br>  enabled: false<br>  relay:<br>    enabled: false<br>  ui:<br>    enabled: false<br>policyEnforcementMode: never<br>k8sServiceHost: localhost<br>k8sServicePort: 6443</pre><p>Once you have verified that the helm release has installed successfully and all the Cilium pods in the kube-system namespace are working as expected you can set the BGP config file in the UniFi Settings.</p><p>Head to unifi.ui.com &gt; Network &gt; Settings &gt; Policy Engine &gt; BGP. You will want to upload a conf file like this:</p><pre>router bgp 65000<br>  bgp router-id &lt;router-ip&gt;<br>  no bgp ebgp-requires-policy<br>  neighbor &lt;controlplane-01-ip&gt; remote-as 65001<br>  neighbor &lt;controlplane-01-ip&gt; soft-reconfiguration inbound<br>  neighbor &lt;controlplane-02-ip&gt; remote-as 65001<br>  neighbor &lt;controlplane-02-ip&gt; soft-reconfiguration inbound<br>  neighbor &lt;controlplane-03-ip&gt; remote-as 65001<br>  neighbor &lt;controlplane-03-ip&gt; soft-reconfiguration inbound<br><br>address-family ipv4 unicast<br>  network &lt;vip-range&gt;<br>  neighbor &lt;controlplane-01-ip&gt; activate<br>  neighbor &lt;controlplane-02-ip&gt; activate<br>  neighbor &lt;controlplane-03-ip&gt; activate<br>exit-address-family</pre><p>You can upload this and enable it, if there is an error in the config you will promptly get a Warning log message. To properly troubleshoot BGP if it’s not working you will need to SSH onto your UDM but first you will need to deploy the Cilium CRD resources that relate to BGP.</p><p>You should then deploy the following Manifest into the cluster:</p><pre>apiVersion: cilium.io/v2alpha1<br>kind: CiliumBGPClusterConfig<br>metadata:<br>  name: bgp-cluster-config<br>spec:<br>  nodeSelector:<br>    matchLabels:<br>      node-role.kubernetes.io/control-plane: &quot;true&quot;<br>  bgpInstances:<br>    - name: &quot;instance-65001&quot;<br>      localASN: 65001<br>      peers:<br>        - name: &quot;peer-65000&quot;<br>          peerASN: 65000<br>          peerAddress: &lt;router-ip&gt;<br>          peerConfigRef:<br>            name: &quot;cilium-peer-config&quot;<br>---<br>apiVersion: cilium.io/v2alpha1<br>kind: CiliumBGPPeerConfig<br>metadata:<br>  name: cilium-peer-config<br>spec:<br>  families:<br>    - afi: ipv4<br>      safi: unicast<br>      advertisements:<br>        matchLabels:<br>          advertise: &quot;bgp&quot;<br>---<br>apiVersion: cilium.io/v2alpha1<br>kind: CiliumBGPAdvertisement<br>metadata:<br>  name: bgp-advertisements<br>  labels:<br>    advertise: &quot;bgp&quot;<br>spec:<br>  advertisements:<br>    - advertisementType: &quot;PodCIDR&quot;<br>    - advertisementType: &quot;Service&quot;<br>      service:<br>        addresses:<br>          - LoadBalancerIP<br>      selector:<br>        matchExpressions:<br>          - {key: cilium-lb-disabled, operator: NotIn, values: [&#39;true&#39;]}<br>---<br>apiVersion: cilium.io/v2alpha1<br>kind: CiliumLoadBalancerIPPool<br>metadata:<br>  name: main-pool<br>  namespace: kube-system<br>spec:<br>  blocks:<br>    - cidr: &lt;vip-range&gt;<br>---<br>apiVersion: v1<br>kind: Service<br>metadata:<br>  name: controlplane-lb<br>  namespace: kube-system<br>spec:<br>  type: LoadBalancer<br>  loadBalancerIP: &lt;vip-for-kubernetes-api&gt;<br>  ports:<br>    - port: 6443<br>      targetPort: 6443<br>      protocol: TCP<br>      name: https<br>---<br>apiVersion: discovery.k8s.io/v1<br>kind: EndpointSlice<br>metadata:<br>  name: controlplane-lb<br>  namespace: kube-system<br>  labels:<br>    kubernetes.io/service-name: controlplane-lb<br>addressType: IPv4<br>ports:<br>  - port: 6443<br>    protocol: TCP<br>    name: https<br>endpoints:<br>  - addresses:<br>      - &lt;controlplane-01-ip&gt;<br>      - &lt;controlplane-02-ip&gt;<br>      - &lt;controlplane-03-ip&gt;</pre><p>The first few resources: CiliumBGPClusterConfig, CiliumBGPPeerConfig, CiliumBGPAdvertisement and CiliumLoadBalancerIPPool relate to the BGP configuration for Cilium. These are the minimum that you will need to get BGP VIPs working for your LoadBalancer Services. The last two resources the LoadBalancer Service and the Endpoint Slice allow us to LoadBalance the Kubernetes API itself. After verifying that Cilium is setup correctly you can change the IP address in your kube config file to the one that you designate for &lt;vip-for-kubernetes-api&gt;.</p><h4>Troubleshooting</h4><p>If you are having issues with setting up the above or a similar approach with another LoadBalancer solution like MetalLB you should ensure the following:</p><ul><li>The UniFi Firewall is permitting the connections, as stated earlier the VIP Range is in the external zone. You can check the connection with a tool like netcat or telnet for instance nc -zv &lt;controlplane-01-ip&gt; 179`.</li><li>Check the logs and status of the relevant Pods. For Cilium start by checking the operator make sure that the relevant CRD’s installed successfully. If that looks good you should check the pods named cilium-&lt;random-suffix&gt; these are the pods actually responsible for the BGP connection.</li><li>You should also troubleshoot the connection from the other end by SSH’ing onto the UDM. A few commands that are good to check is vtysh -c ‘show bgp summary’` to check BGP status and vtysh -c ‘show bgp ipv4 unicast’` to check route learnings. You might also want to run ip route | grep ‘&lt;vip-range-prefix&gt;’` to make sure the routes are propagated.</li></ul><h3>Conclusion</h3><p>Setting up virtual IP’s through BGP with UniFi and Kubernetes is an awesome way to take your homelab a step closer to high availability. I love being able to give my application services a dedicated directly reachable IP, it means I can easily set local DNS, don’t have to worry about port usage, have a direct way to access my application when Ingress/TLS is not playing ball and it just feels that much closer to using a Cloud environment just at a fraction of the cost.</p><p>Have you tried using BGP in UniFi, if so what was your experience? I’d love to hear about it down below whether it’s Kubernetes based or not. If you followed the Setup how did it go? Were there any issues or could I of made anything clearer? I created this article in a hope that it would help others recreate the same or similar setup just in a lot less time than it took me.</p><p>Happy home-labbing!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aec1e25e0e91" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Atmos]]></title>
            <link>https://medium.com/@michael.reuben.mellor/atmos-54ce0c80e6db?source=rss-7fb3c9256946------2</link>
            <guid isPermaLink="false">https://medium.com/p/54ce0c80e6db</guid>
            <category><![CDATA[terraform]]></category>
            <category><![CDATA[infrastructure-as-code]]></category>
            <category><![CDATA[atmos]]></category>
            <dc:creator><![CDATA[Michael]]></dc:creator>
            <pubDate>Fri, 18 Jul 2025 16:36:03 GMT</pubDate>
            <atom:updated>2025-07-18T16:36:03.655Z</atom:updated>
            <content:encoded><![CDATA[<h4>Piecing Terraform Together</h4><h3>Product View</h3><p>Firstly a bit about the tool and it’s value proposition, Atmos is a wrapper around Terraform built to help manage IAC monorepos. Produced by CloudPosse, a company offering professional services in the DevOps and Cloud landscape with a specific focus on jumpstarting AWS Platforms. Atmos itself is free and open source, I’ve left some references to their repo and docs which you can find at the end of the article. But what does it actually do you? Well Atmos helps you modularise Terraform configurations, a good way to describe it would be taking your regular Terraform configuration with lots of different modules and letting you deploy them all individually passing vars and other configuration options from YAML files.</p><p>Typically when managing multiple application infrastructure configurations you are forced to compromise between spreading things out into lots of different repositories or bundle many things into one repository. When opting for the latter you can choose between managing one big Terraform state which can become really slow to plan and apply or lots of different states spread into separate folders, which requires a lot more work on the CI side and becomes tricky to scale fluidly and with conformity. Atmos specifically addresses the challenges of managing lots of different Terraform configurations in a single repository. Atmos acts as the overseer of all your Terraform configurations, everything that you would conventionally do with Terraform you would now do through Atmos. Atmos then handles all the cumbersome aspects of managing lots of different Terraform configurations in a single place. For instance without Atmos if I was managing multiple configurations in a single place and I wanted to run a plan for one of my configurations I would have to change into that directory, run init, checkout to the right workspace, grab the right varfile before I could run my intended Terraform plan. With Atmos these steps can all be achieved in a single command by simply running atmos terraform plan &lt;component&gt; -s &lt;stack&gt;. It’s not just convenience Atmos gives you the visibility of all your configurations on a single plane with the Atmos YAML configurations to back it all up.</p><h3>Atmos Locally</h3><p>I’ve had a lot of experience with Terraform and I’ve seen it done many different ways but Atmos is something I’ve only got to grips with very recently. I was dropped into the middle of a project that was halfway through, taking over a half constructed Platform centred around the Atmos tool. I was forced to get up to speed quickly and I have to say the docs were a fantastic aid and the tool itself is rather intuitive to learn provided you have a good understanding of Terraform. Getting setup with an existing Atmos repository is as simple as installing the tool, authenticating with your Terraform providers and changing to the directory with your atmos.yaml or loading it via env var. After this you can simply run the atmos command where you’ll be greeted by this awesome interactive terminal app:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EKXySvG5gaFx3FSANXqBlQ.png" /></figure><p>Here you have all of Atmos’ capabilities at your finger tips and you’ll immediately notice how the resources are broken up into stacks and components, the latter being a child of the former. A component corresponds to a Terraform workspace, in essence this is a Terraform configuration that you’ve defined in the repo and pointed Atmos to in the atmos.yaml. A component is made up of the Terraform component i.e. the Terraform folder with all the .tf files and the Atmos component; the individual invocation of the Terraform folder defined in YAML. You’ll pass things like your tfvars, Atmos settings and other configuration. An example Atmos component definition might looks something like this:</p><pre>---<br>import:<br>  - ./_defaults<br><br>components:<br>  terraform:<br>    vpc:<br>      metadata:<br>        component: aws/vpc<br>      settings:<br>        github:<br>          actions_enabled: true<br>      vars:<br>        name: vpc<br>        tags:<br>          component: &quot;vpc&quot;<br>          expense-class: &quot;networking&quot;<br>        ipv4_primary_cidr_block: &quot;10.10.0.0/20&quot;<br>        enable_vpc_endpoints: true<br>        nat_gateway_enabled: true<br>        enable_igw_routes: true<br>        max_nats: 1<br>        public_subnets_enabled: true<br>        private_subnets_enabled: true<br>        private_label: &quot;private&quot;<br>        public_label: &quot;public&quot;<br>        ipv4_cidrs:<br>          - private:<br>              - &quot;10.10.1.0/24&quot;   # az-a<br>              - &quot;10.10.2.0/24&quot;   # az-b<br>            public:<br>              - &quot;10.10.0.0/27&quot;   # az-a<br>              - &quot;10.10.0.32/27&quot;  # az-b</pre><p>When you run one of these commands e.g. terraform plan for a given component you’ll notice that Atmos goes into the component creates a var file, runs init, checks out to a unique workspace for the component and then runs the command. The output is exactly what you’d expect from running all of these commands yourself. This is great if you’ve already got a strong understanding of Terraform because it behaves exactly like the vanilla configuration. Compared to running lots of different configurations and workspaces yourself it really does make things easier, no worrying about getting the right var file or making sure you checked out the right workspace, Atmos does this all for you.</p><h3>Atmos in CI</h3><p>This was where my difficulty with Atmos really began, because Atmos splits up your Terraform configuration you inherit the burden of managing which components have changed and in which order they need to be applied. In comparison most conventional Terraform codebases have a single configuration and this is then re-used for multiple environments through workspaces with different vars being passed for each workspace. This makes the conventional Terraform CI steps really easy you simply check out to right workspace for the given environment and then you run your plan/apply. Terraform does all the heavy lifting when it comes to dependency management and figuring out exactly what has changed. This ease of use is a massive reason my Terraform has become so popular.</p><p>In contrast when you come to sorting out the plan/apply steps in CI for Atmos you’ll have to figure out which components need to be run and in which order. There are inbuilt commands to help with this challenge provided you’ve set dependencies for your components, specifically the atmos describe affected command which will take in a git hash or use the default branches HEAD to compare against and tell you which components have changed. You can then use this output to create pipeline jobs that will run a plan or apply for the relevant component. Some of this can be made easier by consuming the CloudPosse Github actions however these obfuscate a lot of what is really happening and will leave you pretty confused when things go wrong. I instead chose to write much of the logic myself using the out of the box Atmos commands and passing JSON output between Jobs. For good visibility of your components you’ll most likely want to run each component in it’s own Job. To do this in Github Actions you’ll construct matrices, because of the ordering and the amount of components you’ll want to be able to handle you end up using deeply nested matrices (i.e. a matrix job that calls another matrix job) this adds a lot of complexity to the pipelines and makes it tricky for someone unfamiliar to get to grips with.</p><p>And then there is the edge cases that become increasingly difficult in CI, these are a few that were especially painful to me:</p><h4>Deletions</h4><p>Sometimes you’ll want to remove a component and you’d hope you could just remove the Atmos component definition and let the CI handle everything for you. However this is a real challenge for CI as Atmos only knows about the resources that are defined, so once the definition is removed Atmos loses track of it. You’d have to implement a lot of custom logic comparing against previous commit versions to Automate the deletion process. I can imagine that a lot of people will simply not implement this and it will likely result in orphaned infrastructure persisting at the companies expense. This is something that I think could be handled better by Atmos, I could imagine an atmos describe orphaned` command that would list the workspaces in the defined backend and output any that don’t have a component definition associated with them</p><h4>Drift and Null Changes</h4><p>Often in Terraform you’ll see that things have changed outside of the Terraform configuration maybe someone changed something manually, or maybe a data value changed which then affects how the resources should be configured. These types of changes get picked up often when you run a single Terraform configuration because every time you run a plan these things are checked. When you implement logic to only plan the components that have changed many of these things will be missed and you will either have to deal with these changes when there is finally a relevant change to the component or implement more custom CI logic to run regular plans on all components to check for these sorts of things.</p><h4>Component Output References</h4><p>The interoperability between components is much more challenging than having all of the resources in a single tfstate. Say for instance you want to create your VPC in your networking component and then in your application component which deploys an ECS Service you need to reference the VPC ID. Atmos does allow you to reference outputs in the YAML configuration though it will need to run a terraform output command in the background and even so it would often cause failures in CI if everything is not setup properly. You may end up using resources like remote state and ssm parameters to get around these issues.</p><p>None of these problems are especially unique to Atmos, you’ll likely face these when coming up with your own tooling to mange multiple Terraform configurations in a single repository. But the points are still critical when considering using Atmos or a more conventional Terraform setup.</p><p>These issues are compounded by falling into the trap of making your components too small, for instance instead of creating all the parts of an ECS Microservice (Task Definition, ECR repository, Application load balancer, ECS Service, etc…) in isolated components create them in a single component that composes conventional terraform modules. This will really help reduce the pain of the points above and you really won’t be taking any penalty when it comes to deploy time or composability. All that being said when the CI works it really is very impressive and you get a feel for the scale of Infrastructure that you can manage with Atmos.</p><h3>Conclusion</h3><p>Atmos is a really powerful tool for managing Terraform configurations but it’s value proposition directly tracks with the amount of infrastructure your managing. That said if your just going to be using it locally I’d go right ahead and get started, the CLI makes navigation and deployments really slick but for teams using Gitops based patterns for managing Infrastructure development I’d only consider using Atmos at a scale where the value proposition actually makes sense. Make sure it’s worth the investment and maintenance of proper CI for the tool and your use case. If your on the fence I’d strongly suggest starting out with a single Terraform configuration and adopt Atmos when the the ability to scale becomes paramount.</p><p>Have you tried Atmos ? If so what was your experience I’d love to hear about it down below.</p><h4>References</h4><ul><li>Atmos Github: <a href="https://github.com/cloudposse/atmos">https://github.com/cloudposse/atmos</a></li><li>Atmos Docs: <a href="https://atmos.tools/">https://atmos.tools</a></li><li>CloudPosse: <a href="https://cloudposse.com/">https://cloudposse.com</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=54ce0c80e6db" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>