Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
SlideShare a Scribd company logo
Microsoft Azure
Centralized configuration made easy
with Azure App Configuration
Callon Campbell
Microsoft MVP
@flying_maverick | theflyingmaverick.com
Microsoft Azure
About me
•Solution Architect | Developer
•Microsoft MVP in Azure
•20 years enterprise development with Microsoft
technologies – .NET, Azure, Web, Desktop, SQL, and
Mobile
•Blogging at https://theflyingmaverick.com
•Speaker at community events and meetups
•Co-creator of ReflectInsight, live .NET log viewer
Microsoft Azure
Agenda
•What is Azure App Configuration
•Features and scenarios
•Demos
• Portal and Azure CLI
• Implementing and using with ASP.NET Core
• DevOps
•Wrap-up
•Q&A
Microsoft Azure
What is Azure App Configuration?
Azure App Configuration provides a service to centrally
manage application settings and feature flags
Microsoft Azure
Why use Azure App Configuration?
• Modern cloud applications are distributed
• Multiple instances running in multiple geographic regions
• Managing application settings across these distributed
instances is hard
• Difficulty in troubleshooting issues
• Best practice is to separate application settings from
application code
• Ideal for microservices, containerized apps, serverless
apps, and continuous deployment pipelines, but not
limited to these apps
5
Microsoft Azure
Azure App Configuration Features
• Fully managed service
• Flexible key representation and mappings
• Key tagging with labels
• Point in time snapshot of settings
• Dedicated UI for feature flag management
• Comparison of two sets of configurations
• Support for Azure-managed identities
• Data encryption, at rest or in transit
• Native integration with popular frameworks (.NET, Java)
6
Microsoft Azure
What about Azure Key Vault?
Azure Key Vault is a tool for securely storing and
accessing secrets.
A secret is anything that you want to tightly control
access to, such as API keys, passwords, or certificates.
A vault is logical group of secrets.
7
Microsoft Azure
What about Azure Key Vault? (cont.)
• Azure App Configuration complements Azure Key Vault
• Not a replacement for Azure Key Vault
• Azure App Configuration is not the best option for
application secrets
• Azure Key Vault is best for:
• Application secrets
• Connection strings
• App Configuration is optimized for hierarchical and/or
dynamic application settings.
8
Microsoft Azure
Keys and Values
• Azure App Configuration is made up of key-value pairs
• Keys are the names of the key-value pairs
• Unicode base, case sensitive
• ASP.NET Core configuration is case-insensitive
• Use any Unicode character except for * , 
• Support for import/exporting
• There is a limit of 10KB for a single key-value item
9
Microsoft Azure
Microsoft Azure
Create Azure App Configuration - Azure
CLI
Microsoft Azure
Creating a new key-value - Azure CLI
Microsoft Azure
Overview
13
Microsoft Azure
Labels
14
Microsoft Azure
Key Comparison
15
Microsoft Azure
History
Log and
Restore
16
Microsoft Azure
Microsoft Azure
Nugets
ASP.NET Core
Install-Package Microsoft.Azure.AppConfiguration.AspNetCore -Version 2.0.0-
preview-010060003-1250
.NET Core / .NET Framework
Install-Package Microsoft.Extensions.Configuration.AzureAppConfiguration -
Version 2.0.0-preview-010050001-38
18
Microsoft Azure
Program.cs
19
Microsoft Azure
Startup.cs
20
Microsoft Azure
Appsettings.json
21
Microsoft Azure
Azure App Configuration in CI/CD
22
https://marketplace.visualstudio.com/items?itemName=AzureAppConfiguration.azure-app-configuration-task
Microsoft Azure
Supported Platforms:
Microsoft Azure
Wrap up
Microsoft Azure
Thank you!
CallonCampbell@Outlook.com
TheFlyingMaverick.com
@Flying_Maverick
25
Microsoft Azure
References
•Information on Azure App Configuration
•Azure App Configuration docs
•Quickstart: Create an ASP.NET Core app with Azure
App Configuration
•Azure App Configuration REST API Reference (GitHub)
•Azure App Configuration for Azure DevOps
26

More Related Content

Centralized configuration with azure app configuration

Editor's Notes

  1. Azure App Configuration helps you manage application settings and control their access centrally. It also simplifies your deployment tasks and eases the burden of dealing with permutations of configurations created by multiple applications, dependencies, and environments.
  2. Built on the simple concept of key-value pairs, this service provides manageability, availability, and ease-of-use. You can store and retrieve settings for applications, microservices, platforms, and CI/CD pipelines.
  3. https://docs.microsoft.com/en-us/azure/key-vault/basic-concepts https://azure.microsoft.com/en-us/services/key-vault/
  4. App Configuration is complementary to Key Vault, and the two should be used side by side in most application deployments. They’re typically used side by side to store and distribute application configuration data. While Key Vault is designed for secret management and operations, App Configuration is optimized for hierarchical and/or dynamic application settings. App Configuration supports: - Hierarchical namespaces - Labeling - Extensive queries - Batch retrieval - Specialized management operations - A feature-management user interface
  5. ASP.NET Core and .NET Core – App Configuration provider for .NET Core ASP.NET and .NET – App Configuration builder for .NET Java Spring – App Configuration client for Spring Cloud Others – App Configuration REST API