Learning Path

Migrating Microservices to Serverless—Understanding Serverless Technology and Addressing Serverless Concerns

Time to complete: 1h 12m

Published byO'Reilly Media, Inc.

CreatedMay 2018

Serverless technology is enjoying increasing popularity and use today, and this is occuring in no small part because of the corresponding rise in popularity of microservices architectures. Adopting serverless features and products can help you to avoid some of the inherent challenges of developing and maintaining applications using a microservices architecture. But there are legitimate concerns about how to best use serverless technology in a microservices environment, such as security, whether to migrate all at once or in steps, and vendor lock-in. These and other questions you’ll want to consider before getting underway with your migration plans.

In this learning path designed for intermediate- to advanced-level developers, engineers, and architects, microservices expert Sam Newman guides you through the many serverless frameworks that are currently available so you can choose the one that’s best for your organization. Sam addresses—and provides solutions for—some concerns regarding migrating to serverless and using Function as a Service (FaaS) systems and products. You’ll also examine ways to ensure that your applications remain performant and see how to cope with issues such as scalability. When you’re done, you’ll come away with a clear understanding of the advantages of serverless technology and how it can be the right framework for you as your enterprise migrates to microservices architecture. This learning path is drawn from Sam’s Serverless Fundamentals for Microservices video and works best if you understand what microservices are and have some experience working with distributed systems. If you don’t yet have that experience, we suggest that you first watch The Principles of Microservices video course.

What you’ll learn—and how you can apply it

  • Why an incremental adoption is the best approach for moving to serverless
  • How to identify low-hanging fruit for initial experiments in moving parts of a microservices architecture to serverless
  • Different approaches for addressing concerns such as vendor lock-in, security, and performance when using serverless platforms or products
  • How going “all in” with a serverless vendor will enable you to get more value from the wider ecosystem the vendor provides
  • The importance of understanding what performance your application needs, and how you want to scale it, before choosing a FaaS-based product
  • How you can run serverless functions locally on Microsoft and Amazon platforms

This learning path is for you because…

  • You are a software developer, engineer, or architect and are interested in making use of serverless technology and want to understand where it fits in to your development strategy
  • You are working on a microservice architecture and want to know if, and how, serverless technology can help
  • You are already working with serverless technology and want to understand some of the pitfalls that you might face in its use and how to avoid them


  • An understanding of microservices or other similar distributed system architectures is useful, but not required
  • No prior knowledge of serverless technology is required, but it can be helpful

Materials or downloads needed in advance: None