Azure for Developers: Implement rich Azure PaaS ecosystems using containers, serverless services, and storage solutions, 2nd Edition
- Length: 632 pages
- Edition: 2
- Language: English
- Publisher: Packt Publishing
- Publication Date: 2022-08-30
- ISBN-10: 1803240091
- ISBN-13: 9781803240091
- Sales Rank: #0 (See Top 100 Books)
Develop cloud applications based on the most popular Azure services, including hosting web applications, running containers, storing data using both relational and non-relational databases, and much more
Key Features
- Take a modern approach to Azure Cloud development and management
- Get a detailed introduction to services such as web hosting, databases, and serverless platforms
- Get the hang of cloud services with this practical, developer-centric guide for Azure developers
Book Description
Microsoft Azure is currently one of the fastest growing public cloud service providers thanks to its sophisticated set of services for building fault-tolerant and scalable cloud-based applications.
This second edition of Azure for Developers will take you on a journey through the various PaaS services available in Azure, including Azure App Service, Azure Functions, and Azure SQL Databases, showing you how to build a complete and reliable system with ease. Throughout the book, you’ll discover ways to enhance your skills when building cloud-based solutions leveraging different SQL/NoSQL databases, serverless and messaging components, containerized solutions, and even search engines such as Azure Cognitive Search. That’s not all!! The book also covers more advanced scenarios such as scalability best practices, serving static content with Azure CDN, and distributing loads with Azure Traffic Manager, Azure Application Gateway, and Azure Front Door.
By the end of this Azure book, you’ll be able to build modern applications on the Azure cloud using the most popular and promising technologies to make your solutions reliable, stable, and efficient.
What you will learn
- Identify the Azure services that can help you get the results you need
- Implement PaaS components – Azure App Service, Azure SQL, Traffic Manager, CDN, Notification Hubs, and Azure Cognitive Search
- Work with serverless components
- Integrate applications with storage
- Put together messaging components (Event Hubs, Service Bus, and Azure Queue Storage)
- Use Application Insights to create complete monitoring solutions
- Secure solutions using Azure RBAC and manage identities
- Develop fast and scalable cloud applications
Who this book is for
This book is for developers and IT professionals who want to learn Microsoft Azure by developing applications based on various cloud services. Prior knowledge of software development and the basics of software architecture and Azure services give you an advantage.
Second Edition Azure for Developers Second Edition Contributors About the author About the reviewer Preface Who this book is for What this book covers To get the most out of this book Download the example code files Download the color images Conventions used Get in touch Share Your Thoughts Part 1: PaaS and Containers 1 Web Applications in Azure – Azure App Service Technical requirements Creating and deploying an Azure App Service resource Creating an Azure App Service resource using the Azure portal Creating an Azure App Service resource using Visual Studio Deploying Azure App Service resources using the Azure CLI Creating Azure App Service resources using VS Code Working with different operating systems and platforms Selecting an operating system Selecting different platforms Choosing the right App Service plan and exploring what its features are Dev / Test App Service plans Production App Service plans Isolated App Service plans Isolated V2 plan Securing App Service resources using different security providers Configuring authentication in the Azure portal Configuring networking for Azure App Service The Networking blade Access Restrictions Private endpoints VNet integration Summary Questions Further reading 2 Using Azure Container Registry for Storing and Managing Images Technical requirements Different hosting options for Azure Container Registry Deploying ACR with the Azure portal Deploying ACR using the Azure CLI Registries, repositories, and images Working with repositories and images Granting permissions for pulling/pushing images Tagging and versioning Zone redundancy and geo-replication ACR Tasks Summary Questions Further reading 3 Deploying Web Applications as Containers Technical requirements Different ways of hosting containerized applications Azure App Service – a web app for containers Preparing an application Using a container image in an Azure App Service plan Azure Kubernetes Service – a managed Kubernetes service Kubernetes and managed cluster basics Azure Kubernetes Service deployment Application deployment Summary Questions Further reading 4 Using Azure Container Instances for Ad Hoc Application Hosting Technical requirements Provisioning and configuring a service Container groups as the main unit of work Security baseline and considerations Summary Questions Further reading 5 Building a Search Engine with Azure Cognitive Search Technical requirements Creating an Azure Cognitive Search instance Using the Azure portal A full-text search in Azure Cognitive Search Sending a request Linguistic analysis in a full-text search Analyzers in Azure Cognitive Search Indexing in Azure Cognitive Search Importing more data Cognitive Search – adding AI to the indexing workload Configuring cognitive skills Summary Questions Further reading 6 Mobile Notifications with Notification Hubs Technical requirements Reasons to use Notification Hubs Challenges for application design Push notification architecture Direct connection Queued communication Triggered communication Registering a device within Notification Hubs Notification Hubs device registration Sending notifications to multiple vendors Sending a test notification Using the SDK to send a notification Sending a rich content notification through Notification Hubs Creating and sending a rich content notification Summary Questions Further reading Part 2: Serverless and Reactive Architecture 7 Serverless and Azure Functions Technical requirements Understanding Azure Functions Being "serverless" The concepts of Azure Functions Scaling Configuring the local environment for developing Azure Functions Starting with Azure Functions locally Creating a function Using Visual Studio Code Using the Azure portal The features of Azure Functions Platform features Security Monitor host.json Publish Integrating functions with other services The Function file Input/output bindings Summary Questions Further reading 8 Durable Functions Technical requirements What is Durable Functions? Orchestrations and activities Orchestration client Orchestration history Working with orchestrations Sub-orchestrations Timers, external events, and error handling Timers External events Error handling Eternal and singleton orchestrations, stateful entities, and task hubs Eternal orchestrations Singleton orchestrations Stateful entities Task hubs Advanced features – instance management, versioning, and high availability Instance management Versioning High availability Summary Questions Further reading 9 Integrating Different Components with Logic Apps Technical requirements What is Azure Logic Apps? Azure logic apps – how they work Azure Logic Apps – advantages Connectors for logic apps Connector types Creating logic apps and integrating services Creating logic apps in the Azure portal Working with Azure logic apps in Visual Studio Code B2B integration Starting B2B integration in Azure Logic Apps Integrating with virtual networks Summary Questions Further reading 10 Swiss Army Knife – Azure Cosmos DB Technical requirements Understanding Cosmos DB Creating a Cosmos DB instance in the portal Pricing in Azure Cosmos DB Partitioning, throughput, and consistency Partitions in Azure Cosmos DB Throughput in Azure Cosmos DB Consistency in Azure Cosmos DB Azure Cosmos DB models and APIs SQL MongoDB Graph Table Cassandra Capacity, autoscale, and optimization Container throughput Database level throughput Firewall and virtual networks Azure Functions Stored procedures User-defined functions and triggers Autoscale in Azure Cosmos DB Using change feed for change tracking Summary Questions Further reading 11 Reactive Architecture with Event Grid Technical requirements Azure Event Grid and reactive architecture Reactive architecture Topics and event subscriptions Connecting services through Azure Event Grid Creating Azure Event Grid in the Azure Portal Azure Event Grid security Creating a subscription Using different schemas in Event Grid Event Grid schema The CloudEvents schema Custom schema Receiving and filtering events EventGridTrigger in Azure Functions Testing Azure Event Grid and Azure Functions Summary Questions Further reading Part 3: Storage, Messaging, and Monitoring 12 Using Azure Storage – Tables, Queues, Files, and Blobs Technical requirements Using Azure Storage in a solution Different Azure Storage services Different types of storage accounts Securing Azure Storage Replication Storing structured data with Azure Storage tables Creating an Azure Storage service Managing Table storage Storing data in Table storage Querying data in Table storage Table API in Azure Cosmos DB Implementing fully managed file shares with Azure Files Azure Files concepts Working with Azure Files Blob storage versus Azure Files Using queues with Azure Queue Storage Queue Storage features Developing an application using Queue Storage Using Azure Storage blobs for object storage Blob storage concepts Inserting data into Blob Storage Containers and permissions Blob storage – additional features Summary Questions Further reading 13 Big Data Pipeline – Azure Event Hubs Technical requirements Azure Event Hubss service and concepts Azure Event Hubss concepts Azure Event Hubss durability Working with Azure Event Hubss Creating an Azure Event Hubss instance in the Azure portal Working with Azure Event Hubss in the portal Developing applications with Azure Event Hubs Federation – events replication Azure Event Hubs security Private Link Resource isolation IP filters and networking Azure Event Hubs Capture feature What is an Azure Event Hubs Capture? Enabling Event Hub Capture Summary Questions Further reading 14 Real-Time Data Analysis – Azure Stream Analytics Technical requirements Introducing Azure Stream Analytics Stream ingestions versus stream analysis Azure Stream Analytics concepts Defining available input and output types Creating an Azure Stream Analytics instance in the Azure portal Querying data using theAzure Stream Analytics query language Writing a query Event ordering, checkpoints, and replays Event ordering Checkpoints and replays Common query patterns Multiple outputs Data aggregation over time Counting unique values Summary Questions Further reading 15 Enterprise Integration – Azure Service Bus Technical requirements Azure Service Bus fundamentals Azure Service Bus versus other messaging services Azure Service Bus and Azure Queue Storage Azure Service Bus in the Azure portal Queues, topics, and relays Azure Service Bus design patterns Developing solutions with the Azure Service Bus SDK Azure Service Bus security MI RBAC Advanced features of Azure Service Bus Dead lettering Sessions Transactions Handling outages and disasters DR Handling outages Summary Questions Further reading 16 Using Application Insights to Monitor Your Applications Technical requirements Using the Azure Application Insights service Logging data in the cloud Azure Application Insights fundamentals Creating an Azure Application Insights instance in the portal Monitoring different platforms .NET Node.js Azure Functions Using the Logs module Accessing the Logs module Automating Azure Application Insights Alerts Summary Questions Further reading 17 SQL in Azure – Azure SQL Technical requirements Differences between Microsoft SQL Server and Azure SQL Azure SQL fundamentals Advanced Azure SQL features SQL Server on VMs Creating and configuring an Azure SQL Database instance Creating an Azure SQL Database instance Azure SQL features in the portal Security features of Azure SQL Firewall Microsoft Defender for SQL Data classification Auditing Dynamic Data Masking Scaling Azure SQL Single database Elastic pool Read scale-out Sharding Monitoring and tuning Monitoring Tuning Summary Questions Further reading 18 Big Data Storage – Azure Data Lake Technical requirements Understanding ADLS ADLS fundamentals Creating an ADLS instance Storing data in ADLS Gen2 Using the Azure portal for navigation Using SDKs Security features of ADLS Gen2 Authentication and authorization Network isolation Best practices for working with ADLS Performance Security Resiliency Data structure Summary Questions Further reading Part 4: Performance, Scalability, and Maintainability 19 Scaling Azure Applications Technical requirements Autoscaling, scaling up, scaling out Autoscaling Scaling up and scaling out Scaling Azure App Service Manual scaling Autoscaling Scaling Azure Functions Scaling serverless applications Azure Functions scaling behavior Scaling Azure Cosmos DB Autoscaling for provisioned throughput Scaling Azure Event Hubs Summary Questions Further reading 20 Serving Static Content Using Azure CDN Technical requirements Azure CDN fundamentals Working with CDNs Creating an Azure CDN in the portal Optimization and caching Configuring an endpoint Developing applications using Azure CDN Configuring Azure App Service with Azure CDN Summary Questions Further reading 21 Managing APIs with Azure API Management Technical requirements The main concepts of Azure API Management API gateway Management plane Developer portal Guidelines for designing APIs Basics of Azure API Management policies with examples Policy schema Provisioning the Azure API Management service Automated management of the service Summary Questions Further reading 22 Building a Scalable Entry Point for Your Service with Azure Front Door Technical requirements When to use Azure Front Door Load balancing with Azure Front Door Implementing URL rewrites and redirects Summary Questions Further reading 23 Azure Application Gateway as a Web Traffic Load Balancer Technical requirements Azure Application Gateway features WAF Load balancing Multiple-site hosting Rewriting URLs and headers Configuring routing Integrating with web applications URL rewriting and redirects Summary Questions Further reading 24 Distributing Load with Azure Traffic Manager Technical requirements Using Azure Traffic Manager Functions of Azure Traffic Manager Creating Azure Traffic Manager in the Azure portal Working with Azure Traffic Manager in the Azure portal Endpoint monitoring nslookup Traffic view Summary Questions Further reading 25 Tips and Tricks in Azure Technical requirements Using the Azure CLI Using Cloud Shell Automating infrastructure deployments with ARM templates and Azure Bicep A word from the reviewer Using continuous deployment for automated deployments to Azure Summary Questions Further reading Index Why subscribe? Other Books You May Enjoy Packt is searching for authors like you Share Your Thoughts
Donate to keep this site alive
How to download source code?
1. Go to: https://github.com/PacktPublishing
2. In the Find a repository… box, search the book title: Azure for Developers: Implement rich Azure PaaS ecosystems using containers, serverless services, and storage solutions, 2nd Edition
, sometime you may not get the results, please search the main title.
3. Click the book title in the search results.
3. Click Code to download.
1. Disable the AdBlock plugin. Otherwise, you may not get any links.
2. Solve the CAPTCHA.
3. Click download link.
4. Lead to download server to download.