Is there a good way to share configuration between apps in Azure?Is it possible to script the configuration of Azure App Service Authentication?Programmatically set Azure App Service application settings / environment variablesMultiple applications in an Azure web appAzure App Service API Deployment requires a restartAzure Functions not showing in Function AppAzure App Services app uses wrong PHP versionEasy Authentication and Authorization in Azure Function App using ARM templateAzure App Services Antimalware?Executing Same Azure Function but for different input values in App SettingsBest method for deploying Azure function app application settings
Does Multiverse exist in MCU?
The tensor product of two monoidal categories
Swapping "Good" and "Bad"
What happens to unproductive professors?
Why doesn't sea level show seasonality?
Is there a strong legal guarantee that the U.S. can give to another country that it won't attack them?
Why was hardware diversification an asset for the IBM PC ecosystem?
Why return a static pointer instead of an out parameter?
LED glows slightly during soldering
When I press the space bar it deletes the letters after it
Is "I do not want you to go nowhere" a case of "DOUBLE-NEGATIVES" as claimed by Grammarly?
Confirming the Identity of a (Friendly) Reviewer After the Reviews
Do I have a right to cancel a purchase of foreign currency in the UK?
Are there any medieval light sources without fire?
OR-backed serious games
Can the Mage Hand cantrip be used to trip an enemy who is running away?
How were Martello towers supposed to work?
How can a dictatorship government be beneficial to a dictator in a post-scarcity society?
Why do people keep referring to Leia as Princess Leia, even after the destruction of Alderaan?
Extracting points from 3D plot that lie along an arbitrarily oriented line
How are mathematicians paid to do research?
Some interesting calculation puzzle that I made
Is there any reason why MCU changed the Snap to Blip
Switching interface VLAN ID Mid-Production
Is there a good way to share configuration between apps in Azure?
Is it possible to script the configuration of Azure App Service Authentication?Programmatically set Azure App Service application settings / environment variablesMultiple applications in an Azure web appAzure App Service API Deployment requires a restartAzure Functions not showing in Function AppAzure App Services app uses wrong PHP versionEasy Authentication and Authorization in Azure Function App using ARM templateAzure App Services Antimalware?Executing Same Azure Function but for different input values in App SettingsBest method for deploying Azure function app application settings
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
We have a large system built in Azure apps. It is made up of an App Service for our API and several Functions Apps for backend processing.
What's the best way to allow these apps to share configuration?
We use ARM templates currently to set up the environment variables for each app, which is fine for deploy-time, but there's nothing to keep the config in sync between the apps.
A use case might be a feature flag that controls whether a sub-system is operational. We might want this flag to be used in the API and a Functions App. At present we can manually go in and set the variable in each of the apps, but it would be easier to manage if we only had to do it in one location.
Ideally, any update to the config would be detected by Azure and trigger a restart of the service, as currently happens with the native implementation.
Is there a good, off-the-shelf, way to do this? Or will I be rolling my own with a table in a database and a lightweight function?
azure configuration azure-web-sites azure-functions
add a comment |
We have a large system built in Azure apps. It is made up of an App Service for our API and several Functions Apps for backend processing.
What's the best way to allow these apps to share configuration?
We use ARM templates currently to set up the environment variables for each app, which is fine for deploy-time, but there's nothing to keep the config in sync between the apps.
A use case might be a feature flag that controls whether a sub-system is operational. We might want this flag to be used in the API and a Functions App. At present we can manually go in and set the variable in each of the apps, but it would be easier to manage if we only had to do it in one location.
Ideally, any update to the config would be detected by Azure and trigger a restart of the service, as currently happens with the native implementation.
Is there a good, off-the-shelf, way to do this? Or will I be rolling my own with a table in a database and a lightweight function?
azure configuration azure-web-sites azure-functions
have you considered azure key vault ?
– Imran Arshad
Mar 26 at 1:43
@ImranArshad That's not a bad plan. We're already using it for secrets.
– Tom Wright
Mar 26 at 1:45
2
There is also the new App Configuration service :) docs.microsoft.com/en-us/azure/azure-app-configuration/overview
– juunas
Mar 26 at 6:57
@juunas If you expanded that to an answer, it might be a contender
– Tom Wright
Mar 26 at 9:48
add a comment |
We have a large system built in Azure apps. It is made up of an App Service for our API and several Functions Apps for backend processing.
What's the best way to allow these apps to share configuration?
We use ARM templates currently to set up the environment variables for each app, which is fine for deploy-time, but there's nothing to keep the config in sync between the apps.
A use case might be a feature flag that controls whether a sub-system is operational. We might want this flag to be used in the API and a Functions App. At present we can manually go in and set the variable in each of the apps, but it would be easier to manage if we only had to do it in one location.
Ideally, any update to the config would be detected by Azure and trigger a restart of the service, as currently happens with the native implementation.
Is there a good, off-the-shelf, way to do this? Or will I be rolling my own with a table in a database and a lightweight function?
azure configuration azure-web-sites azure-functions
We have a large system built in Azure apps. It is made up of an App Service for our API and several Functions Apps for backend processing.
What's the best way to allow these apps to share configuration?
We use ARM templates currently to set up the environment variables for each app, which is fine for deploy-time, but there's nothing to keep the config in sync between the apps.
A use case might be a feature flag that controls whether a sub-system is operational. We might want this flag to be used in the API and a Functions App. At present we can manually go in and set the variable in each of the apps, but it would be easier to manage if we only had to do it in one location.
Ideally, any update to the config would be detected by Azure and trigger a restart of the service, as currently happens with the native implementation.
Is there a good, off-the-shelf, way to do this? Or will I be rolling my own with a table in a database and a lightweight function?
azure configuration azure-web-sites azure-functions
azure configuration azure-web-sites azure-functions
asked Mar 26 at 1:38
Tom WrightTom Wright
6,92412 gold badges64 silver badges128 bronze badges
6,92412 gold badges64 silver badges128 bronze badges
have you considered azure key vault ?
– Imran Arshad
Mar 26 at 1:43
@ImranArshad That's not a bad plan. We're already using it for secrets.
– Tom Wright
Mar 26 at 1:45
2
There is also the new App Configuration service :) docs.microsoft.com/en-us/azure/azure-app-configuration/overview
– juunas
Mar 26 at 6:57
@juunas If you expanded that to an answer, it might be a contender
– Tom Wright
Mar 26 at 9:48
add a comment |
have you considered azure key vault ?
– Imran Arshad
Mar 26 at 1:43
@ImranArshad That's not a bad plan. We're already using it for secrets.
– Tom Wright
Mar 26 at 1:45
2
There is also the new App Configuration service :) docs.microsoft.com/en-us/azure/azure-app-configuration/overview
– juunas
Mar 26 at 6:57
@juunas If you expanded that to an answer, it might be a contender
– Tom Wright
Mar 26 at 9:48
have you considered azure key vault ?
– Imran Arshad
Mar 26 at 1:43
have you considered azure key vault ?
– Imran Arshad
Mar 26 at 1:43
@ImranArshad That's not a bad plan. We're already using it for secrets.
– Tom Wright
Mar 26 at 1:45
@ImranArshad That's not a bad plan. We're already using it for secrets.
– Tom Wright
Mar 26 at 1:45
2
2
There is also the new App Configuration service :) docs.microsoft.com/en-us/azure/azure-app-configuration/overview
– juunas
Mar 26 at 6:57
There is also the new App Configuration service :) docs.microsoft.com/en-us/azure/azure-app-configuration/overview
– juunas
Mar 26 at 6:57
@juunas If you expanded that to an answer, it might be a contender
– Tom Wright
Mar 26 at 9:48
@juunas If you expanded that to an answer, it might be a contender
– Tom Wright
Mar 26 at 9:48
add a comment |
3 Answers
3
active
oldest
votes
One way would be to use the new App Configuration service: https://docs.microsoft.com/en-us/azure/azure-app-configuration/overview.
It is meant for sharing configuration settings across components.
Note it is not meant for secrets, that's what Key Vault is for.
add a comment |
There is a guidance/design pattern for this from Microsoft, it can be found from here.
add a comment |
Best Practice in Architecture: You can use the external configuration store pattern and use a Redis Cache to share the configuration between multiple applications as described in here: https://docs.microsoft.com/en-us/azure/architecture/patterns/external-configuration-store
The approach is you can get this data from Appsettings for each environement (this can be automated in CI/CD pipeline). On first connection you store the data in RedisCache.
For senstive data: Use Keyvault to store the secrets/keys/certificates.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55348670%2fis-there-a-good-way-to-share-configuration-between-apps-in-azure%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
One way would be to use the new App Configuration service: https://docs.microsoft.com/en-us/azure/azure-app-configuration/overview.
It is meant for sharing configuration settings across components.
Note it is not meant for secrets, that's what Key Vault is for.
add a comment |
One way would be to use the new App Configuration service: https://docs.microsoft.com/en-us/azure/azure-app-configuration/overview.
It is meant for sharing configuration settings across components.
Note it is not meant for secrets, that's what Key Vault is for.
add a comment |
One way would be to use the new App Configuration service: https://docs.microsoft.com/en-us/azure/azure-app-configuration/overview.
It is meant for sharing configuration settings across components.
Note it is not meant for secrets, that's what Key Vault is for.
One way would be to use the new App Configuration service: https://docs.microsoft.com/en-us/azure/azure-app-configuration/overview.
It is meant for sharing configuration settings across components.
Note it is not meant for secrets, that's what Key Vault is for.
answered Mar 26 at 10:17
juunasjuunas
25.6k3 gold badges53 silver badges83 bronze badges
25.6k3 gold badges53 silver badges83 bronze badges
add a comment |
add a comment |
There is a guidance/design pattern for this from Microsoft, it can be found from here.
add a comment |
There is a guidance/design pattern for this from Microsoft, it can be found from here.
add a comment |
There is a guidance/design pattern for this from Microsoft, it can be found from here.
There is a guidance/design pattern for this from Microsoft, it can be found from here.
answered Mar 26 at 9:42
MiksteriMiksteri
948 bronze badges
948 bronze badges
add a comment |
add a comment |
Best Practice in Architecture: You can use the external configuration store pattern and use a Redis Cache to share the configuration between multiple applications as described in here: https://docs.microsoft.com/en-us/azure/architecture/patterns/external-configuration-store
The approach is you can get this data from Appsettings for each environement (this can be automated in CI/CD pipeline). On first connection you store the data in RedisCache.
For senstive data: Use Keyvault to store the secrets/keys/certificates.
add a comment |
Best Practice in Architecture: You can use the external configuration store pattern and use a Redis Cache to share the configuration between multiple applications as described in here: https://docs.microsoft.com/en-us/azure/architecture/patterns/external-configuration-store
The approach is you can get this data from Appsettings for each environement (this can be automated in CI/CD pipeline). On first connection you store the data in RedisCache.
For senstive data: Use Keyvault to store the secrets/keys/certificates.
add a comment |
Best Practice in Architecture: You can use the external configuration store pattern and use a Redis Cache to share the configuration between multiple applications as described in here: https://docs.microsoft.com/en-us/azure/architecture/patterns/external-configuration-store
The approach is you can get this data from Appsettings for each environement (this can be automated in CI/CD pipeline). On first connection you store the data in RedisCache.
For senstive data: Use Keyvault to store the secrets/keys/certificates.
Best Practice in Architecture: You can use the external configuration store pattern and use a Redis Cache to share the configuration between multiple applications as described in here: https://docs.microsoft.com/en-us/azure/architecture/patterns/external-configuration-store
The approach is you can get this data from Appsettings for each environement (this can be automated in CI/CD pipeline). On first connection you store the data in RedisCache.
For senstive data: Use Keyvault to store the secrets/keys/certificates.
answered Mar 26 at 11:02
Anass KartitAnass Kartit
6995 silver badges15 bronze badges
6995 silver badges15 bronze badges
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55348670%2fis-there-a-good-way-to-share-configuration-between-apps-in-azure%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
have you considered azure key vault ?
– Imran Arshad
Mar 26 at 1:43
@ImranArshad That's not a bad plan. We're already using it for secrets.
– Tom Wright
Mar 26 at 1:45
2
There is also the new App Configuration service :) docs.microsoft.com/en-us/azure/azure-app-configuration/overview
– juunas
Mar 26 at 6:57
@juunas If you expanded that to an answer, it might be a contender
– Tom Wright
Mar 26 at 9:48