<?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"><channel><title><![CDATA[Stakpak's blog]]></title><description><![CDATA[Stakpak's blog]]></description><link>https://blog.stakpak.dev</link><generator>RSS for Node</generator><lastBuildDate>Mon, 27 Apr 2026 06:03:46 GMT</lastBuildDate><atom:link href="https://blog.stakpak.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Preventia’s Journey: Scaling Up While Cutting Costs by 41%]]></title><description><![CDATA[As the demand for Preventia’s services increased it had to scale its infrastructure. Their Platform as a Service (PaaS) had inflated cloud costs, limited ability to integrate new technologies, and subpar monitoring capabilities. But Preventia’s tech ...]]></description><link>https://blog.stakpak.dev/preventias-stakpak-journey-scaling-up-while-cutting-costs-by-41-58231c937830</link><guid isPermaLink="true">https://blog.stakpak.dev/preventias-stakpak-journey-scaling-up-while-cutting-costs-by-41-58231c937830</guid><category><![CDATA[Devops]]></category><category><![CDATA[Cloud Migration services]]></category><category><![CDATA[cost-optimisation]]></category><category><![CDATA[scaling]]></category><dc:creator><![CDATA[George Fahmy]]></dc:creator><pubDate>Sun, 21 May 2023 10:51:25 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1702680961849/76fbc751-116c-44bc-916a-607c4698bd02.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>As the demand for Preventia’s services increased it had to scale its infrastructure. Their Platform as a Service (PaaS) had inflated cloud costs, limited ability to integrate new technologies, and subpar monitoring capabilities. But Preventia’s tech team was able to significantly reduce their cloud expenses by 41% and quickly scale up their services using Stakpak, achieving these results in just 10 days.</p>
<h3 id="heading-about-preventia-technologies">About Preventia Technologies</h3>
<p><a target="_blank" href="https://preventiatechnologies.com/">Prevention Technologies</a> is a health tech company that seeks to develop the world’s most autonomous medical assistant to save 100 million lives. The company was founded in late 2018 and currently growing beyond 30 employees.</p>
<p>We interviewed <strong>Maged Shalaby Preventia’s Head of Product &amp; Engineering</strong> for this case study. <a target="_blank" href="https://www.linkedin.com/in/magedshalaby/">https://www.linkedin.com/in/magedshalaby/</a></p>
<h3 id="heading-challenges">Challenges</h3>
<p>Some of the challenges Preventia faced:</p>
<ul>
<li><strong>Inflated cloud costs:</strong> “We had limited ability to scale up without inflating PaaS costs”</li>
<li><strong>Difficulty integrating new technologies:</strong> “We tried to integrate services like Datadog, but found it to be difficult due to the limitations of our PaaS provider. The compute and memory presets are not customizable enough to meet the demand of some of our workloads e.g. Elasticsearch.”</li>
<li><strong>Limited monitoring:</strong> “Logging capabilities were very limited, developers had no motivation to write better logs to improve engineering because they couldn’t make use of them anyway.”</li>
</ul>
<blockquote>
<p>We tried to find ways to scale our services without inflating PaaS costs by adding more resources. We optimized our software, added a caching layer, and used S3 buckets to serve assets. We even considered using Cloudflare functions to serve our frontend, but ultimately decided against it to maintain control over our patient data for security reasons.</p>
<p>Maged Shalaby Head of Product &amp; Engineering at Preventia</p>
</blockquote>
<iframe src="https://giphy.com/embed/rgRE8JPdHVMIg/twitter/iframe" width="435" height="366"></iframe>

<p>Trying to fit in a PaaS</p>
<h3 id="heading-how-stakpak-helped">How Stakpak helped</h3>
<blockquote>
<p>We migrated to AWS with Stakpak in 10 days. I didn’t expect it to be this quick, especially since we made a few major changes while migrating like adding Rabbitmq, making some on-the-fly code changes, and moving production data to RDS.</p>
</blockquote>
<iframe src="https://giphy.com/embed/8p5mXt9wKFTs4/twitter/iframe" width="435" height="330"></iframe>

<p>Dynamic configuration generation is magic</p>
<p>It took 2 developers (one almost dedicated to the project and another contributing with less than 50% capacity) and some help from the Stakpak team to migrate everything to AWS before our annual PaaS renewal.</p>
<p><em>Interested in seeing Stakpak and its open-source tool DevX in action? check out this</em> <a target="_blank" href="https://asciinema.org/a/548734"><em>58-second demo</em></a></p>
<h4 id="heading-implementation-challenges">Implementation challenges</h4>
<p>When asked about the challenges the team faced while adopting Stakpak:</p>
<blockquote>
<p>It took a bit of time to figure out the tool’s workflow because the information was not immediately available, but when I reached out to the Stakpak team things worked out great!</p>
</blockquote>
<p>Maged also added that he’d like to spend more time learning how configuration generation works, and how the high-level abstractions get transformed. “It would be great to learn all the details about what happens behind the scene.”</p>
<h4 id="heading-results">Results</h4>
<p><strong>Reducing cognitive overload:</strong></p>
<blockquote>
<p>It’s now possible to scale up and down using a couple of configuration lines to experiment with different loads &amp; system optimizations and it’s a 100 times easier than using AWS without Stakpak.</p>
</blockquote>
<p><strong>Securing patient data:</strong> Preventia cares a lot about the security and privacy of its patients. The team expected implementing AWS security best practices to be a chore, but they got secure configurations out of the box, Maged was especially excited about how easy it was to force traffic over TLS.</p>
<p><strong>Optimizing cloud spending:</strong> Preventia cut its cloud costs by <strong>41%</strong>, out of which <strong>66%</strong> was from a reduction in AWS’s cloud bill. This left more room in the budget to leverage managed services like Amazon MQ for RabbitMQ.</p>
<h4 id="heading-future-plans">Future plans</h4>
<p>We asked Preventia what they’re up to the following couple of months</p>
<blockquote>
<p>We now want to work on improving our data infrastructure by building a data warehouse using technologies like Redshift, which was not previously possible on our old PaaS.</p>
</blockquote>
<h3 id="heading-recommendations">Recommendations</h3>
<p>Maged recommends Stakpak to <strong>businesses just starting out</strong> and to those <strong>considering scaling their cloud infrastructure</strong>.</p>
<blockquote>
<p>3–4 years ago when we started with a single docker-compose file, I would have preferred to use Stakpak, because even if we implemented our infrastructure ourselves I think we would have needed this (Stakpak) further down the line anyway.</p>
</blockquote>
<p>Maged also recommends assigning 1–2 engineers to help migrate your infrastructure with Stakpak.</p>
<h3 id="heading-conclusion">Conclusion</h3>
<p>Preventia faced several challenges with its existing cloud platform, including high costs and difficulty integrating new technologies. They turned to Stakpak for help and <strong>were able to migrate to AWS in just 10 days</strong>. The migration resulted in a <strong>41% reduction in cloud expenses</strong> and made it <strong>much easier to scale and experiment</strong> with different configurations. Additionally, Preventia was able to maintain control over its patient data and implement AWS security best practices without breaking a sweat.</p>
<p>Maged highly recommends Stakpak to businesses just starting out and to those considering scaling their cloud infrastructure. He also recommends assigning 1–2 engineers to help migrate your infrastructure with Stakpak, citing that it would have been beneficial for Preventia when they started out 3–4 years ago. Overall, the migration to AWS with Stakpak has been a success for Preventia and has allowed them to improve their engineering efforts and reduce costs.</p>
<p>P.S: Preventia Technologies is hiring Junior/Senior Software Engineers who are looking to make a huge impact in potentially millions of lives.<br />You can reach out to Maged <a target="_blank" href="https://www.linkedin.com/in/magedshalaby/">here</a>.</p>
<h4 id="heading-got-your-interest">Got your interest!</h4>
<p>If you would like to know more about our free tool DevX and Stakpak check the links below, or reach out to us at <a target="_blank" href="mailto:contact@stakpak.dev">contact@stakpak.dev</a></p>
<p>We also provide <strong>Platform Engineering</strong> and <strong>DevSecOps</strong> consulting services.</p>
<p>Don’t forget to ⭐️ our <a target="_blank" href="https://github.com/devopzilla/guku-devx"><strong>repo</strong></a> on GitHub.</p>
<h4 id="heading-links">Links</h4>
<ul>
<li>DevX docs <a target="_blank" href="https://devx.stakpak.dev/docs/intro">https://devx.stakpak.dev/</a></li>
<li>Stakpak <a target="_blank" href="https://www.stakpak.dev/">https://www.stakpak.dev/</a></li>
<li>DevX repo <a target="_blank" href="https://github.com/devopzilla/guku-devx">https://github.com/devopzilla/guku-devx</a></li>
<li>Linkedin page <a target="_blank" href="https://www.linkedin.com/company/dvpzla">https://www.linkedin.com/company/dvpzla</a></li>
</ul>
]]></content:encoded></item></channel></rss>