index life github

April 19, 2025

Hosting modern applications in 2024?

Deployment of application is constantly evolving and changing a lot. Sticking with the single one is quite difficult. In this post, I will share with you the best place to host your modern applications in 2024.

We have bunch of options, like serverless, long lived servers, cloud hosting, edge computing, container hosting, Paas, VPS, dedicated hosting, etc.

Recommendations

We have a lot of options to choose from. In this post, I won’t sway you to use the specific hosting platform, but instead we are going through each and every one brief and what better and not better to choose.

Remember, it’s highly advisable to keep your server and database as close as possible. This might be the single most important performance factor. Hosting your app on Vercel and having each loader and action call an API server hosted somewhere else is going to throttle your app’s performance punitively.

Serverless functions

Serverless functions are a form of managed hosting where application code is started and stopped on demand at request-time. Sometimes entire applications fit in a single function, or an app can be distributed across many, with each endpoint being its own function.

Because of the ephemeral nature of these functions, the first request to a function may cause a cold-start and take several seconds to respond. We will go through each serverless platform one by one.

1. Cloudflare

Cloudflare Pages is a hosting service, like Netlify or Vercel, but built on Cloudflare’s network. You get a git based deploy workflow and preview deployments for different branches.

Static content is hosted from Cloudflare’s CDN and the rest of the Remix app is compiled into a single cloudflare worker on the edge. Vercel’s edge functions are built on top of Cloudflare workers. which uses the V8 runtime, so they aren’t compatible with many node modules.

Cloudflare supports the additional CDN-Cache-Control header for making CDN specific cache settings.

Cloudflare supports a request body size of 100MB for most apps, but if you need more, you can request a limit increase. This is higher than any other serverless platform. Websockets also work on Cloudflare, which is not common for serverless platforms.

Supports:

2. Vercel

Vercel is a serverless hosting platform for web apps.

They support git-based deployments, and deploy previews for every branch and pull request, as well as some fancy collaboration tools built on top.

Vercel allows you to specify whether to use a Node runtime or a V8 Edge runtime on a per-page basis, so you can use Node functions for some pages and V8 functions for others.

As Vercel splits each endpoint into its own function, the 50MB limit for each function bundle becomes very hard to hit.

Vercel supports several colocated databases, including Vercel Postgres, Vercel KV, and Vercel Blob.

3. Netfliy

Netlify is the original JAMStack hosting platform that has grown from a simple static site host to a full-featured serverless platform.

With built-in git-based deployments, every time you push to your git repo, Netlify will build and deploy your app. You can also use deploy previews to test your app before merging a pull request.

Netlify supports both Node (Netlify functions) and V8 (Netlify Edge Functions) runtimes as separate targets, so your entire app will run on one or the other.

On node, you can choose which region your functions are deployed to, but you can’t deploy to multiple regions at once. Edge functions are always multi-region.

Edge functions also allow server-sent events on Netlify

Netlify supports powerful fine-grained cache control in a few ways

They also support Blob Storage for colocated file storage

4. Fastly

Fastly is a powerful CDN and hosting platform and the hosting provider of choice for the Remix + React Router docs.

Fastly supports Remix with their Compute@Edge platform. This is a serverless platform that runs on the edge, compiling Typescript down to WebAssembly. Rather than V8, like most edge functions, or Node, like everything else.

Fastly has full cache-control header support, including stale-while-revalidate and stale-if-error. For more control, they also offer the Surrogate-Control header for making CDN specific settings.

They also offer APIs to programmatically purge the cache, which is not common.

Fastly has support for websockets, which is not common for serverless platforms.

Fastly supports colocated KV storage deployed alongside your app.

5. SST

SST is an infrastructure-as-code framework for building serverless applications on AWS.

SST converts your infrastructure code into a series of API calls to your cloud providers. Behind the scenes it uses Pulumi and Terraform, more on this below. Your SST config is a description of the infrastructure that you are trying to create as a part of your project. In our case we’ll be defining Lambda functions, API Gateway endpoints, DynamoDB tables, S3 buckets, etc.

6. Deno deploy

Deno Deploy is a solid solution for developers seeking a fast, secure, and easy-to-use platform for deploying serverless JavaScript applications. It serves as a worldwide platform for serverless JavaScript applications, ensuring that your JavaScript, TypeScript, and WebAssembly code operates on managed servers located near your users. This setup enables quick response times and low latency. Instead of virtual machines, applications are powered by the Deno runtime and run on efficient V8 engines, making the deployment process fast and lightweight.

Long lived servers

A more traditonal approach to application hosting is to run your application on a long-lived server. The server (or servers) remain running and handle requests as they come in.

Git based deploys, preview environments, staging environments, Static assets CDN, Multi region deployments, etc. Here are major best platforms listed with it’s description.

Coolify

Coolify is an all-in one PaaS that helps you to self-host your own applications, databases or services (like Wordpress, Plausible Analytics, Ghost) without managing your servers, also known as an open-source & self-hostable Heroku / Netlify / Vercel alternative.

Fly.io

Fly.io is a managed container platform that runs on the edge. Not serverless functions, but serverless virtual machines.

One of Fly’s biggest advantages is its multi-region support. You can deploy your app to any of Fly’s 20+ regions, and Fly will automatically replicate your app to every region you deploy to. This means that your app will be closer to your users, and will be more resilient to outages.

Heroku

Heroku, arguably the most popular of them all is a container-based cloud Platform as a Service (PaaS). It is an elegant, flexible, and easy-to-use service that enables developers to deploy, manage, and scale modern apps.

Heroku Key Features:

Render

Render is a managed hosting platform that supports Remix without needing Docker, though you still have the ability to package your app as a Docker image if you have special dependencies you want to install.

Render supports git based deployments, so you just need to push code to your git repo and Render will deploy it. They also support preview environments for their Team plans.

Railway

Railway is a managed container hosting platform. If you don’t supply your own Dockerfile, Railway will let you deploy without it.

Railway supports git based deployments, so you just need to push code to your git repo and Railway will deploy it. They also support preview environments for their Team plans.

For databases, Railway has built-in support for Postgres, MySQL, Redis, and MongoDB, and they have a web UI for managing them as well.

DigitalOcean

DigitalOcean App Platform is a managed container hosting platform. If you don’t supply your own Dockerfile, DigitalOcean will let you deploy without it.

DigitalOcean supports git-based deployments and also offers a Github action for more advanced deployment workflows.

Layer0

Layer0 is designed for developers aiming to build and deploy high-performance websites and apps with ease. It focuses on optimizing both static and dynamic content delivery through edge computing, providing fast load times and seamless integration with modern frameworks like Next.js, Nuxt.js, and more.

Cloud hosting

Cloud hosting provides flexibility and scalability by allowing you to deploy your application on a network of virtual servers hosted in the cloud. This is the go-to solution for most modern applications.

Popular platforms: AWS, Google Cloud, Azure etcs.

FeatureAWSGoogle CloudAzure
Compute ServicesEC2, Lambda, ECS, EKSCompute Engine, Cloud Functions, GKEVirtual Machines, Azure Functions, AKS
StorageS3, EBS, GlacierCloud Storage, Persistent DisksBlob Storage, Disk Storage
DatabaseRDS, DynamoDB, AuroraCloud SQL, Firestore, BigtableSQL Database, Cosmos DB
AI/ML ServicesSageMaker, RekognitionVertex AI, AutoMLAzure AI, Machine Learning
NetworkingVPC, CloudFront, Route 53VPC, Cloud CDN, Cloud DNSVirtual Network, Front Door, DNS
SecurityIAM, KMS, Shield, GuardDutyIAM, Cloud KMS, Security Command CenterIAM, Key Vault, Security Center
DevOps ToolsCodeBuild, CodePipeline, CloudFormationCloud Build, Cloud Deployment ManagerAzure DevOps, ARM Templates
Container ServicesEKS, ECS, FargateGKE, Cloud RunAKS, ACI
ServerlessLambdaCloud FunctionsAzure Functions
Data AnalyticsRedshift, Athena, EMRBigQuery, DataflowSynapse Analytics, HDInsight
Content DeliveryCloudFrontCloud CDNAzure CDN
Global ReachExtensive global presenceExtensive global presenceExtensive global presence
Hybrid Cloud SupportOutposts, WavelengthAnthosAzure Arc
IoT ServicesIoT Core, GreengrassIoT CoreIoT Hub
ComplianceExtensive compliance portfolioExtensive compliance portfolioExtensive compliance portfolio
Pricing ModelPay-as-you-go, Reserved InstancesPay-as-you-go, Sustained Use DiscountsPay-as-you-go, Reserved Instances
SupportBasic, Developer, Business, EnterpriseBasic, Developer, ProductionBasic, Developer, Standard, Professional Direct, Premier

Edge computing

Edge computing is a form of cloud hosting that allows you to deploy your application on a network of virtual servers hosted in the cloud. This is the go-to solution for most modern applications, also brings the computing power closer to the user by running applications on servers located near the end-user, rather than in a centralized data center.

Popular platforms: Cloudflare Workers, Vercel Edge Functions, AWS Lambda@Edge.

FeatureCloudflare WorkersVercel Edge FunctionsAWS Lambda@Edge
RuntimeV8 (WASM)V8Node.js
DeploymentInstant global deploymentGlobal deployment with GitIntegrated with CloudFront
Cold StartExtremely lowLowCan be higher
Use CaseLightweight edge functionsServerless at the edgeCompute at the edge
PricingFree tier availableFree tier with limitsPay-per-use
ScalingAuto-scalingAuto-scalingAuto-scaling
IntegrationsDurable Objects, KV StoreVercel Platform, Next.jsAWS Services, S3
Ideal ForHigh-performance APIs, static sitesDynamic content, SSRContent delivery, caching
Edge Locations300+ cities worldwideGlobal200+ locations

Container hosting

Container hosting leverages containerization to deploy applications in isolated environments. Containers bundle an application with all its dependencies, ensuring consistent performance across different environments. Container hosting is a form of cloud hosting that allows you to deploy your application on a network of virtual servers hosted in the cloud.

Popular platforms: Docker, Kubernetes, Google Kubernetes Engine (GKE), Amazon Elastic Kubernetes Service (EKS).

VPS (Virtual Private Server)

A VPS provides a dedicated portion of a physical server, offering more control and customization than shared hosting while being more cost-effective than a dedicated server.

Popular platforms: DigitalOcean, Linode, Vultr, AWS Lightsail.

Dedicated Hosting

Dedicated hosting provides a physical server dedicated solely to your application. This option offers the highest level of performance, control, and security, making it suitable for large-scale, resource-intensive applications.

Popular platforms: Bluehost Dedicated, HostGator Dedicated, OVHcloud.

Services

Platform as a Service (PaaS)

PaaS provides a complete platform for developing, running, and managing applications without worrying about the underlying infrastructure. This allows developers to focus solely on writing code.

Popular platforms: Heroku, Vercel, Render, Netlify, Firebase.

FaaS (Function as a Service)

FaaS provides a function-based platform for developing, running, and managing applications without worrying about the underlying infrastructure. This allows developers to focus solely on writing code.

Example: AWS Lambda, Azure Functions, Google Cloud Functions.

IaaS (Infrastructure as a Service)

Best For: Full control over virtualized computing resources, ideal for custom environments and high scalability. Example: AWS EC2, Google Compute Engine, Azure Virtual Machines.

BaaS (Backend as a Service)

Best For: Mobile and web apps needing backend services like authentication, databases, and storage. Example: Firebase, Supabase, AWS Amplify, Back4App.

Supabase

Supabase is another powerful mobile app hosting solution with open-source capabilities. It is basically considered an alternative to Firebase, but it doesn’t come with cons like vendor lock-in and closed-source nature.

This hosting service is getting more popular among users because of its smooth interface and affordable pricing.

The free tier authorizes you to get 5GB bandwidth, 1GB file storage, and unmetered API requests. The Pro plan bills you $25/month for 250GB bandwidth and 100GB file storage.

Key Features

CaaS (Container as a Service)

Best For: Deploying and managing containers with orchestration features for scalability. Example: AWS Fargate, Google Kubernetes Engine (GKE), Azure Kubernetes Service (AKS).

Other Hosting

Free hosting tiers

Where can you host your AI and ML applications?

  1. Google Cloud AI Platform
  2. Amazon SageMaker
  3. Microsoft Azure Machine Learning
  4. Azure Machine Learning
  5. IBM Watson AI
  6. Kaggle Kernels
  7. Paperspace Gradient
  8. Hugging Face
  9. Run.ai

BackendLess

Backendless is a reliable mobile app backend hosting provider that you can use with zero or minimal coding.

This low-code/no-code BaaS vendor serves SQL and NoSQL data in real-time. Its developer-friendly interface lets you customize data and build functions with great ease.

Similarly, if you need a highly scalable platform to create a high-performing mobile backend, you should choose Backendless.

Its drag-and-drop features allow you to add more instances swiftly when your app gains more users.

Its free plan provides 1GB file storage, 50 API requests per minute, 1MB cloud code deployment, and 10 DB tables.

Withal, the monthly billing of the Pro program outsets from $15 for 100 DB tables, 20MB cloud code deployment, unmetered API requests, and 10GB file storage.


References


Conclusion

In conclusion, hosting your modern application can be a daunting task but with tools like Supabase, AWS Amplify, and Backendless, you now have more options to choose from. Each of these platforms has its pros and cons, and the best choice depends on your specific needs and preferences.

Whether you’re looking for a no-code solution, a fully managed platform, or a highly scalable platform, there’s a solution out there for you.

Remember, the most important thing is to choose a platform that aligns with your business goals and that you will be able to maintain and scale over time.

© 2025 - present @nischalxdahal | All Rights Reserved.