Serverless local development

Click for: original source

A guide from the pen of Gareth McCumskey on super hot topic of serverless Developing Serverless applications is a very different way of building applications we’ve been building for decades now.

Serverless arrived to help ease that infrastructure burden that building an application consisting of many small services adds. But it still means we need to figure out what the new dev workflow looks like in a Serverless microservice world.

What we need to focus on then is getting each service running in some fashion locally so that we can easily execute the code we write; our handlers that will eventually be our Lambda functions that execute our business logic.

The guide then focuses on answering the following:

  • The ability to execute and debug code locally in a repeatable way
  • Handling API calls to cloud vendor services locally
  • Unit testing
  • AWS Services locally

The author also put together a Serverless bootstrap which is publicly available in GitLab. Code is explained together with instructions how to use mock module in your project. Nice!

[Read More]

Tags serverless programming cloud azure aws