I'm sure now most of you, if not all, have heard about serverless and how trendy & sexy it's. But what bothered me the most was when to use one?

But before answering that, let’s answer the what & why first and by knowing that the answer will reveal itself.

What is Serverless?

So what is serverless? Does it mean that there is no server? Nope, that's not the case. It means that you are not responsible for managing your infrastructure. All you have to do is write some logic to be executed when a certain something happens. Certain something could be an event, for example, a file uploaded or an HTTP call.

Why Serverless?

The bad side?

What are the limitations?

When to go serverless?

Now, this is a hard question to answer. For me, it depends on the problem you are trying to resolve, so if you are doing a time-consuming task, most likely using functions won’t be good enough for you the same thing for handling real-time apps.

On the other hand, if you want something rapid to develop and you are short on the money side, this is definitely something to consider.