{"id":23296,"date":"2021-08-16T11:11:48","date_gmt":"2021-08-16T11:11:48","guid":{"rendered":"https:\/\/www.devopsschool.com\/blog\/?p=23296"},"modified":"2022-04-13T15:58:06","modified_gmt":"2022-04-13T15:58:06","slug":"what-is-azure-app-configuration","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/what-is-azure-app-configuration\/","title":{"rendered":"What is Azure App Configuration?"},"content":{"rendered":"\n<p><strong>Introduction<\/strong><\/p>\n\n\n\n<p>Guys, first of all, let&#8217;s know about Azure, after that, I&#8217;ll explain to you about Azure App Configuration. Microsoft Azure is one of the platforms as a service (PaaS) solutions for building and hosting solutions using Microsoft\u2019s products and in their data centers. Azure is Microsoft\u2019s Cloud Computing Platform, similar to AWS by Amazon or Google Cloud by Google. This is one type of cloud infrastructure that allows you to develop, deploy, and manage services and applications from anywhere. The azure platform aims to help businesses manage challenges and meet their organizational goals.<\/p>\n\n\n\n<p><strong>Let&#8217;s know about Azure App Configuration<\/strong><\/p>\n\n\n\n<p>Azure App Configuration is part of Azure Development Services and it is also an Azure service that allows users to manage configuration within the cloud. Now, Users also can create App Configuration stores to store key-value settings and consume stored settings from within applications, deployment pipelines, release processes, microservices, and other Azure resources. Azure App Configuration is the best azure service that enables you to centralize your app configuration. This App Configuration can manage a service that helps developers centralize their app configuration and feature settings simply and securely.<\/p>\n\n\n\n<p><strong>Event-Driven Infrastructure with App Configuration<\/strong><\/p>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2021\/08\/event-driven-nfrastructure-with-app-configuration.png\" alt=\"\" class=\"wp-image-23301\" width=\"842\" height=\"199\" srcset=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2021\/08\/event-driven-nfrastructure-with-app-configuration.png 461w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2021\/08\/event-driven-nfrastructure-with-app-configuration-300x71.png 300w\" sizes=\"auto, (max-width: 842px) 100vw, 842px\" \/><\/figure>\n\n\n\n<p><strong>Create and configure an Azure App Configuration in the Azure portal<\/strong><\/p>\n\n\n\n<p>Before we create the application that uses settings and features flags, we&#8217;ll create an App Configuration to store those in.<\/p>\n\n\n\n<p>We&#8217;ll create the Azure App Configuration in the Azure portal.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Go to the Azure portal(opens new window)<\/li><li>Click the Create a resource button (the plus-sign in the top left corner)<\/li><li>Search for App Configuration and click on the result to start creating one<\/li><li>Fill in a name for the App Configuration<\/li><li>Select an Azure subscription<\/li><li>Select or create a Resource group<\/li><li>Select the Location<\/li><li>Click Create<\/li><\/ul>\n\n\n\n<p><strong>The App Configuration will now be created.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2021\/08\/image-6.png\" alt=\"\" class=\"wp-image-23298\" width=\"390\" height=\"363\"\/><figcaption><strong>Benefits of Azure App Configuration<\/strong><\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2021\/08\/image-7.png\" alt=\"\" class=\"wp-image-23299\" width=\"706\" height=\"282\" srcset=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2021\/08\/image-7.png 488w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2021\/08\/image-7-300x120.png 300w\" sizes=\"auto, (max-width: 706px) 100vw, 706px\" \/><figcaption><br><br><strong>With App Configuration we get more than just a basic key store. Here&#8217;s some of my favorite features, Azure App Configuration provides the following benefits:<\/strong><\/figcaption><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>Universal, fully managed configuration store for configuration and feature management<\/li><li>Provides fast retrieval of configurations for any application in Azure, on-prem or in other clouds<\/li><li>Complete data encryption, at rest or in transit<\/li><li>Improve security by separating configuration from code<\/li><li>Reduce configuration complexity across multiple environments<\/li><li>Native integrations with popular frameworks such as .NET, Azure Functions, and Java Spring<\/li><\/ul>\n\n\n\n<p><strong>Why use App Configuration?<\/strong><\/p>\n\n\n\n<p>Cloud-based applications run on multiple virtual machines or containers in multiple regions and use multiple external services. Creating a robust and scalable application in a distributed environment presents a significant challenge. Various programming methodologies help developers deal with the increasing complexity of building applications.<\/p>\n\n\n\n<p>While any application can make use of App Configuration, the following examples are the types of application that benefit from the use of it:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Microservices based on Azure Kubernetes Service, Azure Service Fabric, or other containerized apps deployed in one or more geographies.<\/li><li>Serverless apps, which include Azure Functions or other event-driven stateless compute apps.<\/li><li>Continuous deployment pipeline.<\/li><\/ul>\n\n\n\n<p>Azure App Configuration is built for speed, scalability, and security.<\/p>\n\n\n\n<p><strong>External configuration store<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"315\" src=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2021\/08\/external-configuration-store.png\" alt=\"\" class=\"wp-image-23300\" srcset=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2021\/08\/external-configuration-store.png 600w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2021\/08\/external-configuration-store-300x158.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/figure>\n\n\n\n<p><strong>Using App Configuration<\/strong><\/p>\n\n\n\n<p>The easiest way to add an App Configuration store to the application is through Microsoft\u2019s client library. Depending on the language and framework chosen, the following methods are available to connect with your application:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>For .NET Core and ASP.NET Core, used an App Configuration provider for .NET Core<\/li><li>For .NET Framework and ASP.NET, App Configuration builder for .NET<\/li><li>For Java Spring, App Configuration client for Spring Cloud is available.<\/li><li>For others, we have App Configuration REST API<\/li><\/ul>\n\n\n\n<p><strong>Conclusion<\/strong><\/p>\n\n\n\n<p>Azure\u2019s App Configuration Service allows you to manage access to settings data. Configuration is a significant aspect of determining an application\u2019s behavior. Settings files often include sensitive information like passwords and API keys. A fully managed service that can be set up in minutes. You don\u2019t have to worry about the platform where the configurations are stored.<\/p>\n\n\n<div class=\"epyt-gallery\" data-currpage=\"1\" id=\"epyt_gallery_95120\"><figure class=\"wp-block-embed wp-block-embed-youtube is-type-video is-provider-youtube epyt-figure\"><div class=\"wp-block-embed__wrapper\"><iframe loading=\"lazy\"  id=\"_ytid_76826\"  width=\"760\" height=\"427\"  data-origwidth=\"760\" data-origheight=\"427\" src=\"https:\/\/www.youtube.com\/embed\/?enablejsapi=1&#038;autoplay=0&#038;cc_load_policy=0&#038;cc_lang_pref=&#038;iv_load_policy=1&#038;loop=0&#038;rel=1&#038;fs=1&#038;playsinline=0&#038;autohide=2&#038;theme=dark&#038;color=red&#038;controls=1&#038;disablekb=0&#038;\" class=\"__youtube_prefs__  no-lazyload\" title=\"YouTube player\"  data-epytgalleryid=\"epyt_gallery_95120\"  allow=\"fullscreen; accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen data-no-lazy=\"1\" data-skipgform_ajax_framebjll=\"\"><\/iframe><\/div><\/figure><div class=\"epyt-gallery-list\"><div>Sorry, there was a YouTube error.<\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Introduction Guys, first of all, let&#8217;s know about Azure, after that, I&#8217;ll explain to you about Azure App Configuration. Microsoft Azure is one of the platforms as a service (PaaS) solutions for building and hosting solutions using Microsoft\u2019s products and in their data centers. Azure is Microsoft\u2019s Cloud Computing Platform, similar to AWS by Amazon&#8230;<\/p>\n","protected":false},"author":1,"featured_media":23302,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","_joinchat":[],"footnotes":""},"categories":[2],"tags":[1056,7031,162,5197,531,585,4696,229,670],"class_list":["post-23296","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorised","tag-api","tag-app-configuration","tag-aws","tag-azure","tag-cloud","tag-development","tag-google","tag-services","tag-what"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/23296","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=23296"}],"version-history":[{"count":2,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/23296\/revisions"}],"predecessor-version":[{"id":24218,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/23296\/revisions\/24218"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media\/23302"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=23296"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=23296"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=23296"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}