Javascript on AWS Lambda : How to use Node.js in a serverless architectureКНИГИ » ПРОГРАММИНГ
Название: javascript on AWS Lambda : How to use Node.js in a serverless architecture Автор: Tamas Sallai Издательство: Leanpub Год: 2021-01-14 Язык: английский Формат: pdf (true), mobi, epub Размер: 10.2 MB
The AWS Lambda service supports the Node.js runtime that makes it possible to run javascript code in the AWS cloud. This book is to teach you how to do it right, starting from the basics of how the Lambda service works through the configuration options and how programming for serverless is different, all to specific tools to help you. By the end of this book, you'll know the specific aspects of using javascript on AWS Lambda, the best practices, and the common pitfalls. The structure of the book follows a bottom-up approach. You'll learn the Lambda environment first, then how to configure javascript functions. After that, we'll move on to programming, then debugging.
Serverless computing allows scalability from zero to practically infinity. Inside AWS, Lambda is the key service to run functions.But while the code is in a familiar language, the runtime environment, the connected services, and the best practices are all different than in server-based architectures.
This books helps you bring what you already know - programming in javascript with Node.Js - to AWS Lambda.
Developing serverless applications is frustrating at first. Up until the "Hello world" everything is easy, but then a lot of small differences come to the surface. Things like why some requests are way slower than others, how to set the available memory, and why a sensible timeout is important. These are the results of how the Lambda execution environment works, and it is markedly different from running Node.Js on a server.
And it's not just how the function is run, but also what other services it interacts with. CloudWatch and Logs, IAM, and API Gateway, not to mention a database most functions will use. It's overwhelming at first.
This book systematically walks you through the configuration options and gives just the right amount of background information so that you'll know what parts are important. With it, you'll be able to set up your Lambda functions using best practices and avoid the common problems.
You'll:
* Understand how the Lambda execution environment works * Learn how to write javascript serverless functions * And walk away with knowledge about debuggers and HTTP APIs
Скачать javascript on AWS Lambda : How to use Node.js in a serverless architecture