Serverless Computing | What Is It? | How Does It Work?

preview_player
Показать описание
We will see all the things you should know about serverless technology.

many people don’t know about the server. So, first, we will talk about the server and why you need the server. Then we will get into serverless technology.

The Traditional Way
The traditional way of doing cloud computing was by using a server. Even today, many people are using servers.

A server is used to store, retrieve and send files and data to other computers on its network.

Let’s say, for example, you want to create a website and upload it. For that, you will need a server. Many things are included in the server such as RAM, storage, bandwidth, etc.

Once you get the server, you can start using all the resources mentioned. Each server has limited resources. So, it will have a limited amount of RAM and storage. The same goes for all the other resources.

The Problem with the Server
When you get a server, you will have to pay the cost for it. It’s for the entire server and you will get access to the server via the internet. You can use the server as per your wish. There is a small monthly charge involved as per the usage and as per the type of server you want.
There are many types of servers you can get. Each of the servers comes with a different resource limit.

So, what’s the problem here?
Well, let’s say, for example, the first plan of the server has 2 GB RAM and 500 GB storage. The second plan has 4 GB RAM and 1 TB storage. The price would be almost double, right?

What if you only want to use a couple of MBs more than 2 GB of RAM? What if you want to use 510 GB of storage or a bit more? In this case, you will have to pay extra charges for more than you’re using.

Additionally, there is a limited resource. Even if you go with the second plan here, you can’t use more than 1 TB of storage or 4 GB of RAM. Of course, we have just taken the two resources as an example here so that it won’t get more technical. However, the other resource also plays an important role here.

The solution is serverless.

What is Serverless Computing?
Serverless is a method where the cloud service provider is responsible for executing the code. They will allocate the resource however needed.

Let’s understand it in depth.
A cloud provider has an entire infrastructure that helps you with all the things. There is enough storage and RAM as all the resources are combined and are operating as a single system.

When the code executes, the cloud provider will use the resources from the infrastructure as needed. If the server load is more, they will combine more resources and execute it.

In simpler words, you will get a huge amount of resources that you can use as per your need and requirements. There is no limit on anything.

So, you might be thinking how do you pay for it, right?
Well, most of the serverless services go with the pay-as-you-go pricing model. With this, you are only paying for the resources that you are using. There are some of the specific or we can say a minimum monthly charge. However, this depends on the cloud provider that you plan to go with. Some of them will offer a complete pay as you go pricing where you don’t need to pay any minimum charge.

This is how the serverless method works.
When the user opens the website and requests a web page, the request is sent to the cloud. The cloud will check the resources needed and allocate them accordingly. Thereafter, the cloud will serve the visitor. Therefore, one can easily access the website. The cloud will check for the resources used and thereafter, it will add to the account. By the end of the month, the charges will be deducted from the fund or bank account (however you have set it).

Types of Serverless
BaaS: BaaS stands for Backend as a Service method. Here, the entire backend of the website or the application is provided by the cloud service. In simpler words, services like storage, etc are provided by the cloud provider.

PaaS: Platform as a Service is the full form of PaaS. You can easily use the PaaS where the platform is provided by the cloud. You can use the entire platform directly from the web.

IaaS: IaaS stands for Infrastructure as a service. This is the place where the entire infrastructure and all the services needed to run the website are provided by the cloud. This is usually used by the people who are running and managing a huge website.

____________________________________________________________________________________

Fintelics is an AWS Advanced Tier Consulting Partner. The company has also been awarded 'Best FinTech Consultancy - Ontario' and 'Leading Expert in Fullstack Omnichannel Software Development' by Wealth & Finance Magazine.

You can learn more about Fintelics by:
#Serverless #ServerlessCompute
Рекомендации по теме
Комментарии
Автор

Serverless is when you don't have a server. Duhhh

SOPHIAASU
welcome to shbcf.ru