When people aren’t talking about Docker and containers, they’re usually talking about serverless architecture — code that runs without servers. How is that possible? Well, technically, the code still runs on servers, but you’re not the one in charge of managing them. It’s kind of like the cloud, where people just accept that data goes in the cloud and comes back out just the way you requested it. Of course, we know it’s not that easy. There’s a lot that goes on behind the scene. The same holds true for “serverless” code execution… and it’s really cool.
How exactly does it work? To explain and illustrate, I’ll be talking about AWS Lambda and AWS API Gateway. AWS Lambda allows you to focus on code by completely removing the need to think about servers.