Serverless Architectures on AWS, Second Edition
Peter Sbarski
  • MEAP began July 2018
  • Publication in Early 2019 (estimated)
  • ISBN 9781617295423
  • 500 pages (estimated)
  • printed in black & white

Finally a clear step by step introduction to Serverless projects.

Giampiero Granatella

GET MORE WITH MANNING

An eBook copy of the previous edition, Serverless Architectures on AWS (First Edition), is included at no additional cost. It will be automatically added to your Manning Bookshelf within 24 hours of purchase.


Serverless Architectures on AWS, Second Edition teaches you how to design, secure and manage serverless backends that can power the most demanding web and mobile apps! This new edition has been fully-updated to include new chapters on current best practices and innovative use-cases, along with full coverage of the latest changes to AWS.
Table of Contents detailed table of contents

Part 1: First Steps

1 Going serverless

1.1 How we got to where we are

1.1.1 Service-oriented architecture and microservices

1.1.2 Software design

1.2 Principles of serverless architectures

1.2.1 Use a compute service to execute code on demand

1.2.2 Write single-purpose stateless functions

1.2.3 Design push-based, event-driven pipelines

1.2.4 Create thicker, more powerful front ends

1.2.5 Embrace third-party services

1.3 Transitioning from a server to services

1.4 Serverless pros and cons

1.4.1 Decision drivers

1.4.2 When to use serverless

1.5 Summary

2 Architectures and patterns

3 Building a serverless application

3.1 24-Hour Video

3.1.1 General requirements

3.1.2 Amazon Web Services

3.1.3 Creating your first Lambda function

3.1.4 Naming your Lambda

3.1.5 Testing locally

3.1.6 Deploying to AWS

3.1.7 Connecting S3 to Lambda

3.1.8 Testing in AWS

3.1.9 Looking at logs

3.2 Configuring Simple Notification Service

3.2.1 Connecting SNS to S3

3.2.2 Getting email from SNS

3.2.3 Testing SNS

3.3 Setting video permissions

3.3.1 Creating the second function

3.3.2 Configuring and securing

3.3.3 Testing the second function

3.4 Generating metadata

3.4.1 Creating the third function and FFprobe

3.5 Finishing touches

3.6 Starting with the Serverless framework

3.6.1 Setting up Serverless framework

3.6.2 Bringing Serverless Framework to 24-Hour Video

3.6.3 Next Steps

3.7 Exercises

3.8 Summary

4 Setting up your cloud

4.1 Security model and identity management

4.1.1 Creating and managing IAM users

4.1.2 Groups

4.1.3 Creating roles

4.1.4 Resources

4.1.5 Permissions and policies

4.2 Logging and alerting

4.2.1 Setting up logging

4.2.2 Log retention

4.2.3 Filters, metrics, and alarms

4.2.4 Searching log data

4.2.5 S3 and logging

4.2.6 More on alarms

4.2.7 CloudTrail

4.3 Costs

4.3.1 Creating billing alerts

4.3.2 Monitoring and optimizing costs

4.3.3 Using the Simple Monthly Calculator

4.3.4 Calculating Lambda and API Gateway costs

4.4 Exercises

4.5 Summary

Part 2: Core ideas

5 Authentication & authorization

6 Lambda the orchestrator

7 API Gateway

8 Continuous integration and deployment

Part 3: Growing your architecture

9 Smarter storage

10 Database

11 Blackbelt Lambda

12 Going the last mile

Appendixes

Appendix A: Services for your serverless

Appendix B: Installation and setup

B.1 Preparing your system

B.2 Setting up an IAM user and CLI

B.3 Making buckets

B.4 Creating an IAM role

B.5 Preparing for Lambda

B.6 AWS Elementals MediaConvert

B.7 Setting up the first function

Appendix C: Authentication and authorization

Appendix D: Lambda insider

Appendix E: Models and Mapping

Appendix F: S3 event message structure

Appendix G: Serverless Framework and SAM

About the Technology

Leave behind tedious server maintenance, scheduled downtimes, constant patching, and complex infrastructure! Serverless technologies such as AWS Lambda, give you the tools to build complete applications at scale using self-managing cloud-hosted services that automatically update and scale on demand. Serverless systems enable flexible new architectures that replace or augment traditional back-end servers. On the AWS platform, the centerpiece of serverless applications is AWS Lambda, a service for writing and deploying small, single-purpose cloud-hosted functions. By composing and combining Lambda functions together with other AWS and third-party services, you can create powerful applications that help bring down costs, work faster, and have fantastic support.

About the book

Serverless Architectures on AWS, Second Edition teaches you how to design, secure, and manage serverless backend APIs for web and mobile applications on the AWS platform. You'll get going quickly with this book's relevant real-world examples, code listings, diagrams, and clearly-described architectures that you can readily apply to your own work. You’ll master serverless systems using AWS Lambda and the myriad of other services on the AWS platform.

This new edition has been fully updated to reflect the newest serverless design best practices and changes to AWS, including covering DynamoDB, Cognito, Google Firestore, AWS Elementals MediaConvert, Step Functions, and much more. There are also three new chapters dedicated to black belt tricks for Lambda, using patterns, and even DevOps for serverless applications.

What's inside

  • First steps with serverless computing
  • The principles of serverless design
  • Transitioning from servers to services
  • Important patterns and architectures
  • Writing AWS Lambda functions and using the API Gateway
  • Securing, deploying, and managing your finished architecture

About the reader

This book is for server-side and full-stack software developers with some experience using Node.js and AWS. Beginners and intermediate developers alike will find something useful inside.

About the author

Peter Sbarski is VP of Engineering at A Cloud Guru and the head organizer of Serverlessconf, the world’s first conference dedicated entirely to serverless architectures and technologies. Throughout his extensive IT career, Peter has led teams across large enterprise solutions with a focus on web and AWS cloud technologies.

Manning Early Access Program (MEAP) Read chapters as they are written, get the finished eBook as soon as it’s ready, and receive the pBook long before it's in bookstores.
buy
Serverless Architectures on AWS, Second Edition (combo) added to cart
continue shopping
go to cart

MEAP combo $49.99 pBook + eBook + liveBook
Serverless Architectures on AWS, Second Edition (eBook) added to cart
continue shopping
go to cart

MEAP eBook $39.99 pdf + ePub + kindle + liveBook

FREE domestic shipping on three or more pBooks

An excellent introduction to an important emerging technology featuring a very compelling and engaging set of examples.

Shaun Hickson

Excellent book to understand the concept of serverless architetures using AWS.

Vignesh Muthuthurai

Provides a sold foundation for understanding the intricacies of developing and deploying to AWS.

Steve Hansen