Photo by Clément Hélardot on Unsplash

Lately, I’ve been very fascinated with serverless architecture because of its potentially infinite scalability without the need to configure a whole infrastructure. After some tinkering with the Serverless-Framework and AWS Lambda, I came across Cloudflare Workers and that changed everything for me.

Why I moved on from Serverless-Framework

Serverless-Framework is a great way to transition an existing project into the serverless world, but it comes at a cost. When you’re trying to serverless host an express.js project using Serverless-Framework it adds a wrapper to make it compatible with the platform of your choice, which adds code and increases load time significantly (at least from my experience)…


Photo by Christina @ wocintechchat.com on Unsplash

Requirements

First of all we need a server, this can be a VPS like an AWS EC2, Google Compute Engine, DigitalOcean Droplet or even a Dedicated box somewhere in a datacenter, but the latter would definitely be a bit much for our purposes.

Then we need to pick an OS, for this tutorial we’re using Debian 10, but it should be more or less the same for Ubuntu.

SSH into the server and we’re good to go.

Make sure it’s up to date

Before we get to installing the software we need we have to make sure that our server is up to date by running the…

Tobias Schneider

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store