Scale out Azure SQL Database
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
I have a SQL Database in Azure. An S0 instance with 10 DTUs. This is enough 95% of the time.
However, when the App Service plan scales out (can go up to 20x in rare cases), I need 200/400 DTUs. Since this will not happen very often, so it would be a waste to always pay for these sizes. Is there a way to scale out the database when the app service scales out?
Thank you!
azure database autoscaling
add a comment |Â
up vote
1
down vote
favorite
I have a SQL Database in Azure. An S0 instance with 10 DTUs. This is enough 95% of the time.
However, when the App Service plan scales out (can go up to 20x in rare cases), I need 200/400 DTUs. Since this will not happen very often, so it would be a waste to always pay for these sizes. Is there a way to scale out the database when the app service scales out?
Thank you!
azure database autoscaling
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I have a SQL Database in Azure. An S0 instance with 10 DTUs. This is enough 95% of the time.
However, when the App Service plan scales out (can go up to 20x in rare cases), I need 200/400 DTUs. Since this will not happen very often, so it would be a waste to always pay for these sizes. Is there a way to scale out the database when the app service scales out?
Thank you!
azure database autoscaling
I have a SQL Database in Azure. An S0 instance with 10 DTUs. This is enough 95% of the time.
However, when the App Service plan scales out (can go up to 20x in rare cases), I need 200/400 DTUs. Since this will not happen very often, so it would be a waste to always pay for these sizes. Is there a way to scale out the database when the app service scales out?
Thank you!
azure database autoscaling
azure database autoscaling
asked 5 hours ago
Joel'-'
314
314
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
2
down vote
There's no direct way to have a DB scale up when a Web App does, but there is a workaround. You can have the scale up action on the web app trigger a webhook, so you can have that call either Azure Automation or an Azure Function, which then talks to the ARM API to scale up or down your SQL DB.
See here to see how to trigger a webhook on scaling.
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
There's no direct way to have a DB scale up when a Web App does, but there is a workaround. You can have the scale up action on the web app trigger a webhook, so you can have that call either Azure Automation or an Azure Function, which then talks to the ARM API to scale up or down your SQL DB.
See here to see how to trigger a webhook on scaling.
add a comment |Â
up vote
2
down vote
There's no direct way to have a DB scale up when a Web App does, but there is a workaround. You can have the scale up action on the web app trigger a webhook, so you can have that call either Azure Automation or an Azure Function, which then talks to the ARM API to scale up or down your SQL DB.
See here to see how to trigger a webhook on scaling.
add a comment |Â
up vote
2
down vote
up vote
2
down vote
There's no direct way to have a DB scale up when a Web App does, but there is a workaround. You can have the scale up action on the web app trigger a webhook, so you can have that call either Azure Automation or an Azure Function, which then talks to the ARM API to scale up or down your SQL DB.
See here to see how to trigger a webhook on scaling.
There's no direct way to have a DB scale up when a Web App does, but there is a workaround. You can have the scale up action on the web app trigger a webhook, so you can have that call either Azure Automation or an Azure Function, which then talks to the ARM API to scale up or down your SQL DB.
See here to see how to trigger a webhook on scaling.
answered 57 mins ago
Sam Cogan
31.1k567106
31.1k567106
add a comment |Â
add a comment |Â
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
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f933223%2fscale-out-azure-sql-database%23new-answer', 'question_page');
);
Post as a guest
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
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
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