A Developer's Guide to Building Resilient Cloud Applications with Azure: Deploy applications on serverless and event-driven architecture using a cloud database 9781804611715, 1804611719

Successfully modernize your apps on Azure using APIs, event-driven systems, functions, and Service Fabric and connect th

147 101 13MB

English Pages 296

Report DMCA / Copyright

DOWNLOAD PDF FILE

Table of contents :
Cover
Title page
Copyright and credits
Foreword
Contributors
Table of Contents
Preface
Part 1: Building Cloud-Oriented Apps Using Patterns and Technologies
Chapter 1: Introduction to Serverless Architecture, Event-Driven Architecture, and Cloud Databases
Understanding serverless architecture
API definition
The API life cycle
An APIs role
API types
Understanding event-driven architecture
Exploring cloud databases
Summary
Further reading
Questions
Chapter 2: API Management – Import, Manage, and Publish Your First API
Technical requirements
The API Gateway pattern
Definition
Use case
Exploring the API Management service
API Management components
Products
Securing the API
Subscriptions and keys
The process of calling an API with the subscription key
Securing APIs by using certificates
Accepting client certificates in the consumption tier
Certificate authorization policies
Exercise 1 – creating a backend API and deploying APIs
Creating an API Management instance
Importing an API
Configuring the backend settings
Testing the API
Exercise 2 – using Azure API Management to proxy a public API
Importing an OpenAPI schema for proxying
Summary
Chapter 3: Developing Event-Based and Message-Based Solutions
Introduction
Exploring Event Grid and Azure Event Hubs
Event Grid
Event Hubs
Exercise 1 – publishing and subscribing from a .NET app to Event Grid events
Creating an Event Grid topic
Creating a web app to deploy the Azure Event Grid viewer
Creating an Event Grid subscription
Create a .NET Console project
Making some modifications to the Program class to be able to connect to Event Grid
Publishing new events
Exploring Azure message queues
Exercise 2 – creating an Azure Service Bus namespace and a queue
Using the Azure portal
Using the Azure CLI
Exercise 3 – publishing messages to a Service Bus queue using a .NET Core application
Exercise 4 – reading messages from a Service Bus queue using a .NET Core application
Exercise 5 – sending and receiving messages to and from a topic
Creating a topic using the Azure portal
Creating a subscription to the topic
Sending messages to the topic
Summary
Question
Part 2: Connecting Your Application with Azure Databases
Chapter 4: Creating and Deploying a Function App in Azure
Exploring Azure Functions
Triggers
Bindings
Order processing scenario using Azure Functions
Developing Azure functions
Azure Functions’ development
Creating an Azure Functions instance by using Visual Studio 2022
Creating an Azure Functions instance by using Visual Studio Code
Creating an Azure Functions app in the Azure portal
Developing durable functions
Introduction to durable functions
Implementing an orchestrator function
Function chaining
Fan-out, fan-in
Asynchronous HTTP APIs
Monitor pattern
Human interaction
Summary
Questions
Chapter 5: Develop an Azure Service Fabric Distributed Application
Exploring Azure Service Fabric
Definition
Clusters and nodes
The differences between Service Fabric and Kubernetes
The Azure Service Fabric development environment
Exercise 1 – creating a Service Fabric cluster using the Azure portal
Exercise 2 – creating a Service Fabric cluster using the Azure CLI
Exercise 3 – scaling an Azure Service Fabric cluster
Manual scaling
Custom autoscaling
Coding your scaling
Exercise 4 – creating a .NET Service Fabric application
Creating a Service Fabric application
Deploying the application in a local cluster using Visual Studio
Exercise 5 – deploying an app to a Service Fabric managed cluster and containers
Deploying an ASP.NET Core application to Azure Service Fabric
Building and executing a Docker container in Service Fabric
Summary
Questions
Chapter 6: Introduction to Application Data
An overview of data classification and data concepts
Exploring relational data concepts in Azure
Exploring non-relational data concepts in Azure
Exploring modern data warehouse analytics
Exploring data warehousing concepts
Azure data services for modern data warehouses
Getting started building with Power BI
Power BI Desktop
Summary
Chapter 7: Working with Azure SQL Database
Exploring PaaS options for deploying SQL Server in Azure
Azure SQL Database
Azure SQL Managed Instance
Creating an Azure SQL Database instance
Exercise 1 – deploying a single SQL database
Exercise 2 – deploying Azure SQL Database elastic pools
Exercise 3 – deploying SQL Managed Instance
Exercise 4 – connecting Azure SQL Database to an ASP.NET app
Creating and configuring the database connection
Summary
Further reading
Questions
Chapter 8: Working with Azure Storage
Azure Storage account
Exploring Azure Table Storage
Creating a table in Azure Table Storage in the Azure portal
Exploring Azure Blob Storage
Azure Blob Storage client library for .NET
Exploring Azure Disk Storage
Exploring Azure Files
The common uses of file storage
Adding Azure Files in the Azure portal
When to use Azure files versus blobs
Summary
Further reading
Questions
Chapter 9: Working with Azure Cosmos DB to Manage Database Services
NoSQL databases
Exercise 1 – creating an Azure Cosmos DB account using the Azure portal
Exploring the Cosmos DB SQL API
Exercise 2 – creating an Azure Cosmos DB SQL API account
Adding a new database and a new container
Adding data to a database
Querying data
Exercise 3 – connecting to the Azure Cosmos DB SQL API with the SDK
Exercise 3 – connecting Azure App Service with Azure Cosmos DB
Summary
Questions
Chapter 10: Big Data Storage Overview
Exploring Azure Data Lake Storage
Creating an Azure Data Lake instance using the Azure portal
Creating an Azure Data Lake instance using the Azure CLI
Exploring Azure Data Factory
ADF components
Creating an ADF using the Azure portal
Exploring Azure Databricks
Azure Synapse Analytics
Azure Databricks features
Azure Databricks components
Creating an Azure Databricks workspace
Exploring Azure Synapse Analytics
Exploring Azure Analysis Services
Summary
Further reading
Questions
Part 3: Ensuring Continuous Integration and Continuous Container Deployment on Azure
Chapter 11: Containers and Continuous Deployment on Azure
Setting up continuous deployment for Docker with Azure DevOps and Azure Container Registry
Creating the pipeline
Continuous deployment for Windows containers with Azure DevOps
Deploying to Azure Container Registry
Deploying to Azure App Service
Integrating Docker Hub with the CI/CD pipeline
Summary
Assessments
Index
Other Books You May Enjoy

A Developer's Guide to Building Resilient Cloud Applications with Azure: Deploy applications on serverless and event-driven architecture using a cloud database
 9781804611715, 1804611719

  • 0 0 0
  • Like this paper and download? You can publish your own PDF file online for free in a few minutes! Sign Up
File loading please wait...
Recommend Papers