A white background with a few lines on it

What is serverless computing?

21 August 2023

Are you an app developer? Then you might want to consider investigating serverless computing. Join us as we break down what it is and how it works.


A long hallway filled with lots of servers in a data center.

At first sight, the phrase "serverless computing" is a little confusing. Servers are the engine room of computing – wouldn't a model of cloud provision without servers be like a car without wheels?


In fact, "serverless computing" is, if not a misnomer, then not quite what it says on the tin. It can be filed alongside the difference between public and private clouds in the Big Book of Confusing Cloud Terminology.


It's serverless in the same way that your home is generatorless. From your perspective, you can just plug in that Hoover and go. But the electricity has to come from
somewhere .


In a serverless setup, you use a cloud platform to write code – and the servers that allow this to happen are maintained and managed by a cloud provider.


You pay for the resources and storage you use and the cloud vendor makes it possible behind the scenes.


In theory, this division of labour is ideal for developers who want to focus on building and running apps without having to manage servers.


It's also an example of how broad and sweeping “the cloud" has become. It's so much more than a place to store your holiday snaps.


Why serverless?


Serverless computing shares its main advantage with cloud computing in general. The user uses and the provider provides. To return to our electricity analogy, why build a working nuclear reactor when you can pay a monthly bill to the energy company?


A nuclear power plant with smoke coming out of the cooling towers.

The journey from bare metal to virtual machines to containers to serverless is one where the business is less and less responsible for setting up and maintaining the environment. Its staff can spend more time writing code and business logic and less time pulling the levers that make it possible.


For the end user, serverless is entirely abstracted from the underlying infrastructure. You're not responsible for either a bare metal server or a virtual machine.


The question on your lips might be how serverless computing is different from containers – the cloud solution pioneered by Docker that bundles up files and libraries into discrete containers which can run on any Linux infrastructure.


At the technical level, there are lots of differences. But from a user perspective, the main difference is one of scaling.


Containers simplify the deployment process – but when you want to scale up your apps, they present problems. Serverless, however, auto-scales.


It's a bit like being a painter and hiring a studio. With serverless computing, you hire the room, the brushes, the easel and everything else you need – and you know that the studio manager will take care of wiring, rising damp and any other problems.


If studio rental worked like serverless computing, it would vanish in a puff of smoke the minute you left the room. Resources come to life – or "spin up", to use the lingo – only when required.


This means you're never paying for anything you don't use. With containers in a public cloud, however, you're paying a month's rent upfront.


Advantages of serverless computing


Serverless computing is cost-effective. Its auto-scaling capacity means you're only charged for the resources you use, unlike previous iterations of cloud computing where you're paying for idle time too.


It's an easy and quick way to write and deploy apps, which means you can get your creations to the marketplace at a satisfying pace. You can pour all your energy into developing apps while the provider maintains the underlying infrastructure.


This user-friendliness is also connected to its polyglot nature. It's the Switzerland of cloud computing. You can write your code in whatever language you like.


Finally, serverless provides high availability. There's a team of technicians behind the scenes ensuring that the server is always running.


But like everything in life, there's another side to the coin.


Disadvantages of serverless computing


A big risk of serverless is vendor lock-in. Different vendors provide different services – so you're not enjoying the flexibility of a multi-cloud solution.


Serverless is built for speed. However, if you're deploying a long-running app, you may find that the bill dwarfs that of a VM or dedicated server.


Latency can be an issue, especially when handling a function for the first time.


Serverless instances are perpetually self-renewing – little digital phoenixes that spin up entirely new versions of themselves each time. This can make debugging a delicate operation. 


Finally, serverless instances time out. Executing code can be a race against the clock. This isn't always a problem but can be if the app you're developing is especially involved.


Who's it for?


Serverless computing can be used in a variety of use cases:


  • App and website backends
  • Asynchronous processing – behind-the-scenes tasks that don't interrupt your programming flow
  • Building RESTful APIs
  • Continuous delivery (CD) and continuous integration (CI)
  • IoT data processing
  • Security checks
  • Trigger-based tasks (e.g. a user signs up on your website, which triggers a database update, or a security sensor triggers a push notification)
  • Video/image manipulation
  • Writing polyglot (multi-language) apps


Why did Amazon ditch serverless?


Amazon made a splash in the tech world when it announced, in May 2023, that its video quality analysis team was ditching its serverless micro-service architecture and moving back to a "monolith". The switch allegedly saved Amazon 90%.

A cardboard box with the word amazon on it

The irony here is that Amazon was one of the market leaders in serverless computing, introducing Lambda functions back in 2014.


This is newsworthy because it challenges the purported advantages of serverless. The pitch is usually that serverless computing scales efficiently and saves you money. But Amazon appears to have decided that neither of these things is true.


It's too soon to say whether this is an edge case or a dramatic blow against serverless computing.


But despite Amazon's headline-grabbing move, it seems likely that serverless will continue its upward trajectory in 2023 and beyond as cloud providers continue to plump up their offerings.


The bottom line


Whatever its disadvantages, serverless enables developers to focus on code by eliminating management and maintenance overheads – and it's playing an important role in global digital transformation.


Ascend is a cloud solutions provider that specialises in cloud migration and
VMware consulting services . Want a trusted partner for your next cloud project? Speak to one of our experts today.

Cloud computing costs are set to rise in 2025. Are you paying too much? Join us as we explore
by Simon Edward 22 February 2025
Cloud computing costs are set to rise in 2025. Are you paying too much? Join us as we explore the facts.
How can NSX Application Platform (NAPP) help you improve your security posture? Find out
by Simon Edward 17 February 2025
How can NSX Application Platform (NAPP) help you improve your security posture? Find out in our guide.
Ireland's cloud industry is booming. Join us as we celebrate 6 of the innovators who made it happen.
by Simon Edward 14 February 2025
Ireland's cloud industry is booming. Join us as we celebrate 6 of the innovators who made it happen.
Cloud costs have a way of snowballing. Find out how to manage them in more complex environments.
by Simon Edward 11 February 2025
Cloud costs have a way of snowballing. Find out how to manage them in more complex environments.
Consumers and enterprises rely on the cloud for storage. But how does it work? Get to grips with the
by Simon Edward 7 February 2025
Consumers and enterprises rely on the cloud for storage. But how does it work? Get to grips with the basics.
How can you manage the security and compliance of your cloud workloads? Find out how a CSPM can help
by Simon Edward 4 February 2025
How can you manage the security and compliance of your cloud workloads? Find out how a CSPM can help.
What do Reddit users want to know about VMware NSX? Get the questions – and answers – in our article
by Simon Edward 27 January 2025
What do Reddit users want to know about VMware NSX? Get the questions – and answers – in our article.
by Simon Edward 24 January 2025
Recently, Broadcom has told enterprises that private clouds are the way to go. Find out why in our article. 
What are the differences between cloud migration and cloud transformation? Get to grips with the key
by Simon Edward 20 January 2025
What are the differences between cloud migration and cloud transformation? Get to grips with the key issues.
How can virtualisation help a business build an effective cloud strategy? Find out the key benefits.
by Simon Edward 17 January 2025
How can virtualisation help a business build an effective cloud strategy? Find out the key benefits.
More posts
Share by:
Consent Preferences Ascend tracking code -->
                                        ___    ,'""""'.
                                    ,"""   """"'      `.
                                   ,'        _.         `._
                                  ,'       ,'              `"""'.
                                 ,'    .-""`.    ,-'            `.
                                ,'    (        ,'                :
                              ,'     ,'           __,            `.
                        ,""""'     .' ;-.    ,  ,'  \             `"""".
                      ,'           `-(   `._(_,'     )_                `.
                     ,'         ,---. \ @ ;   \ @ _,'                   `.
                ,-""'         ,'      ,--'-    `;'                       `.
               ,'            ,'      (      `. ,'                          `.
               ;            ,'        \    _,','                            `.
              ,'            ;          `--'  ,'                              `.
             ,'             ;          __    (                    ,           `.
             ;              `____...  `My    `.                  ,'           ,'
             ;    ...----'''' )  _.-  .Digital `.                ,'    ,'    ,'
_....----''' '.        _..--"_.-:.-' .'Hero    `.             ,''.   ,' `--'
              `"     _.-'' .-'`-.:..___...--' `-._      ,-"'   `-'
        _.--'       _.-'    .'   .' .'               `"""""
  __.-''        _.-'     .-'   .'  /
 '          _.-' .-'  .-'        .'
        _.-'  .-'  .-' .'  .'   /
    _.-'      .-'   .-'  .'   .'
_.-'       .-'    .'   .'    /
       _.-'    .-'   .'    .'
    .-'            .'
⠀⠀⠀⠀⠀⠀⠀Hello there!

Thanks for checking out Ascend Cloud Solutions source code — you're a curious one, aren't you? 😊  
If you're looking for help with your own **digital marketing** — be it a stunning website, powerful SEO, or effective Google Ads — look no further. Our team at **My Digital Hero** would love to help.

Contact us anytime at **hello@mydigitalhero.co.uk**, and let's chat about how we can work together to bring your vision to life.

All the best,  
**Simon**  
Director of My Digital Hero⠀⠀⠀⠀⠀⠀
    
Stay Awesome and Get To The Cloud!