<p><span>Successfully modernize your apps on Azure using APIs, event-driven systems, functions, and Service Fabric and connect them to different relational and non-relational databases</span></p><p><span>Purchase of the print or Kindle book includes a free PDF eBook</span></p><h4><span>Key Features<
A Developer's Guide to Building Resilient Cloud Applications with Azure: Deploy applications on serverless and event-driven architecture using a cloud database
β Scribed by Hamida Rebai Trabelsi
- Publisher
- Packt Publishing
- Tongue
- English
- Leaves
- 296
- Category
- Library
No coin nor oath required. For personal study only.
β¦ Synopsis
Successfully modernize your apps on Azure using APIs, event-driven systems, functions, and Service Fabric and connect them to different relational and non-relational databases
Purchase of the print or Kindle book includes a free PDF eBook
Key Features
- Understand Function-as-a-Service and Azure Service Fabric for distributed applications
- Develop event-based and message-based solutions using Event Grid and Azure Event Hubs
- Explore continuous deployment for Docker with Azure DevOps and integrate Docker Hub with CI/CD pipelines
Book Description
To deliver software at a faster rate and reduced costs, companies with stable legacy systems and growing data volumes are trying to modernize their applications and accelerate innovation, but this is no easy matter. A Developer's Guide to Building Resilient Cloud Applications with Azure helps you overcome these application modernization challenges to build secure and reliable cloud-based applications on Azure and connect them to databases with the help of easy-to-follow examples.
The book begins with a basic definition of serverless and event-driven architecture and Database-as-a-Service, before moving on to an exploration of the different services in Azure, namely Azure API
Management using the gateway pattern, event-driven architecture, Event Grid, Azure Event Hubs, Azure message queues, FaaS using Azure Functions, and the database-oriented cloud. Throughout the chapters, you'll learn about creating, importing, and managing APIs and Service Fabric in Azure, and discover how to ensure continuous integration and deployment in Azure to fully automate the software delivery process, that is, the build and release process.
By the end of this book, you'll be able to build and deploy cloud-oriented applications using APIs, serverless, Service Fabric, Azure Functions, and Event Grid technologies.
What you will learn
- Understand the architecture of Azure Functions and Azure Service Fabric
- Explore Platform-as-a-Service options for deploying SQL Server in Azure
- Create and manage Azure Storage and Azure Cosmos DB resources
- Leverage big data storage in Azure services
- Select Azure services to deploy according to a specific scenario
- Set up CI/CD pipelines to deploy container applications on Azure DevOps
- Get to grips with API gateway patterns and Azure API Management
Who this book is for
This book is for cloud developers, software architects, system administrators, database administrators, data engineers, developers, and computer science students who want to understand the role of the software architect or developer in the cloud world. Professionals looking to enhance their cloud and cloud-native programming concepts on Azure will also find this book useful. A solid background in C#, ASP.NET Core, and any recent version of Visual Studio and basic knowledge of cloud computing, Microsoft Azure, and databases will be helpful when using this book.
Table of Contents
- Introduction to Serverless Architecture, Event-Driven Architecture, and Cloud Databases
- API Management - Import, Manage, and Publish Your First API
- Developing Event-Based and Message-Based Solutions
- Creating and Deploying a Function App in Azure
- Develop an Azure Service Fabric Distributed Application
- Introduction to Application Data
- Working with Azure SQL Database
- Working with Azure Storage
- Working with Azure Cosmos DB to Manage Database Services
- Big Data Storage Overview
- Containers and Continuous Deployment on Azure
β¦ 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
π SIMILAR VOLUMES
Serverless computing is radically changing the way we build and deploy applications. With cloud providers running servers and managing machine resources, companies now can focus solely on the applicationβs business logic and functionality. This hands-on book shows experienced programmers how to buil
<p><span>Explore the theory and practice of designing and writing serverless applications using examples from the Knative project. With this practical guide, mid-level to senior application developers and team managers will learn when and why to target serverless platforms when developing microservi
<p>Explore the theory and practice of designing and writing serverless applications using examples from the Knative project. With this practical guide, mid-level to senior application developers and team managers will learn when and why to target serverless platforms when developing microservices or
Explore the theory and practice of designing and writing serverless applications using examples from the Knative project. With this practical guide, mid-level to senior application developers and team managers will learn when and why to target serverless platforms when developing microservices or ap