Going Serverless: Everything you Need to Know

Thiwanka Wickramage
5 min readApr 26, 2023
Cloud computing, Serverless archi

In recent years, serverless computing has became more and more popular approach to buildings web applications. With serverless, developers can focus on writing code without worrying about server management. In this article, we’ll dive into the basics of serverless computing and explore its benefits for web development.

Before Serverless

In the traditional way, when you want to build a web application, you need to set up a server to host your application. This server could be a physical server or a virtual machine in the cloud. You need to install an operating system, web server software, and database software on the server. Once the server is set up, you need to deploy your application code to the server. This involves configuring the web server and database, setting up firewall rules, and managing security updates.

Yeah, I know there are a lot of things to do. But let’s take a look at a practical scenario to understand more clearly.

Imagine you want to build an e-commerce website where customers can browse products, add them to a cart, and checkout. In the traditional way, you need to set up a server, install a web server like Apache, install a database like MySQL, and deploy your application code to the server. In order to give customers uninterrupted service, you need to…

--

--