Finally a clear step by step introduction to Serverless projects.
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.
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
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
4 Setting up your cloud
4.1 Security model and identity management
4.1.1 Creating and managing IAM users
4.1.3 Creating roles
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.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
Part 2: Core ideas
5 Authentication and authorization with Cognito
6 Authenticating Lambda and API Gateway
7 Lambda the orchestrator
8 API Gateway
Part 3: Growing your architecture
10 Smarter storage
12 Blackbelt Lambda
12.1 Where to optimize?
12.2 Before we get started
12.2.1 How a Lambda function handles requests
12.2.2 Latency — cold vs. warm
12.2.3 Load generation on your function and application
12.2.4 Tracking performance and availability
12.3 Optimizing latency
12.3.1 Minimize deployment artifact size
12.3.2 Allocate sufficient resource to your execution environment
12.3.3 Optimize function logic
12.4.1 Correlation between Requests, latency, and concurrency
12.4.2 Managing concurrency
13 Going the last mile
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: Auth0
Appendix E: Lambda insider
Appendix F: Models and Mapping
Appendix G: S3 event message structure
Appendix H: Serverless Framework and SAM
About the TechnologyLeave 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.
- 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 readerThis 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 authors
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.
Ajay Nair is a Principal Technical Product Manager at Amazon. Ajay is one of the founding members of the AWS Lambda team, and he continues to work closely with customers and partners to define the product roadmap and strategy for AWS Lambda and the overall serverless portfolio for AWS.
placing your order...Don't refresh or navigate away from the page.
An excellent introduction to an important emerging technology featuring a very compelling and engaging set of examples.
Excellent book to understand the concept of serverless architetures using AWS.
Provides a sold foundation for understanding the intricacies of developing and deploying to AWS.