<?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 Eliran Kononowicz on Medium]]></title>
        <description><![CDATA[Stories by Eliran Kononowicz on Medium]]></description>
        <link>https://medium.com/@elirankononowicz?source=rss-562a666f59a5------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*1M4pYVT1QSoo6ZNaT3kUtQ.jpeg</url>
            <title>Stories by Eliran Kononowicz on Medium</title>
            <link>https://medium.com/@elirankononowicz?source=rss-562a666f59a5------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 19:28:34 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@elirankononowicz/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[Preventing Vendor Locking, but at what Cost?]]></title>
            <link>https://medium.com/hackernoon/preventing-vendor-locking-but-at-what-cost-eb7279ca2a87?source=rss-562a666f59a5------2</link>
            <guid isPermaLink="false">https://medium.com/p/eb7279ca2a87</guid>
            <category><![CDATA[backend]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[migration]]></category>
            <dc:creator><![CDATA[Eliran Kononowicz]]></dc:creator>
            <pubDate>Mon, 01 Oct 2018 18:54:31 GMT</pubDate>
            <atom:updated>2018-10-01T18:54:31.585Z</atom:updated>
            <content:encoded><![CDATA[<p>My team has recently been tasked with migrating a 5 year old monolith back-end app into event-based, reactive microservices.</p><ul><li>A 5 year old app.</li><li>200K+ LOC.</li><li>Running on-prem, deployed manually.</li><li>“What are containers?”</li></ul><p>This seems like fun, fun, fun!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*pDqB7CM1pHJWoKhFstScMQ.jpeg" /><figcaption>No, one does not…</figcaption></figure><h3>Why even bother migrating?</h3><p>The reasons are all too familiar: “The code is full of bugs, and fixing them causes more bugs”, “everything is just so tightly coupled with everything”, “we’re running many business lines on the same server”, ”we have X deprecated libraries and Y vulnerabilities”, and so on. So we’ve decided: the R&amp;D department will take a few months to embark on the great journey of rewriting and re-architecting the infrastructure.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*AaZxz5l84EWAl7soAV4Adg.gif" /><figcaption>Everything… is…. fine…</figcaption></figure><p>A migration consulting company was hired, meetings were held, spreadsheets with execution plans were written and all was set to start. Together with our CTO, we decided that the migration will be done to AWS — they offer the best migration package, there’s more community engagement, but more than anything- “everyone else is doing it, so why can’t we?”.</p><p>2 months later, we’re setting up Kubernetes clusters for our services, EC2 instances for databases and such — life is peachy. Axes on shoulders, we were making our way to hack at the monstrosity that is the “Backend Server”!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/1*pb6PB1fKf-5ZEyfYUwr7ug.gif" /></figure><h3>Out with the old, in with the new?</h3><p>In our internal planning meetings, we surveyed all the services in the old architecture. One of them was a “configuration server”. A simple KV store, implemented in-house, that wasn’t written in a production-ready state of mind. After much deliberation, a decision was made to retire the configuration server and move to Consul. Consul is a known and tested product, with HA capabilities, a great community and offers the same capabilities the configuration server has (and more, of course). We also contemplated using Vaults (also by HashiCorp) to store any secrets.</p><p>In one of the regular meetings we held with the migration consultants, we started talking about how many EC2 instances we’ll need to host Consul and Vaults:<br> — “So 3 for Consul, and another 3 for Vaults”<br> — “And we need monitoring, and runbooks, and backups”.<br> — “Also, make sure they’re on different availability zones, for better redundancy.”</p><p>That’s when it hit me.</p><p>— “Wait, why don’t we just go for S3 and Secrets Manager”?<br> — “What do you mean?! You don’t want to be locked into AWS, do you?!”</p><h3>Is it really that bad?</h3><p>At first glance, this is somewhat true. Hosting configuration keys and secrets in services managed by AWS (or any cloud provider, in that sense) does incur a bit of “vendor locking”. In big companies, where there’s a dedicated DevOps team, self-managing all the services is a viable option. This isn’t the case — a small startup, with a small R&amp;D department, trying to self-manage all of the infrastructure will just cause us to cave in under the pressure. Sleepless nights, thinking if the monitoring system is doing its job, trying to remember if the configurations for each environment were set correctly, adhering to best practices, etc. Ugh, it’s just too much.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*SluD3_B_sloEZABTAkWIpg.gif" /></figure><p>Let’s think of the worst case scenario: AWS gives us hell, nothing works and we decide to move to other cloud providers (DigitalOcean, Google Cloud, Azure, and the likes). Each of the cloud services that are in general use today provide these types of managed services. Google have their Cloud Storage, DigitalOcean have Spaces, and Azure have Azure Storage. All support the same type of KV storage, and all provide some kind of secret management service. If D-Day comes, just change a few lines in the code to include a different SDK and maybe run a small migration script to copy the keys over to the new service. Maybe a day or two of work.</p><p>I’m not going to dive into the whole argument about locking yourself into DB systems, ML engines and others. These are different across platforms and migrating these will take a long time, if at all possible. In this case I’m all for remaining “cloud-neutral”. If all fails, you can always take a snapshot of your MongoDB collections, spin up a new instance in whichever cloud provider you want and restore.</p><h3>Promise.resolve()</h3><p>Ultimately, everyone agreed that a certain degree of so-called “vendor locking” will save quite a big headache ahead. Let AWS handle the availability, encryption keys and access management. Let us worry about writing the best services we can. To facilitate our development, we built a small configuration management client that uses S3 and Secrets Management. It worked flawlessly out of the box, and what was even more awesome, is that that little package was all we needed! We didn’t need any more instances, no need for central key management, distribute encryption keys across containers, monitoring, worrying about availability zones, taking caffeine tablets, etc. Just import the package and fetch whatever is needed.</p><p>As simple as that.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*2Xcp2RxHqcQFdrWP7nSRLg.gif" /></figure><p>Preventing vendor locking is great in some cases, but don’t let yourself or your superiors go crazy with it. You’ll not be judged by how many services you’re managing, but how stable and reliant the system is. Develop solutions that will run well, run long, let you sleep at night and if all hell breaks loose, will migrate as easily as possible to a different platform.</p><p>Good luck to us all!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eb7279ca2a87" width="1" height="1" alt=""><hr><p><a href="https://medium.com/hackernoon/preventing-vendor-locking-but-at-what-cost-eb7279ca2a87">Preventing Vendor Locking, but at what Cost?</a> was originally published in <a href="https://medium.com/hackernoon">HackerNoon.com</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>