售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Title Page
Copyright and Credits
Hands-On Serverless Computing
Dedication
Packt Upsell
Why subscribe?
PacktPub.com
Foreword
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
What is Serverless Computing?
What is serverless computing?
Serverless and event-driven collision
What is FaaS?
State
Execution duration
Understanding cold start
API gateway
The benefits of serverless computing
Reduced operational cost
Rapid development
Scaling costs
Easier operational management
Easier packaging and deployment
Time to market
What serverless computing is not
Comparison with PaaS
Comparison with containers
#NoOps
Limits to serverless computing
Infrastructure control
Long running application
Vendor lock-in
Cold start
Shared infrastructure
Server optimization is a thing of the past
Security concerns
Deployment of multiple functions
Limited number of testing tools
Summary
Development Environment, Tools, and SDKs
Development environment and tools
Visual Studio Code
Setting up Visual Studio Code
Hardware
Platforms
Additional Windows requirements
Additional Linux requirements
Installing on macOS
Launching VS Code from the Command Line
Manually adding Visual Studio Code to your path
Touch Bar support
Installing on Linux
Debian and Ubuntu-based distributions
RHEL, Fedora, and CentOS-based distributions
openSUSE and SLE-based distributions
AUR package for Arch Linux
Nix package for NixOS (or any Linux distribution using Nix package manager)
Installing the .rpm package manually
Installing on Windows
Icons are missing
Why are some icons not appearing in the workbench and editor?
Visual Studio Code User Interface
Basic layout
Side-by-side editing
Explorer window
Keyboard shortcuts
Node.js
Node Package Manager
Node.js installation
Installation steps
Node.js tutorial in VS Code
Running Hello Readers
Integrated Terminal
Postman
Installation
Installing on macOS
Installing on Windows
Linux installation
Updating Postman – native app (macOS, Windows, and Linux)
Postman Echo
Sending the first request using Postman
How does this work in Postman?
SDKs
AWS Node.js SDK
Installation
Configuration
Microsoft Azure Node.js SDK
Installation
Configuration/Authentication
Google Cloud Node.js SDK
Installation
Configuration/authentication
Summary
Getting Started with AWS Lambda
What is AWS Lambda?
How does AWS Lambda work?
Use cases
Web apps
IOT and mobile backends
Extract, Transform, Load (ETL)
Data processing
Real-time processing
Execution environment
Environment variables
Execution context
AWS Lambda Function–Hello World
Function code – configuration
Publishing and testing your changes
Configuring options for AWS Lambda
Memory configuration
Execution time configuration
Network configuration
Function versioning and aliases
Traffic Shifting using aliases
Environment variables
Securing AWS Lambda using IAM
Authenticating
Access control
Identity-based policies (IAM policies)
Resource-based policies (Lambda function policies)
AWS Lambda permissions model
Summary
Triggers and Events for AWS Lambda
Triggers for AWS Lambda
API Gateway Trigger
AWS IoT Trigger
IoT Button
IoT rule
Alexa trigger
CloudFront trigger
CloudWatch trigger
CloudWatch Events
CloudWatch Logs
CodeCommit Trigger
Cognito Trigger
Scheduled Events Trigger
AWS Config Trigger
DynamoDB Trigger
Kinesis Trigger
Amazon Kinesis Data Streams
Amazon Kinesis Data Firehose
S3 Trigger
SNS Trigger
Summary
Your First Serverless Application on AWS
Technical requirements
Your first serverless app (using the AWS Console)
Creating a function
Testing the function
Updating the function
Publishing a new version
Creating an alias for a Lambda function
Your first serverless app (using the AWS SAM)
Creating a function
AWS SAM
Creating a SAM template for your serverless app
Testing a serverless app locally
Publishing a serverless app
Packaging a serverless app
Deploying a serverless app
Summary
Serverless Orchestration on AWS
What is AWS Step Functions?
How does AWS Step Functions work?
App using sequential steps
App using branching steps
App using parallel steps
Operational visibility
Creating your first state machine
State machine using Lambdas
Summary
Getting Started with Azure Functions
An introduction to Azure Functions
Azure serverless platform
Compute
Database
Storage
Messaging
Security
Orchestration
API Management
Azure Function Proxies
Analytics
Azure portal
Dashboards
Azure Cloud Shell
Azure Functions console
Configuring Azure Functions
Function app settings
Runtime
Deployment slots
Hosting plan
Consumption plan
App Service plan
Authorization keys
Platform features
Application settings
SSH
Kudu – Advanced tools
API Definition
Summary
Triggers and Bindings for Azure Functions
Azure Function triggers and bindings
Example binding and trigger
Azure services–triggers and bindings
Azure Blob storage
Trigger
Bindings
Azure Cosmos DB
Trigger
Azure Event Grid
HTTP and webhook bindings
HTTP trigger
Webhook trigger
Timer trigger
Summary
Your First Serverless Application on Azure
Technical requirements
Your first serverless app (using the Azure portal)
Creating an HTTP trigger-based function
Testing Azure Functions
Managing Azure Functions
Triggers and bindings
Authorization level
Function and host keys
Monitoring your Azure Function
Function proxies
Generating automation script
Your first Serverless app (using Azure Functions Core Tools)
Azure Functions Core Tools
macOS
Windows
Visual Studio Code
Create a local Azure Function app
Create a local Azure Function
Publishing the local Azure Function app
Summary
Getting Started with Google Cloud Functions
Google Cloud Serverless Platform
Application development
Google App Engine
Google Cloud Functions
Analytics and Machine Learning
An Introduction to Google Cloud Functions
Google Cloud Console
Creating a Google Cloud project
Google Cloud Project Dashboard
Google Cloud Shell
Google Cloud Functions Console
Access Control using IAM
Cloud Functions runtime service account
Cloud Functions Service account
Creating a Google Cloud Functions user
Configuring Google Cloud Functions
Types of Google Cloud Functions
Configuration options
Summary
Triggers and Events for Google Cloud Functions
Technical requirements
Events
Event parameter
Triggers
Google Cloud Storage
Google Cloud Pub/Sub
HTTP triggers
Handing different HTTP methods
Summary
Your First Serverless Application on Google Cloud
Technical requirements
Your first serverless app (using the Google Cloud Console)
Creating a Google Cloud Function
Testing a Google Cloud Function
Testing using Postman
Viewing logs for Google Cloud Functions
Your first serverless app (on a local workstation)
gcloud CLI
What is gcloud?
Installing gcloud
macOS
Windows
gcloud beta commands
Initializing the gcloud CLI
Creating a Google Cloud Function
Deploying a Google Cloud Function
Summary
Reference Architecture for a Web App
Technical requirements
Reference architecture
Friendly domain name
SSL/TLS certificate
Amazon API Gateway + AWS Lambda
Amazon DynamoDB
Hotel search
Lambda Function + API Gateway
Amazon DynamoDB
Add to cart
Lambda Function + API Gateway
Amazon DynamoDB
Summary
Reference Architecture for a Real-time File Processing
Technical requirements
Reference architecture
S3 bucket
Amazon Simple Notification Service
AWS Lambda
Photo processing application
Three Lambda functions
S3 Bucket + Amazon SNS
Summary
Other Books You May Enjoy
Leave a review - let other readers know what you think
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜