AWS Serverless

AWS Serverless

Serverless has two terms: Server and less, i.e. it essentially means there is no server involved!

Serverless most often refers to applications that don't require you to provision or manage any servers. You can focus on your core product and business logic instead of responsibilities like operating system (OS) access control, OS patching, provisioning, right-sizing, scaling, and availability.

All the infrastructure is fully managed and it allows you to focus on what makes your business!


The revolution of IT Delivery

IT has evolved a lot from Bare metal on-prem servers to fully managed serverless functions.


The Serverless Stack

We started with Bare Metals, then came Infrastructure as Service(IAAS) like AWS which gave us fully managed servers, and gone were the days to patch servers, provision them, etc. PAAS made it, even more, easier to use a platform to deploy like AWS Beanstalk, Heroku, etc.

Finally enters serverless which is the easiest and tension-free mode of deployment of apps. It manages everything for you and you just focus on code(functions).


Benefits of Serverless
  1. Easy Deployment
    Serverless makes deployment faster. You can get an app deployed within minutes.
  2. Low Cost
    There is no provisioning cost. You pay only for the time period when your code is executed. So it makes them cheaper.
  3. Better Scalability
    Serverless auto-scales your app based on load and you remain worry-free from writing scalability rules.
  4. Improved latency
    Serverless architectures usually have access points on a global scale. That means that it’ll be easier to handle users from every corner of the world.
  5. Fault-tolerant and high-availability
    Serverless comes built-in with Fault-Tolerant and High availability which makes sure your app is always there to serve your customers.

When to use Serverless ?

Serverless has so many benefits so all projects should use it.

The answer is NO! Here are a few scenarios:

Serverless is good for the following:

  1. Short-running event-driven stateless functions
  2. Service Integrations
  3. Microservices
  4. Mobile Backends

Serverless is not good for the following:

  1. Long-running stateful operations
  2. Deep Learning Trainings
  3. Video Streaming
  4. Stream Analytics

Available platforms for Serverless:

A lot of platforms are available but AWS Lambda is among the popular ones.


Hope you like it. Cheers 🍻