Knowledge Hub
In the past few years, hosting solutions and CDNs have become much more than just a place on the internet, offering additional features to help you with deploying a modern website or an app. This gave birth to a new bread of hosting platforms like Netlify, Vercel, AWS Amplify, Firebase, etc.
Let’s say you went for modern web dev architecture for your website or app project, and all of the coding is done. It’s time to find the best place to host it, right? Well, wrong. You really should have done this before.
But don’t worry, because, with static files that you’re about to serve pretty much any host can do the work.
However, not all of them are built with composability in mind.
Since you are here, reading this article, there’s a strong possibility you’ve already heard about the concept of composability. It is more than a trend for web developers to move from dynamic server-side apps to client-side stacks. It is a shift change from the backend to the more powerful frontend that eases the dev workflow.
The best practices most devs would agree on, that define a composable project, are: atomic deploys, automated builds, building and hosting are decoupled, site/app is on a CDN, instant cache invalidation, and content updates are pushed through Git or an API CMS (not really a necessity but it sure helps with multiple teams/edits, etc.).
For example, for a typical composable website, you’ll need to use:
The essential parts of every hosting provider are:
A modern deployment platform is a tool that combines all of the above practices and features. It enables developers to ship apps safely and quickly with no need for a dev-ops team and infrastructure maintenance. Connect git repository and start building.
Deployment platforms evolve these days very quickly. The main reason is the number of tools and the growing popularity of serverless and composability.
Every big corp cloud provider has its solution. Amazon has Amplify. Google has Firebase. Microsoft recently launched Static Web Apps, and Cloudflare launched Pages. It is a very competitive space in which companies fight for new users offering different products and approaches.
Essential parts, CI/CD and CDN, are no longer a feature. Those are must-haves that developers expect to have for free. Most of the tools we describe in this post support serverless functions. Some have analytics, other authentication, databases, and/or form handling built-in. All of them fight for developers’ attention improving the experience and introducing more and more new features.
Modern hosting options utilize the concept of serverless architecture (a system of running websites and applications without infrastructure management). They rely on third-party cloud-hosted services, like AWS, Google Cloud Platform, etc. The hosts carry out all server management, as the users pay a provision.
Having said that, let’s take a look at the ready-to-use hosting and deployment solutions for composable projects that we’ve had the pleasure of working with. Reviews are there to walk you through what each solution offers. The pros and cons, if you will. But if you need a deep dive into available options and how they stand against each other, we’ve made a simple host compare tool to help you with that.
Built-in CI/CD and git integration has become a standard in modern web development. With such amount of great options, no team should spend time on creating and maintaining infrastructure from scratch. Unless you are a very large organization with a lot of custom and complex needs, it doesn't make sense to slow your team down.
We think the future belongs to the more and more powerful Edge. Netlify introduced a new concept called Distributed Persistent Rendering. It aims to reduce long build times and gives some other interesting possibilities to handle dynamic stuff on the Edge. DPR automatically handles caching and easy rollbacks to previous builds.
On the other hand, Vercel and Next.js use the pattern.
There aren’t that many drawbacks to using the hosting and deployment options mentioned above.
Perhaps, the most significant ones, and often mentioned, are potential service outages, potential vendor lock-in situations, and potential cost concerns.
We’ve used potential intentionally here because these really depend on your project/business scale and can happen to more traditional hosting options as well.
AWS, Azure, Google Cloud are huge cloud computing platforms, and CDN/hosting is a small part of their business. Netlify, Vercel, GitHub Pages, and Cloudflare Pages use a cloud/CDN under the hood, but they are different. They are a full-blooded continuous deployment and hosting platform for modern web projects.
There is much more to choosing a perfect host for your project besides project needs, pricing, and features. Take service popularity, community, and support into consideration next time when you are shopping for hosting and deployment tools.
Or, why not consult expert web devs (like us). Seriously, if you are not sure which one of these is best for you and your business let’s get in touch!
We’ll be more than happy to chat through your requirements and advise you on the best path forward.