Hands-on serverless computing build, run and orchestrate serverless applications using AWS lambda, microsoft azure functions, and google cloud functions
Deploy functions efficiently using different cloud-based serverless offerings Key Features Understand the concept of Function-as-a-Service Implement Serverless solutions using AWS Lambda, Azure Functions and Google Cloud Functions Practical approach towards choosing the best tool for your serverless...
Otros Autores: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Birmingham, England ; Mumbai :
Packt
2018.
|
Edición: | 1st edition |
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009630695106719 |
Tabla de Contenidos:
- Cover
- Title Page
- Copyright and Credits
- Dedication
- Packt Upsell
- Foreword
- Contributors
- Table of Contents
- Preface
- Chapter 1: 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
- Chapter 2: 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
- Chapter 3: 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
- Chapter 4: 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
- Chapter 5: 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
- Chapter 6: 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
- Chapter 7: 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
- Chapter 8: 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.
- Chapter 9: 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
- Chapter 10: 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
- Chapter 11: 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
- Chapter 12: 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
- Chapter 13: 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
- Chapter 14: 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
- Index.