Skip to content

What are backends servers?

Course: Serverless Backends - chapter 1

You might’ve used express to create a Backend server.

The way to run it usually is node index.js which starts a process on a certain port (3000 for example)

When you have to deploy it on the internet, there are a few ways -

  1. Go to aws, GCP, Azure, Cloudflare
  2. Rent a VM (Virtual Machine) and deploy your app
  3. Put it in an Auto scaling group
  4. Deploy it in a Kubernetes cluster

There are a few downsides to doing this -

  1. Taking care of how/when to scale
  2. Base cost even if no one is visiting your website
  3. Monitoring various servers to make sure no server is down

What if, you could just write the code and someone else could take care of all of these problems?