Architecting cloud native serverless solutions design, build, and operate serverless solutions on cloud and open-source platforms
Get up and running with serverless workloads across AWS, Azure, GCP, Kubernetes, and virtual machines with real-life examples and best practices for design, development, and security of serverless applications Purchase of the print or Kindle book includes a free PDF eBook Key Features Learn with DIY...
Otros Autores: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Birmingham, England :
Packt Publishing
[2023]
|
Edición: | 1st ed |
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009755209406719 |
Tabla de Contenidos:
- Cover
- Title Page
- Copyright and Credits
- Contributors
- Table of Contents
- Preface
- Part 1 - Serverless Essentials
- Chapter 1: Serverless Computing and Function as a Service
- Evolution of computing in the cloud
- Benefits of cloud computing
- CAPEX versus OPEX
- Virtualization, software-defined networking, and containers
- Types of cloud computing
- Cloud service delivery models - IaaS, PaaS, and SaaS
- Serverless and FaaS
- FaaS and BaaS
- Microservice architecture
- Containers, orchestration, and microservices
- Event-driven architecture
- Events
- Structure and components of an EDA
- Benefits of EDA
- Use cases
- Disadvantages
- Brokers
- FaaS in detail - self-hosted FaaS
- Cloud FaaS versus self-hosted FaaS
- API gateways and the rise of serverless API services
- The case for serverless
- Summary
- Chapter 2: Backend as a Service and Powerful Serverless Platforms
- BaaS
- Messaging systems
- Message queues
- Pub-sub
- Message brokers and clusters
- Messaging protocols
- Push versus pull
- Guarantees in messaging
- Dead-letter queues
- Cloud messaging
- Object stores
- Design and features
- Workflow automation
- Cloud workflows
- NoSQL platforms
- Cloud NoSQL platforms
- Edge computing
- PoP
- CDNs
- Serverless at the edge
- IoT clouds
- Stream processing
- Future of serverless
- Trends in serverless
- Summary
- Part 2 - Platforms and Solutions in Action
- Chapter 3: Serverless Solutions in AWS
- Technical requirements
- Useful AWS concepts to know and refresh yourself on
- CloudFormation primer
- Advanced constructs in the CloudFormation template language
- Lambda - FaaS in AWS
- How Lambda works
- Important concepts
- Important configurations
- Lambda programming model
- Edge computing
- API Gateway
- HTTP API
- WebSocket API
- REST API
- Private REST API.
- API Gateway security
- S3 - object store
- S3 - components
- S3 and serverless
- DynamoDB
- Fundamentals
- Primary keys and indexes
- DynamoDB and serverless
- SQS
- Types of queues
- Features
- SQS and other AWS messaging products
- SQS and serverless
- SNS
- SNS and serverless
- AWS EventBridge
- Step Functions
- AWS service integrations
- Triggering workflows
- Doing by example - lightweight alert manager
- High-level solution design
- Summary
- Chapter 4: Serverless Solutions in Azure
- Technical requirements
- Azure fundamentals
- Azure Functions
- Function apps and creating your first function
- Developing and deploying a Python function
- Azure Blob Storage
- Creating and managing blob storage
- Blob Storage and Azure Functions
- Azure Cosmos DB
- Elements of Cosmos DB
- Data partitioning and partition keys
- Creating and managing Cosmos DB
- Cosmos DB and Azure Functions
- Azure event and messaging services
- Azure Event Grid
- Azure Event Hubs
- Azure Service Bus
- Azure Event Grid with Azure Functions
- Azure Logic Apps
- Key concepts of Logic Apps
- Creating a Logic Apps workflow
- Project - image resizing with Azure Functions
- Summary
- Chapter 5: Serverless Solutions in GCP
- Prerequisites and GCP basics
- Cloud Functions
- Core features
- The pricing model
- Operating system (OS) and runtime support
- Function triggers
- Function's structure and dependency management
- Creating your first function
- GCP Pub/Sub
- The different types of Pub/Sub flavors
- Core concepts
- GCS
- Cloud Workflows
- Common use cases
- Writing a workflow
- A sample workflow
- More serverless services
- Cloud Run
- Eventarc
- Cloud Scheduler
- Databases and data stores
- The project - nameplate scanning and traffic notice
- Summary
- Chapter 6: Serverless Cloudflare.
- Cloudflare service portfolio
- Cloudflare Workers - the workhorse at the edge
- Service Workers - the namesake and power behind Cloudflare Workers
- Cloudflare Workers - functionality and features
- Other languages supported
- Cloudflare Workers KV
- Cloudflare Pages
- JAMStack
- Cloudflare Pages and JAMStack
- Newest Cloudflare serverless offerings
- Cloudflare R2 storage
- Durable objects
- Workers and KV - learning by example
- Setting up the development environment with Wrangler
- Creating your first worker
- Deploying your worker
- Workers KV store
- Project
- Implementation
- More vendors in edge computing and JAMStack
- Summary
- Chapter 7: Kubernetes, Knative and OpenFaaS
- Containerization and Docker fundamentals
- Docker images
- Container orchestration and Kubernetes
- Kubernetes architecture and components
- Kubernetes how-to with minikube
- Knative
- Knative components
- Knative Eventing
- Knative and service meshes
- Knative installation and setup
- OpenFaaS
- OpenFaaS architecture
- Function runtime and watchdog
- Asynchronous functions
- FaaSD
- OpenFaaS installation and setup
- Example project - implementing a GitHub webhook with a Telegram notification
- High-level solution
- Design and architecture
- Application code and infrastructure automation
- Summary
- Chapter 8: Self-Hosted FaaS with Apache OpenWhisk
- OpenWhisk - concepts and features
- Actions and action chains
- Architecture
- Creating and managing actions and entities
- Creating your first action
- Triggers and rules
- Packages
- Feeds
- Web actions
- Administration and deployment
- Project - IoT and event processing with IBM Cloud functions
- Summary
- Part 3 - Design, Build, and Operate Serverless
- Chapter 9: Implementing DevOps Practices for Serverless
- General SDLC practices for serverless.
- The serverless framework
- Getting started with the serverless framework
- Framework concepts
- Events
- Updating and deploying the serverless service
- Other features of serverless in a nutshell
- Zappa - the serverless framework for Python
- Creating and testing the IP information API in Flask
- Infrastructure as code with Terraform
- Terraform concepts
- Terraform workflow
- Getting started with Terraform
- Infrastructure as code with the Pulumi SDK
- Getting started with Pulumi
- Testing serverless
- Testing in serverless - challenges and approaches
- Local manual tests
- Unit testing for serverless
- Integration tests
- CI/CD pipelines for serverless
- Summary
- Chapter 10: Serverless Security, Observability, and Best Practices
- Security vulnerabilities and mitigation guidelines
- The OWASP Serverless top 10
- The CSA top 12 serverless vulnerabilities
- Event injection
- Broken authentication
- Insecure configurations
- Insecure secrets and credentials storage
- Broken access control
- Inadequate function monitoring and logging
- Obsolete serverless resources
- Insecure dependencies
- Improper exception handling and verbose error messages
- Cross-execution data persistence
- Insecure deserialization
- Other common vulnerabilities - XXE and XSS
- Serverless observability
- The challenges of serverless observability
- Serverless observability in AWS
- Serverless observability in GCP
- Serverless observability in Azure
- Serverless best practices
- Summary
- Chapter 11: Architectural and Design Patterns for Serverless
- Design patterns primer
- Creational design patterns
- Structural design patterns
- Behavioral design patterns
- Architectural patterns
- Cloud architecture patterns - vendor frameworks and best practices
- Three-tier web architecture with AWS
- Event-driven architecture with Azure.
- Business process management with GCP
- More serverless designs
- The webhook pattern
- Document processing
- Video processing with the fanout pattern
- Serverless job scheduling
- Serverless applications in the Well-Architected Framework
- Summary
- Index
- Other Books You May Enjoy.