← All posts

What I Think About Ditching SaaS Boilerplates for a $5 VPS

By Alvin Hartono

I recently came across a fascinating account of a developer's journey building a SaaS product. They initially followed the well-trodden path of using a SaaS boilerplate, laden with features like authentication, billing, RBAC (Role-Based Access Control), and even AI pipelines. The promise, as always, was rapid development and reduced overhead. But the reality, as is often the case, turned out to be quite different.

This developer found themselves spending an inordinate amount of time wrestling with the infrastructure rather than focusing on the core product. Auth, billing, and RBAC are undeniably important, but they don't directly contribute to the unique value proposition that attracts customers. They're table stakes, and often, over-engineered table stakes at that.

Then came the financial reckoning. The allure of 'serverless' and 'no-code' platforms often masks the underlying costs. Vercel bandwidth overages, Supabase database limits, and the seemingly innocuous serverless function invocations started adding up, creating a significant burn rate *before* a single paying customer had even signed up. Ouch. That's a startup nightmare.

So, what did this developer do? They made a radical decision: they rebuilt everything to run on a $5 VPS (Virtual Private Server). A five-dollar VPS! That's the price of a fancy coffee. And apparently, it's been running in production for months.

This got me thinking. Are we, as an industry, becoming overly reliant on complex, expensive, and often unnecessary boilerplate solutions? Are we so focused on speed of development that we're neglecting the fundamentals of cost-effectiveness and resource management? I think the answer, for many of us, is yes.

The Allure (and the Trap) of SaaS Boilerplates

SaaS boilerplates are incredibly tempting. They promise to abstract away the complexities of backend development, allowing you to focus on the 'fun' stuff – the user interface, the core features, the magic that differentiates your product. They offer pre-built components for authentication, user management, payment processing, and a whole host of other essential but time-consuming tasks.

But here's the catch: these boilerplates often come with a significant cost, both in terms of dollars and in terms of flexibility. They can lock you into specific platforms, limit your ability to customize the underlying infrastructure, and introduce dependencies that can be difficult to manage in the long run.

Furthermore, many SaaS boilerplates are bloated with features that you may not actually need. You end up paying for complexity that you're not using, and that can actually slow down your development process. It's like buying a Swiss Army knife when all you need is a simple paring knife.

The Case for Simplicity: The $5 VPS Renaissance

The developer's decision to switch to a $5 VPS highlights the power of simplicity. By stripping away the unnecessary layers of abstraction, they were able to gain greater control over their infrastructure, reduce their costs dramatically, and potentially improve the performance of their application.

Running a SaaS on a VPS isn't for everyone, of course. It requires a certain level of technical expertise. You need to be comfortable with server administration, security, and deployment. But for many developers, these skills are already part of their toolkit, or at least within reach.

And the benefits can be substantial. You have complete control over your environment. You can optimize it for your specific needs. You can choose the technologies that are best suited for your application, rather than being constrained by the choices of the boilerplate provider. And, of course, you can save a ton of money.

Understanding the Trade-offs

It's crucial to understand the trade-offs involved. A $5 VPS requires more hands-on management than a fully managed platform. You're responsible for security updates, backups, and scaling. If something goes wrong, you're the one who has to fix it.

But these responsibilities can also be seen as opportunities. By taking ownership of your infrastructure, you gain a deeper understanding of how your application works, and you're better equipped to troubleshoot problems and optimize performance.

When a VPS Makes Sense (and When It Doesn't)

So, when does it make sense to ditch the SaaS boilerplate and embrace the simplicity of a VPS? Here are a few scenarios:

* You're comfortable with server administration: If you're a seasoned developer with experience in Linux, networking, and security, a VPS can be a great option. * You need fine-grained control over your environment: If you have specific requirements that can't be easily met by a managed platform, a VPS gives you the flexibility you need. * You're bootstrapping your startup: When every dollar counts, a $5 VPS can be a lifeline. * You're building a relatively simple application: If your application doesn't require a lot of complex infrastructure, a VPS can be more than sufficient.

On the other hand, a VPS may not be the best choice if:

* You're not comfortable with server administration: If you're a beginner developer, or if you simply don't have the time to manage a server, a managed platform is probably a better option. * You need a lot of scalability: While VPSs can be scaled, it's not as easy as scaling a cloud-based platform. If you anticipate rapid growth, a managed platform may be more suitable. * You need a high level of uptime: While VPSs can be reliable, they're not as resilient as cloud-based platforms. If you need guaranteed uptime, a managed platform is a better choice. * Your application is very complex: If your application requires a lot of specialized infrastructure, a managed platform can simplify things.

My Take: Context Matters More Than Ever

Ultimately, the best approach depends on your specific circumstances. There's no one-size-fits-all answer. But this developer's story serves as a powerful reminder that simpler is often better, and that we should always question the assumptions we make about technology choices.

I think the key takeaway here is to be mindful of the *context* of your project. Are you building a complex enterprise application that requires a robust and scalable infrastructure? Or are you building a simple MVP (Minimum Viable Product) to test an idea? The answer to that question should guide your technology choices.

I've seen too many startups waste time and money on overly complex solutions that they don't need. They get caught up in the hype of the latest technologies, without considering whether those technologies are actually appropriate for their needs. They end up building a house with a solid gold foundation when a simple wooden frame would have sufficed.

If I were starting a new SaaS today, I would seriously consider the $5 VPS approach. I would start with the simplest possible infrastructure, and only add complexity as needed. I would focus on building a great product, and worry about scaling later. I think that's a much more sustainable and cost-effective way to build a business. It's also a great way to learn and grow as a developer.

Of course, this isn't to say that SaaS boilerplates are inherently bad. They can be a valuable tool for certain projects. But it's important to be aware of their limitations, and to choose them carefully. Don't just blindly adopt a boilerplate because everyone else is doing it. Think critically about your needs, and choose the solution that's best for *you*.

This story is a great reminder that sometimes, the most innovative solutions are the simplest ones. And that's a lesson that's worth remembering in the fast-paced world of SaaS.

Keep reading