更新时间:2021-07-16 17:36:13
封面
Title Page
Copyright and Credits
DevOps for Serverless Applications
Dedication
Packt Upsell
Why subscribe?
packt.com
Contributors
About the author
About the reviewer
Packt is searching for authors like you
Preface
Who this book is for
What this book covers
To get the most out of this book
Download the example code files
Download the color images
Conventions used
Get in touch
Reviews
Introducing Serverless
Introduction to serverless
Core concept
Backend as a Service
Function as a Service
AWS Lambda
Azure Functions
Google Functions
OpenWhisk
Other serverless architectures
Serverless benefits
Faster time to market
Highly scalable
Low cost
Latency and geolocation improvement
Serverless drawbacks
Increased complexity
Lack of tooling
Complexity with architecture
Drawback in implementation
DevOps with serverless
Summary
Understanding Serverless Frameworks
ClaudiaJS
Command-line library
API builder library
Bot builder library
Apex
Zappa
Serverless Framework
Framework features
Services and deployment
Functions and events
Variables and plugins
Resources
Setting up AWS access keys
Installation of Serverless Framework
Lambda service and function deployment
Invoking locally
Deploying and invoking locally
Applying DevOps to AWS Lambda Applications
Manual deployment of a Lambda function
AWS Lambda with DevOps
Serverless frameworks with AWS CodePipeline
Continuous integration and continuous deployment with Lambda
Setting up Jenkins for a serverless application
Automated testing for Lambda functions
Unit testing a deployed application
AWS Lambda pipeline
Prerequisites
Deployment methods
Canary deployment
Setting up a simple environment
Setting up canary deployment
Making sure the deployment works fine
Deploying CodeDeploy hooks
Blue-green deployment
Integration of CloudWatch with ELK
DevOps with Azure Functions
Building a simple Azure function
Implementing continuous integration and continuous delivery with Azure Functions
Continuous integration with Azure Functions
Setting up environment variables
Continuous deployment to Azure Functions
Setting up a continuous deployment Azure deployment tool
Blue-green deployment in Azure Functions
The deployment dashboard
Monitoring and logging
Accessing logs through Kudu
Logging information via table storage
Monitoring the Azure Function
Integrating with New Relic
Best practice
Source code management
Folder structure
Testing and static code analysis