Hands-On Serverless Applications with Go: Build real-world, production-ready applications with AWS Lambda
Mohamed Labouardy
- 出版商: Packt Publishing
- 出版日期: 2018-08-30
- 售價: $1,980
- 貴賓價: 9.5 折 $1,881
- 語言: 英文
- 頁數: 416
- 裝訂: Paperback
- ISBN: 1789134617
- ISBN-13: 9781789134612
-
相關分類:
Amazon Web Services、Serverless
海外代購書籍(需單獨結帳)
相關主題
商品描述
Learn to build, secure, deploy, and manage your serverless application in Golang with AWS Lambda
Key Features
- Implement AWS lambda to build scalable and cost-efficient applications in Go
- Design and set the data flow between cloud services and custom business logic
- Learn to design Lambda functions using real-world examples and implementation scenarios
Book Description
Serverless architecture is popular in the tech community due to AWS Lambda. Go is simple to learn, straightforward to work with, and easy to read for other developers; and now it's been heralded as a supported language for AWS Lambda. This book is your optimal guide to designing a Go serverless application and deploying it to Lambda.
This book starts with a quick introduction to the world of serverless architecture and its benefits, and then delves into AWS Lambda using practical examples. You'll then learn how to design and build a production-ready application in Go using AWS serverless services with zero upfront infrastructure investment. The book will help you learn how to scale up serverless applications and handle distributed serverless systems in production. You will also learn how to log and test your application.
Along the way, you'll also discover how to set up a CI/CD pipeline to automate the deployment process of your Lambda functions. Moreover, you'll learn how to troubleshoot and monitor your apps in near real-time with services such as AWS CloudWatch and X-ray. This book will also teach you how to secure the access with AWS Cognito.
By the end of this book, you will have mastered designing, building, and deploying a Go serverless application.
What you will learn
- Understand how AWS Lambda works and use it to create an application
- Understand how to scaleup serverless applications
- Design a cost-effective serverless application in AWS
- Build a highly scalable and fault-tolerant CI/CD pipeline
- Understand how to troubleshoot and monitor serverless apps in AWS
- Discover the working of APIs and single page applications
- Build a production-ready serverless application in Go
Who this book is for
This book is for Go developers who would like to learn about serverless architecture. Go programming knowledge is assumed. DevOps and Solution Architects who are interested in building serverless applications in Go can also choose this book.
Table of Contents
- Go Serverless
- Getting Started with AWS Lambda
- Developing a Serverless Function with Lambda
- Setting up API Endpoints with API Gateway
- Managing Data Persistence with DynamoDB
- Deploying Your Serverless Application
- Implementing a CI/CD Pipeline
- Scaling Up Your Application
- Building the Frontend with S3
- Testing Your Serverless Application
- Monitoring and Troubleshooting
- Securing Your Serverless Application
- Designing Cost-Effective Application
- Infrastructure as Code
商品描述(中文翻譯)
學習使用Golang和AWS Lambda建立、保護、部署和管理無伺服器應用程式
主要特點:
- 使用AWS Lambda在Go中實現可擴展且具有成本效益的應用程式
- 設計並建立雲服務和自訂業務邏輯之間的資料流
- 透過實際案例和實作場景學習設計Lambda函式
書籍描述:
由於AWS Lambda的流行,無伺服器架構在技術社群中非常受歡迎。Go語言易於學習、易於使用,並且對其他開發人員來說易於閱讀;現在它已被譽為AWS Lambda的支援語言。本書是您設計Go無伺服器應用程式並部署到Lambda的最佳指南。
本書首先快速介紹無伺服器架構及其優點,然後通過實際範例深入探討AWS Lambda。接著,您將學習如何使用AWS無伺服器服務在Go中設計和建立一個可投入生產的應用程式,而無需預先投資基礎架構。本書將幫助您學習如何擴展無伺服器應用程式並在生產環境中處理分散的無伺服器系統。您還將學習如何記錄和測試應用程式。
在此過程中,您還將發現如何設置CI/CD流程以自動化Lambda函式的部署過程。此外,您還將學習如何使用AWS CloudWatch和X-ray等服務幾乎實時地進行故障排除和監控應用程式。本書還將教您如何使用AWS Cognito保護訪問。
通過閱讀本書,您將掌握設計、建立和部署Go無伺服器應用程式的技能。
您將學到:
- 了解AWS Lambda的工作原理並使用它來創建應用程式
- 了解如何擴展無伺服器應用程式
- 在AWS中設計成本效益的無伺服器應用程式
- 建立高度可擴展且容錯的CI/CD流程
- 了解如何在AWS中進行故障排除和監控無伺服器應用程式
- 了解API和單頁應用程式的運作方式
- 在Go中建立可投入生產的無伺服器應用程式
本書適合對無伺服器架構感興趣的Go開發人員閱讀。假設讀者已具備Go編程知識。同時,對於希望建立Go無伺服器應用程式的DevOps和解決方案架構師也適用。
目錄:
1. Go無伺服器
2. 開始使用AWS Lambda
3. 使用Lambda開發無伺服器函式
4. 使用API Gateway設置API端點
5. 使用DynamoDB管理資料持久性
6. 部署您的無伺服器應用程式
7. 實施CI/CD流程
8. 擴展您的應用程式
9. 使用S3建立前端
10. 測試您的無伺服器應用程式
11. 監控和故障排除
12. 保護您的無伺服器應用程式
13. 設計成本效益的應用程式
14. 基礎架構即代碼