Skip to Content
Learn AWS Serverless Computing
book

Learn AWS Serverless Computing

by Scott Patterson
December 2019
Intermediate to advanced
382 pages
9h 43m
English
Packt Publishing
Content preview from Learn AWS Serverless Computing

Services

A service is our unit of project. It's our top-level name for the service we are creating and contains all the functions, events, and resources we need for the project. You can build everything you need to in one service, or have multiple services for a single serverless application. It's up to you to define what the delineation is and where the domain boundaries are.

We only need to create the service once, and some boilerplate files are created for us to get going quickly. Using the serverless CLI command, we can run the following code. This will create our service in the directory path we specify:

sls create         --template aws-nodejs     --path serverless-hello-world

At this point, we can choose which language we are writing our functions ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Practical Amazon EC2, SQS, Kinesis, and S3: A Hands-On Approach to AWS

Practical Amazon EC2, SQS, Kinesis, and S3: A Hands-On Approach to AWS

Sunil Gulabani

Publisher Resources

ISBN: 9781789958355