Serverless Architectures on AWS, 2nd Edition
- Length: 500 pages
- Edition: 2
- Language: English
- Publisher: Manning Publications
- Publication Date: 2020-04-07
- ISBN-10: 1617295426
- ISBN-13: 9781617295423
- Sales Rank: #1403917 (See Top 100 Books)
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 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. It features two entirely new chapters dedicated to DevOps, monitoring, and microservices, as well as working with DynamoDB, GraphQL and Kinesis.
Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
Serverless Architectures on AWS, Second Edition brief contents contents preface acknowledgments about this book About the code liveBook discussion forum about the authors about the cover illustration Part 1: First steps Chapter 1: Going serverless 1.1 What’s in a name? 1.2 Understanding serverless architectures 1.2.1 Service-oriented architecture and microservices 1.2.2 Implementing architecture the conventional way 1.2.3 Implementing architecture the serverless way 1.3 Making the call to go serverless 1.4 Serverless pros and cons 1.5 What’s new in this second edition? Chapter 2: First steps to ser verless 2.1 Building a video-encoding pipeline 2.1.1 A quick note on AWS costs 2.1.2 Using Amazon Web Services (AWS) 2.2 Preparing your system 2.2.1 Setting up your system 2.2.2 Working with Identity and Access Management (IAM) 2.2.3 Let’s make a bucket 2.2.4 Creating an IAM role 2.2.5 Using AWS Elemental MediaConvert 2.2.6 Using MediaConvert Role 2.3 Starting with the Serverless Framework 2.3.1 Setting up the Serverless Framework 2.3.2 Bringing Serverless Framework to The 24-Hour Video 2.3.3 Creating your first Lambda function 2.4 Testing in AWS 2.5 Looking at logs Chapter 3: Architectures and patterns 3.1 Use cases 3.1.1 Backend compute 3.1.2 Internet of Things (IoT) 3.1.3 Data processing and manipulation 3.1.4 Real-time analytics 3.1.5 Legacy API proxy 3.1.6 Scheduled services 3.1.7 Bots and skills 3.1.8 Hybrids 3.2 Patterns 3.2.1 GraphQL 3.2.2 Command pattern 3.2.3 Messaging pattern 3.2.4 Priority queue pattern 3.2.5 Fan-out pattern 3.2.6 Compute as glue 3.2.7 Pipes and filters pattern Part 2: Use cases Chapter 4: Yubl: Architecture highlights, lessons learned 4.1 The original Yubl architecture 4.1.1 Scalability problems 4.1.2 Performance problems 4.1.3 Long feature delivery cycles 4.1.4 Why serverless? 4.2 The new serverless Yubl architecture 4.2.1 Rearchitecting and rewriting 4.2.2 The new search API 4.3 Migrating to new microservices gracefully Chapter 5: A Cloud Guru: Architecture highlights, lessons learned 5.1 The original architecture 5.1.1 The journey to 43 microservices 5.1.2 What is GraphQL 5.1.3 Moving to GraphQL 5.1.4 Service discovery 5.1.5 Security in the BFF world 5.2 Remnants of the legacy Chapter 6: Yle: Architecture highlights, lessons learned 6.1 Ingesting events at scale with Fargate 6.1.1 Cost considerations 6.1.2 Performance considerations 6.2 Processing events in real-time 6.2.1 Kinesis Data Streams 6.2.2 SQS dead-letter queue (DLQ) 6.2.3 The Router Lambda function 6.2.4 Kinesis Data Firehose 6.2.5 Kinesis Data Analytics 6.2.6 Putting it altogether 6.3 Lessons learned 6.3.1 Know your service limits 6.3.2 Build with failure in mind 6.3.3 Batching is good for cost and efficiency 6.3.4 Cost estimation is tricky Part 3: Practicum Chapter 7: Building a scheduling ser vice for ad hoc tasks 7.1 Defining nonfunctional requirements 7.2 Cron job with EventBridge 7.2.1 Your scores 7.2.2 Our scores 7.2.3 Tweaking the solution 7.2.4 Final thoughts 7.3 DynamoDB TTL 7.3.1 Your scores 7.3.2 Our scores 7.3.3 Final thoughts 7.4 Step Functions 7.4.1 Your scores 7.4.2 Our scores 7.4.3 Tweaking the solution 7.4.4 Final thoughts 7.5 SQS 7.5.1 Your scores 7.5.2 Our scores 7.5.3 Final thoughts 7.6 Combining DynamoDB TTL with SQS 7.6.1 Your scores 7.6.2 Our scores 7.6.3 Final thoughts 7.7 Choosing the right solution for your application 7.8 The applications 7.8.1 Your weights 7.8.2 Our weights 7.8.3 Scoring the solutions for each application Chapter 8: Architecting ser verless parallel computing 8.1 Introduction to MapReduce 8.1.1 How to transcode a video 8.1.2 Architecture overview 8.2 Architecture deep dive 8.2.1 Maintaining state 8.2.2 Step Functions 8.3 An alternative architecture Chapter 9: Code Developer University 9.1 Solution overview 9.1.1 Requirements listed 9.1.2 Solution architecture 9.2 The Code Scoring Service 9.2.1 Submissions Queue 9.2.2 Code Scoring Service summary 9.3 Student Profile Service 9.3.1 Update Student Scores function 9.4 Analytics Service 9.4.1 Kinesis Firehose 9.4.2 AWS Glue and Amazon Athena 9.4.3 QuickSight Part 4: The future Chapter 10: Blackbelt Lambda 10.1 Where to optimize? 10.2 Before we get started 10.2.1 How a Lambda function handles requests 10.2.2 Latency: Cold vs. warm 10.2.3 Load generation on your function and application 10.2.4 Tracking performance and availability 10.3 Optimizing latency 10.3.1 Minimize deployment artifact size 10.3.2 Allocate sufficient resources to your execution environment 10.3.3 Optimize function logic 10.4 Concurrency 10.4.1 Correlation between requests, latency, and concurrency 10.4.2 Managing concurrency Chapter 11: Emerging practices 11.1 Using multiple AWS accounts 11.1.1 Isolate security breaches 11.1.2 Eliminate contention for shared service limits 11.1.3 Better cost monitoring 11.1.4 Better autonomy for your teams 11.1.5 Infrastructure-as-code for AWS Organizations 11.2 Using temporary stacks 11.2.1 Common AWS account structure 11.2.2 Use temporary stacks for feature branches 11.2.3 Use temporary stacks for e2e tests 11.3 Avoid sensitive data in plain text in environment variables 11.3.1 Attackers can still get in 11.3.2 Handle sensitive data securely 11.4 Use EventBridge in event-driven architectures 11.4.1 Content-based filtering 11.4.2 Schema discovery 11.4.3 Archive and replay events 11.4.4 More targets 11.4.5 Topology appendix A: Ser vices for your ser verless architecture A.1 API Gateway A.2 Simple Notification Service (SNS) A.3 Simple Storage Service (S3) A.4 Simple Queue Service (SQS) A.5 Simple Email Service (SES) A.6 Relational Database Service (RDS) A.7 DynamoDB A.8 Algolia A.9 Media Services A.10 Kinesis Streams A.11 Athena A.12 AppSync A.13 Cognito A.14 Auth0 A.15 Other services appendix B: Setting up your cloud B.1 Security model and identity management B.1.1 Creating and managing IAM users B.1.2 Groups B.1.3 Roles B.1.4 Resources B.1.5 Permissions and policies B.2 Cost B.2.1 Creating billing alerts B.2.2 Monitoring and optimizing costs B.2.3 Using the Simple Monthly Calculator B.2.4 Calculating Lambda and API Gateway costs appendix C: Deployment frameworks C.1 Serverless Framework C.1.1 Getting started C.1.2 Language support C.1.3 Invoking functions locally C.1.4 Plugins C.2 Serverless Application Model (SAM) C.3 Terraform C.4 Cloud Development Kit C.4.1 Where CDK shines C.4.2 CDK challenges C.5 Amplify index Numerics A B C D E F G H I J K L M N O P Q R S T U V W X Y
Donate to keep this site alive
How to download source code?
1. Go to: https://www.manning.com
2. Search the book title: Serverless Architectures on AWS, 2nd Edition
, sometime you may not get the results, please search the main title
3. Click the book title in the search results
3. resources
section, click Source Code
.
1. Disable the AdBlock plugin. Otherwise, you may not get any links.
2. Solve the CAPTCHA.
3. Click download link.
4. Lead to download server to download.