ENGLISH

Architecting Cloud-Native Serverless Solutions: Design, build, and operate serverless solutions on cloud and open source platforms

Book information

Publisher
Packt Publishing
Year
2023
ISBN
1803230088, 9781803230085
Language
english
Format
PDF
Filesize
23 MB (23644255 bytes)
Pages
350\350
Time added
2023-06-15 17:34:05

Description

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 FeaturesLearn with DIY projects and step-by-step instructions for different serverless technologies and vendorsExplore detailed sections on running serverless workloads across Kubernetes and virtual machinesDiscover Cloudflare Serverless Solutions to modernize your web applicationsBook Description Serverless computing has emerged as a mainstream paradigm in both cloud and on-premises computing, with AWS Lambda playing a pivotal role in shaping the Function-as-a-Service (FaaS) landscape. However, with the explosion of serverless technologies and vendors, it has become increasingly challenging to comprehend the foundational services and their offerings. Architecting Cloud Native Serverless Solutions lays a strong foundation for understanding the serverless landscape and technologies in a vendor-agnostic manner. You'll learn how to select the appropriate cloud vendors and technologies based on your specific needs. In addition, you'll dive deep into the serverless services across AWS, GCP, Azure, and Cloudflare followed by open source serverless tools such as Knative, OpenFaaS, and OpenWhisk, along with examples. You'll explore serverless solutions on Kubernetes that can be deployed on both cloud-hosted clusters and on-premises environments, with real-world use cases. Furthermore, you'll explore development frameworks, DevOps approaches, best practices, security considerations, and design principles associated with serverless computing. By the end of this serverless book, you'll be well equipped to solve your business problems by using the appropriate serverless vendors and technologies to build efficient and cost-effective serverless systems independently. What you will learnUnderstand the serverless landscape and its potentialBuild serverless solutions across AWS, Azure, and GCPDevelop and run serverless applications on KubernetesImplement open source FaaS with Knative, OpenFaaS, and OpenWhiskModernize web architecture with Cloudflare ServerlessDiscover popular serverless frameworks and DevOps for serverlessExplore software design and serverless architecture patternsAcquire an understanding of serverless development and security best practicesWho this book is for This book is for DevOps, platform, cloud, site reliability engineers, or application developers looking to build serverless solutions. It's a valuable reference for solution architects trying to modernize a legacy application or working on a greenfield project. It's also helpful for anyone trying to solve business or operational problems without wanting to manage complicated technology infrastructure using serverless technologies. A basic understanding of cloud computing and some familiarity with at least one cloud vendor, Python programming language, and working with CLI will be helpful when reading this book. Table of ContentsServerless computing and Function as a serviceBackend as a Service and Powerful Serverless PlatformsServerless solutions in AWSServerless Solutions in AzureServerless solutions in GCPServerless CloudflareKubernetes, Knative, and OpenFaaSSelf-hosted FaaS with Apache OpenwhiskImplementing DevOps Practices for ServerlessServerless security, Observability, and Best PracticesArchitectural and Design Patterns for Serverless 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

Similar books

Session C11: Ancient Cultural Landscapes in South Europe – their Ecological Setting and Evolution, Session C22: Gardeners from South America, Session S04: Agro-Pastoralism and Early Metallurgy Sessions, Session WS29: The Idea of Enclosure in Recent Iberian Prehistory, Session C88: Rhytmes et causalites des dynamiques de l'anthropisation en Europe entre 6500 ET 500 BC: Hypotheses socio-culturelles et/ou climatiques: Proceedings of the XV UISPP World Congress (Lisbon 4-9 September 2006) / Actes du XV Congrès Mondial (Lisbonne 4-9 Septembre 2006) Vol.36

Session C11: Ancient Cultural Landscapes in South Europe – their Ecological Setting and Evolution, Session C22: Gardeners from South America, Session S04: Agro-Pastoralism and Early Metallurgy Sessions, Session WS29: The Idea of Enclosure in Recent Iberian Prehistory, Session C88: Rhytmes et causalites des dynamiques de l'anthropisation en Europe entre 6500 ET 500 BC: Hypotheses socio-culturelles et/ou climatiques: Proceedings of the XV UISPP World Congress (Lisbon 4-9 September 2006) / Actes du XV Congrès Mondial (Lisbonne 4-9 Septembre 2006) Vol.36

2010 · PDF

THE BRITISH ARMY IN INDIA: ITS PRESERVATION BY AN APPROPRIATE CLOTHING, HOUSING, LOCATING, RECREATIVE EMPLOYMENT, AND HOPEFUL ENCOURAGEMENT OF THE TROOPS. with AN APPENDIX ON INDIA : THE CLIMATE OP ITS HILLS ; THE DEVELOPMENT OF ITS RESODRCBS, INDUSTRY, AND ARTS ; THE ADMINISTRATION OF JUSTICE ; THE BLACK ACT ; THE PROGRESS OF CHRISTIANITY ; THE TRAFFIC IN OPIUM ; THE VALUE OF INDIA ; PERMANENT CAUSES OF DISAFFECTION, AND OF THE RECENT REBELLION ; THE TRADITIONARY POLICY; MISGOVERNMENT BY NATIVE RULERS ; ANNEXATIONS OF THEIR TERRITORY, ETC.

THE BRITISH ARMY IN INDIA: ITS PRESERVATION BY AN APPROPRIATE CLOTHING, HOUSING, LOCATING, RECREATIVE EMPLOYMENT, AND HOPEFUL ENCOURAGEMENT OF THE TROOPS. with AN APPENDIX ON INDIA : THE CLIMATE OP ITS HILLS ; THE DEVELOPMENT OF ITS RESODRCBS, INDUSTRY, AND ARTS ; THE ADMINISTRATION OF JUSTICE ; THE BLACK ACT ; THE PROGRESS OF CHRISTIANITY ; THE TRAFFIC IN OPIUM ; THE VALUE OF INDIA ; PERMANENT CAUSES OF DISAFFECTION, AND OF THE RECENT REBELLION ; THE TRADITIONARY POLICY; MISGOVERNMENT BY NATIVE RULERS ; ANNEXATIONS OF THEIR TERRITORY, ETC.

1858 · PDF

Idries Shah 27 Books Collection : A Perfumed Scorpion, A Veiled Gazelle, Caravan of Dreams, Darkest England, Destination Mecca, Evenings with Idries Shah, Knowing How to Know, Learning How to Learn, Letters and Lectures of Idries Shah, Neglected aspects of Sufi study, Observations, Oriental Magic, Reflections, Seeker after Truth, Special Illumination, Special Problems in the study of Sufi ideas, Sufi thought and action, Tales of the Dervishes, The Dermis Probe, The Elephant in the Dark, The Englishman Handbook, Idries Shah Antology, The Magic Monastery, The natives are restless, wisdom of the Idiots PDF.

Idries Shah 27 Books Collection : A Perfumed Scorpion, A Veiled Gazelle, Caravan of Dreams, Darkest England, Destination Mecca, Evenings with Idries Shah, Knowing How to Know, Learning How to Learn, Letters and Lectures of Idries Shah, Neglected aspects of Sufi study, Observations, Oriental Magic, Reflections, Seeker after Truth, Special Illumination, Special Problems in the study of Sufi ideas, Sufi thought and action, Tales of the Dervishes, The Dermis Probe, The Elephant in the Dark, The Englishman Handbook, Idries Shah Antology, The Magic Monastery, The natives are restless, wisdom of the Idiots PDF.

2022 · PDF