Deploy First

For all same the reasons we deployed our web app before building it, we’re going to deploy a Lambda service before we build one. Along the way, you’ll see how you can configure, deploy, and test these services. Rather than starting with a new service, however, we’re going to deploy the service we already have. Once we’ve completed that step successfully, we’ll be ready to build a new service and deploy it with confidence.

The service that we’re going to deploy is based on the echo function we saw earlier in the chapter. The services directory in the prepared workspace holds all the code for our application’s Lambda services, and the echo function code currently lives in this directory as well. In addition to the code, the prepared ...

Get Serverless Single Page Apps now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.