Optimize your Azure SQL Managed Instance cost with Microsoft Azure Well-Architected Framework

Published Mar 29 2021 03:14 AM 3,452 Views
Senior Member

Let’s start with some basics…

Cost optimization is one of the most common requirements for cloud workloads. How to implement a cost optimization framework will depend on the type of service, scenario, purchase model, and a few other aspects of Your environment.  It’s worth noting that, when it comes to frameworks, Microsoft has been developing its own framework for Azure. The Azure Well-Architected Framework (WAF) is a set of guiding tenets that can be used to improve the quality of a workload. The framework consists of five pillars of architecture excellence:

  • Cost Optimization
  • Operational Excellence
  • Performance Efficiency
  • Reliability
  • Security

Following the best practices and the specific business priorities that are relevant to you and your cloud journey, you can effectively and consistently optimize your workload costs against Azure. You can find more information about Microsoft Azure Well-Architected Framework by going to:

 

Now, after You have grown a little more with the WAF, it’s time to start the journey. Diving deeper down the cost optimization pillar we can identify several areas:

  • Right resources, the right size
  • Aim for scalable costs |Pay for consumption
  • Keep within the cost constraints
  • Monitor and optimize

 

These four areas are your anchor for the further steps. The thing to keep in mind is that, as any other framework, the WAF  only provides broad recommendations. To implement it, You will need concrete details pertinent to a particular solution, workload, and even the service level. With this in mind, let’s go one level deeper and focus on the cost optimization aspect for Azure SQL Managed Instance.

 

The next level starts here…

Right resources, right size…and the right location

The first and one of the most important steps in cost optimization is to choose the right resources that are aligned with Your business goals and can deliver the required performance of the planned workload. An inappropriate or misconfigured service can adversely impact the cost.

With SQL Managed Instance You can choose between General Purpose (GP) and Business Critical (BC) tiers. Obviously, there is a price difference between these two tiers because each tier was designed differently.

 

The General Purpose service tier is based on the separation of computing and storage, while the Business Critical service tier model is based on a cluster of database engine processes. The choice between these architectural models affects the availability, reliability, performance, and cost. In the GP tier, Azure Blob Storage transparently replicates database files and guarantees no data loss. Business Critical, on the other hand, relies on the fact that there is always a quorum of available database engine nodes which ensure minimal performance impact on your workload even during maintenance activities. Of course, there are other differences between the two tiers which affect their bottom line pricing, e.g. storage latency between 5 and 10 m in GP and 1-2 ms SSD storage in BC.

The SKU Recommendations feature which is available in Data Migration Assistant tool allows you to identify the minimum recommended Azure SQL Managed Instance SKU based on performance counters collected from the computer(s) hosting your databases. Make sure to check how easily  identify the right Azure SQL Database SKU for your on-premises database (Data Migration Assistant)

If You need more details about the SQL MI tiers please visit:

Below you can find a sample comparison between the same SQL MI configuration running in GP and BC tiers.

 

 

SQL_MI_BC_COST.png

 Figure 1 General Purpose Sample Pricing vs Business Critical Sample Pricing

 

Once you identify the appropriate service tier, there are few more things to consider which can allow reducing cost:

 

  • Check service prices in different Azure datacenter locations. Azure has regions located all over the world. Prices between regions for the same service can be different. Below You can find a sample comparison of SQL MI cost deployed in different regions in Europe with the following configuration : General Purpose, 4 vCores, Pay-as-you-go:
 

SQL_MI_GP_COST_WE.png

 Figure 2 Sample SQL MI cost per Azure region in Europe comparison

 

Region

Monthly cost (~ 730h)

Difference to West Europe [in percent]

West Europe

$780.82

N/A

North Europe

$745.27

~ - 4 %

France Central

$847.49

~+ 9 %

France South

$1,014.17

~+ 30 %

Germany North (public)

$927.50

~ + 19 %

Germany West Central (public)

$780.82

0%

 

  • Deploy the database/instances in the same region as your application to prevent data transfer costs. Deploying SQL MI in one region and other services, like App Service, in another region, can generate additional cross-region data transfer costs. Although in most cases this cost will not be significant, it’s worth following the pattern of keeping the related services in the same region.
 

SQL_MI_TRANSFER_COST.png

Figure 3 Sample bandwidth cost for 1 TB

 

  • Building a multi-region service when the service levels don't require high-availability or geo-redundancy will increase the cost without a reasonable business justification. There are many options to increase the availability of your solution. One of them is multi-region deployment. In the case of SQL MI You can achieve this by using Auto-failover groups - SQL Managed Instance.  Auto-failover groups are superior to having a secondary instance deployed in another region as a fully paid instance, which doubles the cost of the solution.

SQL_MI_AUTO_FAILOVER_GROUPS.png

 Figure 4 Failover groups - secondary replica is fully paid

 

As an alternative approach, if you still need geo-region deployment with reduced costs you can consider using Auto-failover groups - SQL Managed Instance with secondary instance configuration lower than primary one – in this case make sure performance of secondary instance is enough to follow the primary instance synchronization needs and scale it up if needed.

 

  • If your Business Continuity strategy requires geo-region deployment but there are no strict requirements for auto-failover and some RTO,RPO values can be relaxed consider using backup with geo-replicated storage as well as the geo-restore option, you can also automate the process with a simple script to Restore geo-backup for Azure SQL Managed Instance - Azure SQL Managed Instance. Geo-restore is the most basic disaster-recovery solution available in SQL Database and SQL Managed Instance. It relies on automatically created geo-replicated backups with a recovery point objective (RPO) up to 1 hour and an estimated recovery time of up to 12 hours. Depends on a need this can be a good option to keep Business Continuity policies in place at lower cost.

 

 

Note! Remember to choose the service tier based on a thorough analysis rather than a superficial comparison of service prices. Always make a clear analysis of your HA/DR (RTO, RPO), performance, and feature requirements to set up your service accordingly. Please visit the following pages to get more information about SQL MI tiers:

 

Aim for scalable costs | Pay for consumption

 

The workload cost should scale with the demand. A key benefit of the cloud is the ability to scale dynamically. You can save costs through automatic/on-demand scaling. Although SQL Managed Instance doesn’t have a built-in autoscaling option, like other services it follows a common cloud pattern in which You can access APIs to turn on/off, scale-up/down, or even drop and re-deploy workloads. Such an approach allows You to manage the overall costs depending on the changing business needs. Although scaling up/down or drop/re-deployment of the service aren’t instantaneous, they can be some of the easiest ways to control SQL Managed Instance cost over longer periods of time. Make sure You check the following links for details and examples of automation  (including progress tracking):

 
 

GraczykBartek_0-1616684174369.png

SQL_MI_RES_PAY_AS_YOU_GO.pngSQL_MI_RES_1_YEAR.pngSQL_MI_RES_3_YEARS.png

Figure 6 Sample SQL MI Cost Pay-as-you-go vs Reservations

 

Make sure You check more details how to Save compute costs with reserved capacity - Azure SQL Database & SQL Managed Instance

 

Keep within the cost constraints

 

Every design choice has cost implications. Thus, no matter if You are just planning the deployment or the deployment was already done, there are some points to verify and focus on in order to fit within the budget constraints. In the case of SQL Managed Instance, licensing can be one of the most important areas to consider:

 

Cost structure has a huge impact on the ongoing costs. Although we are talking about cloud services we have to follow specific licensing rules. In the case of SQL MI there are few rules of thumb that help you manage cost-effectively:

  • Compute is provisioned in virtual cores (vCores). A vCore represents a logical CPU and its main cost factor when choosing Your Managed Instance configuration as you pay for computing (number of cores) and license needed to cover deployed cores – BY DEFAULT LICENSE COST IS TRANSPARENT FOR YOU AS A CUSTOMER AND IS INCLUDED IN THE SERVICE PRICE
  • In some cases, You can already have SQL Server licenses in Your organization which can be used to run SQL MI and reduce its cost. SQL Managed Instance is eligible for Azure Hybrid Use Benefit (AHUB), which is a licensing benefit that works by letting you use your on-premises SQL Server licenses with Software Assurance on Azure based on the following pattern:

On-premises license

Azure usage

SQL Server Enterprise Edition core customers with Software Assurance       

 

 

1 core on-premises = 4 cores in General Purpose SKU

1 core on-premises = 1 core in Business Critical SKU

 

SQL Server Standard Edition core customers with Software Assurance       

 

 

1 core on-premises = 1 core in General Purpose SKU

4 core on-premises = 1 core in Business Critical SKU

 

 

It’s important to remember if you decide to use AHUB  you need to cover whole SQL MI configuration (it isn’t possible to cover only part of vCores used in SQL MI with AHUB and using rest in license-included model). The same rule applies if you plan to scale up your instance – you must have eligible number of SQL license with SA to cover whole instance after scaling up. To find more information about Azure Hybrid Use Benefit, visit Azure Hybrid Benefit – Azure SQL Database & SQL Managed Instance

 

Azure Hybrid Use Benefit for SQL MI can be enabled during or after instance deployment and it’s possible to do it using Azure Portal, PowerShell, CLI, or REST API. Below You can find the sample snapshot from Azure Portal for running SQL MI which shows how to activate AHUB and the potential savings – in this case, 39.6% (value can vary between Azure offering, Azure regions).

 

SQL_MI_AHUB_OFF.png

 

SQL_MI_AHUB_ON.png

Figure 7 SQL MI Cost comparison in Pay-as-you-go vs Azure Hybrid Use Benefit

 

Note! One of best practices to reduce cost is instances consolidation with right sizing  to ensure the least amount of vCores is required.

 

  • An additional cost-saving option is directly related to the scenario in which SQL MI is used. If your workload is not a production one. Consider using  Dev/Test licensing model which is available for SQL Database Managed Instance as part of the dev/test offer. It is a highly cost-effective way to run your development and testing workloads and can easily help save up to 55% off the list price. To make it clear Dev/Test licensing model means you pay only for compute, license cost is reduced to zero. There are three offers that allow reducing SQL MI cost used for development and testing:

  • Individual one: Monthly Azure credits for Visual Studio subscribers

Azure credits are included in your Visual Studio subscription and depend on the Visual Subscription level. When you run out of the credit that’s allotted for the month, you won’t be able to continue using it until it resets the next month.

 

SQL_MI_VS.png

 Figure 8 Azure Credits in Visual Subscriptions

 

This is offer doesn’t require any separate payment, it’s just using the funds already in your Enterprise Agreement. It requires creating a subscription that is marked as Dev/Test or changing the existing one. More details can be found here: Enabling and Creating EA Dev/Test Subscriptions through the EA Portal | Enterprise Azure Portal | Ch...Please remember that only active Visual Studio subscribers with standard subscriptions can use the Azure resources running within an Enterprise Dev/Test subscription. End users can also access the application to provide feedback or perform acceptance tests.

 

This offer works similar to Enterprise Dev/Test. The difference is that it doesn’t require You to have an Enterprise Agreement in place. This scenario also requires users to have an active Visual Studio subscription to be able to use the Azure resources running within a Dev/Test subscription. 

 

Just to show how the dev/test pricing looks like, below You will find a comparison between the same SQL MI configuration running in standard and dev/test model.

SQL_MI_DEV_TEST_OFF.png

 

SQL_MI_DEV_TEST_ON.png

 Figure 9 Commercial to Dev/Test cost comparision

 

  • Last but not least is taking the advantage of the appropriate subscription offer types. Azure usage rates and billing periods can differ between Enterprise, Web Direct, and Cloud Solution Provider (CSP). It’s worth evaluating this option to make sure your pricing is relevant to your business needs.

 

Monitor and optimize

Resource monitoring can be a great opportunity to optimize costs. Treat it as a process, rather than a point-in-time activity. Conduct regular reviews and forecast the capacity needs so that you can provision resources dynamically and scale with demand – for more information please back to section Right resources, right size…and right location and Aim for scalable costs | Pay for consumption

 

There are few steps which can help you optimize the overall cost:

  • collect and visualize key performance metrics to determine the right resource level usage (vCore, memory, IOPS, etc.). Verify if your database requires a specific number of cores, memory, IOPS and use it to determine the right service tier (General Purpose or Business Critical). Follow the best practice in monitoring SQL MI by using solutions like SQL Insights. Make sure to explore monitoring options available for Azure SQL Managed Instance

  • use built-in features like Query Store or index usage statistics to optimize SQL workload which can allow you to optimize the sizing of your SQL MI and help to reduce the ongoing costs: Performance tuning guidance for applications and databases - Azure SQL Database & Azure SQL Managed ...

  • consider using compression (row, page), column store indexes where possible to keep storage footprint small and reduce storage size needs.

  • define and enforce data retention, archival requirements, or data offloading (e.g. to a storage account) strategy, as not all data typically needs to be available for online processing)

  • reduce the billing charges for excess usage of the backup storage space beyond the free backup storage space provided. You can control the backup consumption using these general approaches:
    • Choosing the backup storage type that is right for you
    • Optimize database backup retention period
    • Maximize your free backup storage space
    • Optimize your apps and workloads
    • Alternative considerations

Dive into details about backup cost optimization by @Danimir Ljepava 

Fine tuning backup storage costs on SQL Managed Instance 

Backup storage consumption on Managed Instance explained

 

 

 

What’s next?

Once you go through the most common cost optimization hints described in this post, remember to treat them as a process. Implement, revisit, and follow them regularly. Also stay tuned as more articles about Azure Well-Architected Framework (WAF) for SQL Managed Instance workload is coming.

 

Disclaimer

Please note that options presented in this article are subject to change. This article reflects the state of cost optimization options available for Azure SQL Managed Instance in March, 2021 but is not limited to them and can changed over time

 

Closing remarks

If you find this article useful, please like it on this page and share through social media.

To share this article, you can use the Share button below, or this short link: https://aka.ms/sqlmi-waf-cost-optimization

2 Comments
Occasional Visitor

Thanks for good SQL cost savings tips :)

Senior Member

@MortenNordnes my pleasure, use, save money and enjoy ;)

%3CLINGO-SUB%20id%3D%22lingo-sub-2235216%22%20slang%3D%22en-US%22%3EOptimize%20your%20Azure%20SQL%20Managed%20Instance%20cost%20with%20Microsoft%20Azure%20Well-Architected%20Framework%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2235216%22%20slang%3D%22en-US%22%3E%3CP%20class%3D%22lia-align-justify%22%3E%3CFONT%20size%3D%225%22%3E%3CSTRONG%3ELet%E2%80%99s%20start%20with%20some%20basics%E2%80%A6%3C%2FSTRONG%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3ECost%20optimization%20is%20one%20of%20the%20most%20common%20requirements%20for%20cloud%20workloads.%20How%20to%20implement%20a%20cost%20optimization%20framework%20will%20depend%20on%20the%20type%20of%20service%2C%20scenario%2C%20purchase%20model%2C%20and%20a%20few%20other%20aspects%20of%20Your%20environment.%20%26nbsp%3BIt%E2%80%99s%20worth%20noting%20that%2C%20when%20it%20comes%20to%20frameworks%2C%20Microsoft%20has%20been%20developing%20its%20own%20framework%20for%20Azure.%20The%20Azure%20Well-Architected%20Framework%20(WAF)%20is%20a%20set%20of%20guiding%20tenets%20that%20can%20be%20used%20to%20improve%20the%20quality%20of%20a%20workload.%20The%20framework%20consists%20of%20five%20pillars%20of%20architecture%20excellence%3A%3C%2FP%3E%0A%3CUL%20class%3D%22lia-align-justify%22%3E%0A%3CLI%3ECost%20Optimization%3C%2FLI%3E%0A%3CLI%3EOperational%20Excellence%3C%2FLI%3E%0A%3CLI%3EPerformance%20Efficiency%3C%2FLI%3E%0A%3CLI%3EReliability%3C%2FLI%3E%0A%3CLI%3ESecurity%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%20class%3D%22lia-align-justify%22%3EFollowing%20the%20best%20practices%20and%20the%20specific%20business%20priorities%20that%20are%20relevant%20to%20you%20and%20your%20cloud%20journey%2C%20you%20can%20effectively%20and%20consistently%20optimize%20your%20workload%20costs%20against%20Azure.%20You%20can%20find%20more%20information%20about%20Microsoft%20Azure%20Well-Architected%20Framework%20by%20going%20to%3A%3C%2FP%3E%0A%3CUL%20class%3D%22lia-align-justify%22%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fen-us%2Fblog%2Fintroducing-the-microsoft-azure-wellarchitected-framework%2F%23%3A~%3Atext%3D%2520Get%2520started%2520with%2520the%2520Azure%2520Well-Architected%2520Framework%3A%2CAzure%2520Well-Architected%2520Framework%2520on%2520Microsoft%2520Learn.%2520More%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EIntroducing%20the%20Microsoft%20Azure%20Well-Architected%20Framework%20%7C%20Azure%20Blog%20and%20Updates%20%7C%20Microsoft%20Azure%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Farchitecture%2Fframework%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EMicrosoft%20Azure%20Well-Architected%20Framework%20-%20Microsoft%20Azure%20Well-Architected%20Framework%20introduction%20%7C%20Microsoft%20Docs%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3ENow%2C%20after%20You%20have%20grown%20a%20little%20more%20with%20the%20WAF%2C%20it%E2%80%99s%20time%20to%20start%20the%20journey.%20Diving%20deeper%20down%20the%20%3CSTRONG%3Ecost%20optimization%3C%2FSTRONG%3E%20pillar%20we%20can%20identify%20several%20areas%3A%3C%2FP%3E%0A%3CUL%20class%3D%22lia-align-justify%22%3E%0A%3CLI%3ERight%20resources%2C%20the%20right%20size%3C%2FLI%3E%0A%3CLI%3EAim%20for%20scalable%20costs%20%7CPay%20for%20consumption%3C%2FLI%3E%0A%3CLI%3EKeep%20within%20the%20cost%20constraints%3C%2FLI%3E%0A%3CLI%3EMonitor%20and%20optimize%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3EThese%20four%20areas%20are%20your%20anchor%20for%20the%20further%20steps.%20The%20thing%20to%20keep%20in%20mind%20is%20that%2C%20as%20any%20other%20framework%2C%20the%20WAF%20%26nbsp%3Bonly%20provides%20broad%20recommendations.%20To%20implement%20it%2C%20You%20will%20need%20concrete%20details%20pertinent%20to%20a%20particular%20solution%2C%20workload%2C%20and%20even%20the%20service%20level.%20With%20this%20in%20mind%2C%20let%E2%80%99s%20go%20one%20level%20deeper%20and%20focus%20on%20the%20cost%20optimization%20aspect%20for%20Azure%20SQL%20Managed%20Instance.%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%3CSTRONG%3E%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%3CFONT%20size%3D%225%22%3E%3CSTRONG%3EThe%20next%20level%20starts%20here%E2%80%A6%3C%2FSTRONG%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%3CFONT%20size%3D%225%22%3E%3CSTRONG%3ERight%20resources%2C%20right%20size%E2%80%A6and%20the%20right%20location%3C%2FSTRONG%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3EThe%20first%20and%20one%20of%20the%20most%20important%20steps%20in%20cost%20optimization%20is%20to%20choose%20the%20right%20resources%20that%20are%20aligned%20with%20Your%20business%20goals%20and%20can%20deliver%20the%20required%20performance%20of%20the%20planned%20workload.%20An%20inappropriate%20or%20misconfigured%20service%20can%20adversely%20impact%20the%20cost.%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3EWith%20SQL%20Managed%20Instance%20You%20can%20choose%20between%20General%20Purpose%20(GP)%20and%20Business%20Critical%20(BC)%20tiers.%20Obviously%2C%20there%20is%20a%20price%20difference%20between%20these%20two%20tiers%20because%20each%20tier%20was%20designed%20differently.%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3EThe%20General%20Purpose%20service%20tier%20is%20based%20on%20the%20separation%20of%20computing%20and%20storage%2C%20while%20the%20Business%20Critical%20service%20tier%20model%20is%20based%20on%20a%20cluster%20of%20database%20engine%20processes.%20The%20choice%20between%20these%20architectural%20models%20affects%20the%20availability%2C%20reliability%2C%20performance%2C%20and%20cost.%20In%20the%20GP%20tier%2C%20Azure%20Blob%20Storage%20transparently%20replicates%20database%20files%20and%20guarantees%20no%20data%20loss.%20Business%20Critical%2C%20on%20the%20other%20hand%2C%20relies%20on%20the%20fact%20that%20there%20is%20always%20a%20quorum%20of%20available%20database%20engine%20nodes%20which%20ensure%20minimal%20performance%20impact%20on%20your%20workload%20even%20during%20maintenance%20activities.%20Of%20course%2C%20there%20are%20other%20differences%20between%20the%20two%20tiers%20which%20affect%20their%20bottom%20line%20pricing%2C%20e.g.%20storage%20latency%20between%205%20and%2010%20m%20in%20GP%20and%201-2%20ms%20SSD%20storage%20in%20BC.%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3EThe%20SKU%20Recommendations%20feature%20which%20is%20available%20in%20Data%20Migration%20Assistant%20tool%20allows%20you%20to%20identify%20the%20minimum%20recommended%20Azure%20SQL%20Managed%20Instance%20SKU%20based%20on%20performance%20counters%20collected%20from%20the%20computer(s)%20hosting%20your%20databases.%20Make%20sure%20to%20check%20how%20easily%20%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsql%2Fdma%2Fdma-sku-recommend-sql-db%3Fview%3Dsql-server-ver15%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Eidentify%20the%20right%20Azure%20SQL%20Database%20SKU%20for%20your%20on-premises%20database%20(Data%20Migration%20Assistant)%3C%2FA%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3EIf%20You%20need%20more%20details%20about%20the%20SQL%20MI%20tiers%20please%20visit%3A%3C%2FP%3E%0A%3CUL%20class%3D%22lia-align-justify%22%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fazure-sql%2Fdatabase%2Fservice-tier-general-purpose%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EGeneral%20Purpose%20service%20tier%20-%20Azure%20SQL%20Database%20%26amp%3B%20Azure%20SQL%20Managed%20Instance%20%7C%20Microsoft%20Docs%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fazure-sql%2Fdatabase%2Fservice-tier-business-critical%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EBusiness%20Critical%20service%20tier%20-%20Azure%20SQL%20Database%20%26amp%3B%20Azure%20SQL%20Managed%20Instance%20%7C%20Microsoft%20Docs%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fazure-sql%2Fdatabase%2Fhigh-availability-sla%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EHigh%20availability%20-%20Azure%20SQL%20Database%20and%20SQL%20Managed%20Instance%20%7C%20Microsoft%20Docs%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%20class%3D%22lia-align-justify%22%3EBelow%20you%20can%20find%20a%20sample%20comparison%20between%20the%20same%20SQL%20MI%20configuration%20running%20in%20GP%20and%20BC%20tiers.%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorGraczykBartek_32%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%20lia-align-justify%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22SQL_MI_BC_COST.png%22%20style%3D%22width%3A%20551px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F267027i31652EA77DF4F1B8%2Fimage-dimensions%2F551x265%3Fv%3Dv2%22%20width%3D%22551%22%20height%3D%22265%22%20role%3D%22button%22%20title%3D%22SQL_MI_BC_COST.png%22%20alt%3D%22SQL_MI_BC_COST.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-60px%20lia-align-justify%22%3E%3CEM%3E%26nbsp%3B%3CSPAN%20style%3D%22font-family%3A%20inherit%3B%22%3EFigure%201%20General%20Purpose%20Sample%20Pricing%20vs%20Business%20Critical%20Sample%20Pricing%3C%2FSPAN%3E%3C%2FEM%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3EOnce%20you%20identify%20the%20appropriate%20service%20tier%2C%20there%20are%20few%20more%20things%20to%20consider%20which%20can%20allow%20reducing%20cost%3A%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%20class%3D%22lia-align-justify%22%3E%0A%3CLI%3ECheck%20service%20prices%20in%20different%20Azure%20datacenter%20locations.%20Azure%20has%20regions%20located%20all%20over%20%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fen-us%2Fglobal-infrastructure%2Fgeographies%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ethe%20world%3C%2FA%3E.%20Prices%20between%20regions%20for%20the%20same%20service%20can%20be%20different.%20Below%20You%20can%20find%20a%20sample%20comparison%20of%20SQL%20MI%20cost%20deployed%20in%20different%20regions%20in%20Europe%20with%20the%20following%20configuration%20%3A%20General%20Purpose%2C%204%20vCores%2C%20Pay-as-you-go%3A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CDIV%20id%3D%22tinyMceEditorGraczykBartek_34%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%20lia-align-justify%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22SQL_MI_GP_COST_WE.png%22%20style%3D%22width%3A%20542px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F267028i7E17F7ABDBB365D5%2Fimage-dimensions%2F542x266%3Fv%3Dv2%22%20width%3D%22542%22%20height%3D%22266%22%20role%3D%22button%22%20title%3D%22SQL_MI_GP_COST_WE.png%22%20alt%3D%22SQL_MI_GP_COST_WE.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-60px%20lia-align-justify%22%3E%3CEM%3E%26nbsp%3BFigure%202%20Sample%20SQL%20MI%20cost%20per%20Azure%20region%20in%20Europe%20comparison%3C%2FEM%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CTABLE%20class%3D%22%20lia-align-justify%22%3E%0A%3CTBODY%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22208%22%3E%3CP%3E%3CSTRONG%3ERegion%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22208%22%3E%3CP%3E%3CSTRONG%3EMonthly%20cost%20(~%20730h)%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22208%22%3E%3CP%3E%3CSTRONG%3EDifference%20to%20West%20Europe%20%5Bin%20percent%5D%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22208%22%3E%3CP%3EWest%20Europe%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22208%22%3E%3CP%3E%24780.82%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22208%22%3E%3CP%3EN%2FA%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22208%22%3E%3CP%3ENorth%20Europe%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22208%22%3E%3CP%3E%24745.27%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22208%22%3E%3CP%3E~%20-%204%20%25%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22208%22%3E%3CP%3EFrance%20Central%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22208%22%3E%3CP%3E%24847.49%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22208%22%3E%3CP%3E~%2B%209%20%25%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22208%22%3E%3CP%3EFrance%20South%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22208%22%3E%3CP%3E%241%2C014.17%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22208%22%3E%3CP%3E~%2B%2030%20%25%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22208%22%3E%3CP%3EGermany%20North%20(public)%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22208%22%3E%3CP%3E%24927.50%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22208%22%3E%3CP%3E~%20%2B%2019%20%25%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22208%22%3E%3CP%3EGermany%20West%20Central%20(public)%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22208%22%3E%3CP%3E%24780.82%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22208%22%3E%3CP%3E0%25%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%20class%3D%22lia-align-justify%22%3E%0A%3CLI%3EDeploy%20the%20database%2Finstances%20in%20the%20same%20region%20as%20your%20application%20to%20prevent%20data%20transfer%20costs.%20Deploying%20SQL%20MI%20in%20one%20region%20and%20other%20services%2C%20like%20App%20Service%2C%20in%20another%20region%2C%20can%20generate%20additional%20cross-region%20data%20transfer%20costs.%20Although%20in%20most%20cases%20this%20cost%20will%20not%20be%20significant%2C%20it%E2%80%99s%20worth%20following%20the%20pattern%20of%20keeping%20the%20related%20services%20in%20the%20same%20region.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CDIV%20id%3D%22tinyMceEditorGraczykBartek_35%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%20lia-align-justify%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22SQL_MI_TRANSFER_COST.png%22%20style%3D%22width%3A%20544px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F267029i896EF74888340C39%2Fimage-dimensions%2F544x106%3Fv%3Dv2%22%20width%3D%22544%22%20height%3D%22106%22%20role%3D%22button%22%20title%3D%22SQL_MI_TRANSFER_COST.png%22%20alt%3D%22SQL_MI_TRANSFER_COST.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-60px%20lia-align-justify%22%3E%3CEM%20style%3D%22font-family%3A%20inherit%3B%22%3EFigure%203%20Sample%20bandwidth%20cost%20for%201%20TB%3C%2FEM%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%20class%3D%22lia-align-justify%22%3E%0A%3CLI%3EBuilding%20a%20multi-region%20service%20when%20the%20service%20levels%20don't%20require%20high-availability%20or%20geo-redundancy%20will%20increase%20the%20cost%20without%20a%20reasonable%20business%20justification.%20There%20are%20many%20options%20to%20increase%20the%20availability%20of%20your%20solution.%20One%20of%20them%20is%20multi-region%20deployment.%20In%20the%20case%20of%20SQL%20MI%20You%20can%20achieve%20this%20by%20using%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fazure-sql%2Fdatabase%2Fauto-failover-group-overview%3Ftabs%3Dazure-powershell%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EAuto-failover%20groups%20-%20SQL%20Managed%20Instance.%20%3C%2FA%3E%26nbsp%3BAuto-failover%20groups%20are%20superior%20to%20having%20a%20secondary%20instance%20deployed%20in%20another%20region%20as%20a%20fully%20paid%20instance%2C%20which%20doubles%20the%20cost%20of%20the%20solution.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22SQL_MI_AUTO_FAILOVER_GROUPS.png%22%20style%3D%22width%3A%20575px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F267030i8F61E2161AB9AE6A%2Fimage-dimensions%2F575x345%3Fv%3Dv2%22%20width%3D%22575%22%20height%3D%22345%22%20role%3D%22button%22%20title%3D%22SQL_MI_AUTO_FAILOVER_GROUPS.png%22%20alt%3D%22SQL_MI_AUTO_FAILOVER_GROUPS.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-60px%20lia-align-justify%22%3E%26nbsp%3B%3CEM%20style%3D%22font-family%3A%20inherit%3B%22%3EFigure%204%20Failover%20groups%20-%20secondary%20replica%20is%20fully%20paid%3C%2FEM%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%20lia-align-justify%22%3EAs%20an%20alternative%20approach%2C%20if%20you%20still%20need%20geo-region%20deployment%20with%20reduced%20costs%20you%20can%20consider%20using%20Auto-failover%20groups%20-%20SQL%20Managed%20Instance%20with%20secondary%20instance%20configuration%20%3CSTRONG%3Elower%20than%20primary%20one%3C%2FSTRONG%3E%20%E2%80%93%20in%20this%20case%20make%20sure%20performance%20of%20secondary%20instance%20is%20enough%20to%20follow%20the%20primary%20instance%20synchronization%20needs%20and%20scale%20it%20up%20if%20needed.%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%20lia-align-justify%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%20class%3D%22lia-align-justify%22%3E%0A%3CLI%3EIf%20your%20Business%20Continuity%20strategy%20requires%20geo-region%20deployment%20but%20there%20are%20no%20strict%20requirements%20for%20auto-failover%20and%20some%20RTO%2CRPO%20values%20can%20be%20relaxed%20consider%20using%20backup%20with%20geo-replicated%20storage%20as%20well%20as%20the%26nbsp%3B%3CSTRONG%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fazure-sql%2Fdatabase%2Frecovery-using-backups%23geo-restore%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Egeo-restore%20option%3C%2FA%3E%2C%20%3C%2FSTRONG%3Eyou%20can%20also%20automate%20the%20process%20with%20a%20simple%20script%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fazure-sql%2Fmanaged-instance%2Fscripts%2Frestore-geo-backup%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Eto%20Restore%20geo-backup%20for%20Azure%20SQL%20Managed%20Instance%20-%20Azure%20SQL%20Managed%20Instance%3C%2FA%3E.%20Geo-restore%20is%20the%20most%20basic%20disaster-recovery%20solution%20available%20in%20SQL%20Database%20and%20SQL%20Managed%20Instance.%20It%20relies%20on%20automatically%20created%20geo-replicated%20backups%20with%20a%20recovery%20point%20objective%20(RPO)%20up%20to%201%20hour%20and%20an%20estimated%20recovery%20time%20of%20up%20to%2012%20hours.%20Depends%20on%20a%20need%20this%20can%20be%20a%20good%20option%20to%20keep%20Business%20Continuity%20policies%20in%20place%20at%20lower%20cost.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%20class%3D%22lia-align-justify%22%3E%0A%3CLI%3EOverprovisioning%20storage%20can%20generate%20additional%20cost.%20Additional%20storage%20can%20easily%20be%20added%20to%20running%20instances%20even%20after%20SQL%20MI%20has%20been%20deployed.%20Also%2C%20make%20sure%20you%20understand%20the%20storage%20performance%20limitations%20as%20in%20some%20scenarios%20the%20deployed%20storage%20size%20can%20be%20determined%20based%20on%20the%20performance%20needs.%20Make%20sure%20to%20refer%20to%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fazure-sql%2Fmanaged-instance%2Fresource-limits%23file-io-characteristics-in-general-purpose-tier%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EResource%20limits%20-%20Azure%20SQL%20Managed%20Instance%3C%2FA%3E%26nbsp%3Band%20also%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fdatacat%2Fstorage-performance-best-practices-and-considerations-for-azure%2Fba-p%2F305525%22%20target%3D%22_blank%22%3EStorage%20performance%20best%20practices%20and%20considerations%20for%20Azure%20SQL%20DB%20Managed%20Instance%3C%2FA%3E%3CSPAN%3E.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CDIV%20id%3D%22tinyMceEditorGraczykBartek_37%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%20lia-align-justify%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%3CSTRONG%3ENote!%20Remember%20to%20choose%20the%20service%20tier%20based%20on%20a%20thorough%20analysis%20rather%20than%20a%20superficial%20comparison%20of%20service%20prices.%20Always%20make%20a%20clear%20analysis%20of%20your%20HA%2FDR%20(RTO%2C%20RPO)%2C%20performance%2C%20and%20feature%20requirements%20to%20set%20up%20your%20service%20accordingly.%20Please%20visit%20the%20following%20pages%20to%20get%20more%20information%20about%20SQL%20MI%20tiers%3A%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%20class%3D%22lia-align-justify%22%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fazure-sql%2Fdatabase%2Fservice-tiers-general-purpose-business-critical%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EGeneral%20purpose%20and%20business%20critical%20service%20tiers%20-%20Azure%20SQL%20Database%20%26amp%3B%20SQL%20Managed%20Instance%26nbsp%3B%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%20class%3D%22lia-align-justify%22%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fazure-sql%2Fdatabase%2Fhigh-availability-sla%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EHigh%20availability%20-%20Azure%20SQL%20Database%20and%20SQL%20Managed%20Instance%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%20class%3D%22lia-align-justify%22%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fazure-sql%2Fdatabase%2Fservice-tier-general-purpose%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EGeneral%20Purpose%20service%20tier%20-%20Azure%20SQL%20Database%20%26amp%3B%20Azure%20SQL%20Managed%20Instance%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%20class%3D%22lia-align-justify%22%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fazure-sql%2Fdatabase%2Fservice-tier-business-critical%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EBusiness%20Critical%20service%20tier%20-%20Azure%20SQL%20Database%20%26amp%3B%20Azure%20SQL%20Managed%20Instance%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%3CFONT%20size%3D%225%22%3E%3CSTRONG%3EAim%20for%20scalable%20costs%20%7C%20Pay%20for%20consumption%3C%2FSTRONG%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3EThe%20workload%20cost%20should%20scale%20with%20the%20demand.%20A%20key%20benefit%20of%20the%20cloud%20is%20the%20ability%20to%20scale%20dynamically.%20You%20can%20save%20costs%20through%20automatic%2Fon-demand%20scaling.%20Although%20SQL%20Managed%20Instance%20doesn%E2%80%99t%20have%20a%20built-in%20autoscaling%20option%2C%20like%20other%20services%20it%20follows%20a%20common%20cloud%20pattern%20in%20which%20You%20can%20access%20APIs%20to%20turn%20on%2Foff%2C%20scale-up%2Fdown%2C%20or%20even%20drop%20and%20re-deploy%20workloads.%20Such%20an%20approach%20allows%20You%20to%20manage%20the%20overall%20costs%20depending%20on%20the%20changing%20business%20needs.%20Although%20scaling%20up%2Fdown%20or%20drop%2Fre-deployment%20of%20the%20service%20aren%E2%80%99t%20instantaneous%2C%20they%20can%20be%20some%20of%20the%20easiest%20ways%20to%20control%20SQL%20Managed%20Instance%20cost%20over%20longer%20periods%20of%20time.%20Make%20sure%20You%20check%20the%20following%20links%20for%20details%20and%20examples%20of%20automation%20%26nbsp%3B(including%20progress%20tracking)%3A%3C%2FP%3E%0A%3CUL%20class%3D%22lia-align-justify%22%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fazure-sql%2Fdatabase%2Fscale-resources%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EScale%20resources%20%E2%80%93%20Azure%20SQL%20Database%20%7C%20Microsoft%20Docs%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FAzure%2Fazure-quickstart-templates%2Ftree%2Fmaster%2Fazure-sql-managed-instance%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EAzure%20SQL%20Managed%20Instance%20with%20network%20security%20group%20and%20route%20tables%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fazure-sql%2Ftrack-progress-of-sql-managed-instance-create-scale-request%2Fba-p%2F1698640%22%20target%3D%22_blank%22%3ETrack%20progress%20of%20SQL%20Managed%20Instance%20create%2Fscale%20request%3C%2FA%3E%20by%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F496888%22%20target%3D%22_blank%22%3E%40UrosMilanovic%3C%2FA%3E%26nbsp%3B%3C%2FLI%3E%0A%3CLI%3EAutomatic%20storage%20scaling%20-%20ready%20to%20use%20script%20coming%20soon.%20Now%20you%20can%20simply%20change%20it%20even%20through%20Azure%20Portal%3A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CDIV%20id%3D%22tinyMceEditorGraczykBartek_38%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%20lia-align-justify%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%20id%3D%22tinyMceEditorGraczykBartek_39%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%20lia-align-justify%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22GraczykBartek_0-1616684174369.png%22%20style%3D%22width%3A%20508px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F267033i356BC08FE69ED81D%2Fimage-dimensions%2F508x283%3Fv%3Dv2%22%20width%3D%22508%22%20height%3D%22283%22%20role%3D%22button%22%20title%3D%22GraczykBartek_0-1616684174369.png%22%20alt%3D%22GraczykBartek_0-1616684174369.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22SQL_MI_RES_PAY_AS_YOU_GO.png%22%20style%3D%22width%3A%20512px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F267036iB9884A27E22DB4AD%2Fimage-dimensions%2F512x250%3Fv%3Dv2%22%20width%3D%22512%22%20height%3D%22250%22%20role%3D%22button%22%20title%3D%22SQL_MI_RES_PAY_AS_YOU_GO.png%22%20alt%3D%22SQL_MI_RES_PAY_AS_YOU_GO.png%22%20%2F%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22SQL_MI_RES_1_YEAR.png%22%20style%3D%22width%3A%20505px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F267037i27148B13F55204E3%2Fimage-dimensions%2F505x263%3Fv%3Dv2%22%20width%3D%22505%22%20height%3D%22263%22%20role%3D%22button%22%20title%3D%22SQL_MI_RES_1_YEAR.png%22%20alt%3D%22SQL_MI_RES_1_YEAR.png%22%20%2F%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22SQL_MI_RES_3_YEARS.png%22%20style%3D%22width%3A%20506px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F267039iF1BD997BA6B52F13%2Fimage-dimensions%2F506x266%3Fv%3Dv2%22%20width%3D%22506%22%20height%3D%22266%22%20role%3D%22button%22%20title%3D%22SQL_MI_RES_3_YEARS.png%22%20alt%3D%22SQL_MI_RES_3_YEARS.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-90px%20lia-align-justify%22%3E%3CEM%3EFigure%206%20Sample%20SQL%20MI%20Cost%20Pay-as-you-go%20vs%20Reservations%3C%2FEM%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3EMake%20sure%20You%20check%20more%20details%20how%20to%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fazure-sql%2Fdatabase%2Freserved-capacity-overview%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ESave%20compute%20costs%20with%20reserved%20capacity%20-%20Azure%20SQL%20Database%20%26amp%3B%20SQL%20Managed%20Instance%3C%2FA%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%3CFONT%20size%3D%225%22%3E%3CSTRONG%3EKeep%26nbsp%3B%3C%2FSTRONG%3E%3CSTRONG%3Ewithin%20the%20cost%20constraints%3C%2FSTRONG%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3EEvery%20design%20choice%20has%20cost%20implications.%20Thus%2C%20no%20matter%20if%20You%20are%20just%20planning%20the%20deployment%20or%20the%20deployment%20was%20already%20done%2C%20there%20are%20some%20points%20to%20verify%20and%20focus%20on%20in%20order%20to%20fit%20within%20the%20budget%20constraints.%20In%20the%20case%20of%20SQL%20Managed%20Instance%2C%20licensing%20can%20be%20one%20of%20the%20most%20important%20areas%20to%20consider%3A%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%3CSTRONG%3ECost%20structure%20%3C%2FSTRONG%3Ehas%20a%20huge%20impact%20on%20the%20ongoing%20costs.%20Although%20we%20are%20talking%20about%20cloud%20services%20we%20have%20to%20follow%20specific%20licensing%20rules.%20In%20the%20case%20of%20SQL%20MI%20there%20are%20few%20rules%20of%20thumb%20that%20help%20you%20manage%20cost-effectively%3A%3C%2FP%3E%0A%3CUL%20class%3D%22lia-align-justify%22%3E%0A%3CLI%3ECompute%20is%20provisioned%20in%20virtual%20cores%20(vCores).%20A%20vCore%20represents%20a%20logical%20CPU%20and%20its%20main%20cost%20factor%20when%20choosing%20Your%20Managed%20Instance%20configuration%20as%20you%20pay%20for%20computing%20(number%20of%20cores)%20and%20license%20needed%20to%20cover%20deployed%20cores%20%E2%80%93%20%3CSTRONG%3EBY%20DEFAULT%20LICENSE%20COST%20IS%20TRANSPARENT%20FOR%20YOU%20AS%20A%20CUSTOMER%20AND%20IS%20INCLUDED%20IN%20THE%20SERVICE%20PRICE%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3CLI%3EIn%20some%20cases%2C%20You%20can%20already%20have%20SQL%20Server%20licenses%20in%20Your%20organization%20which%20can%20be%20used%20to%20run%20SQL%20MI%20and%20reduce%20its%20cost.%20SQL%20Managed%20Instance%20is%20eligible%20for%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fazure-sql%2Fazure-hybrid-benefit%3Ftabs%3Dazure-powershell%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%3CSTRONG%3EAzure%20Hybrid%20Use%20Benefit%20(AHUB)%3C%2FSTRONG%3E%2C%3C%2FA%3E%20which%20is%20a%20licensing%20benefit%20that%20works%20by%20letting%20you%20use%20your%20on-premises%20SQL%20Server%20licenses%20with%20Software%20Assurance%20on%20Azure%20based%20on%20the%20following%20pattern%3A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CTABLE%20class%3D%22%20lia-align-justify%22%20width%3D%22636%22%3E%0A%3CTBODY%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22318%22%3E%3CP%3EOn-premises%20license%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22318%22%3E%3CP%3EAzure%20usage%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22318%22%3E%3CP%3ESQL%20Server%20%3CSTRONG%3EEnterprise%20Edition%3C%2FSTRONG%3E%20core%20customers%20with%20Software%20Assurance%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22318%22%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E1%20core%20on-premises%20%3D%204%20cores%20in%20General%20Purpose%20SKU%3C%2FP%3E%0A%3CP%3E1%20core%20on-premises%20%3D%201%20core%20in%20Business%20Critical%20SKU%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22318%22%3E%3CP%3ESQL%20Server%20%3CSTRONG%3EStandard%20Edition%3C%2FSTRONG%3E%20core%20customers%20with%20Software%20Assurance%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22318%22%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E1%20core%20on-premises%20%3D%201%20core%20in%20General%20Purpose%20SKU%3C%2FP%3E%0A%3CP%3E4%20core%20on-premises%20%3D%201%20core%20in%20Business%20Critical%20SKU%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3EIt%E2%80%99s%20important%20to%20remember%20if%20you%20decide%20to%20use%20%3CSTRONG%3EAHUB%20%3C%2FSTRONG%3E%26nbsp%3Byou%20need%20to%20cover%20whole%20SQL%20MI%20configuration%20(it%20isn%E2%80%99t%20possible%20to%20cover%20only%20part%20of%20vCores%20used%20in%20SQL%20MI%20with%20AHUB%20and%20using%20rest%20in%20license-included%20model).%20The%20same%20rule%20applies%20if%20you%20plan%20to%20scale%20up%20your%20instance%20%E2%80%93%20you%20must%20have%20eligible%20number%20of%20SQL%20license%20with%20SA%20to%20cover%20whole%20instance%20after%20scaling%20up.%26nbsp%3BTo%20find%20more%20information%20about%20Azure%20Hybrid%20Use%20Benefit%2C%20visit%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fazure-sql%2Fazure-hybrid-benefit%3Ftabs%3Dazure-powershell%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EAzure%20Hybrid%20Benefit%20%E2%80%93%20Azure%20SQL%20Database%20%26amp%3B%20SQL%20Managed%20Instance%3C%2FA%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3EAzure%20Hybrid%20Use%20Benefit%20for%20SQL%20MI%20can%20be%20enabled%20during%20or%20after%20instance%20deployment%20and%20it%E2%80%99s%20possible%20to%20do%20it%20using%20Azure%20Portal%2C%20PowerShell%2C%20CLI%2C%20or%20REST%20API.%20Below%20You%20can%20find%20the%20sample%20snapshot%20from%20Azure%20Portal%20for%20running%20SQL%20MI%20which%20shows%20how%20to%20activate%20AHUB%20and%20the%20potential%20savings%20%E2%80%93%20in%20this%20case%2C%2039.6%25%20(value%20can%20vary%20between%20Azure%20offering%2C%20Azure%20regions).%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorGraczykBartek_43%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%20lia-align-justify%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22SQL_MI_AHUB_OFF.png%22%20style%3D%22width%3A%20498px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F267040i71E435059F153260%2Fimage-dimensions%2F498x246%3Fv%3Dv2%22%20width%3D%22498%22%20height%3D%22246%22%20role%3D%22button%22%20title%3D%22SQL_MI_AHUB_OFF.png%22%20alt%3D%22SQL_MI_AHUB_OFF.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22SQL_MI_AHUB_ON.png%22%20style%3D%22width%3A%20520px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F267041iCD64B6CEE5CAF7E8%2Fimage-dimensions%2F520x257%3Fv%3Dv2%22%20width%3D%22520%22%20height%3D%22257%22%20role%3D%22button%22%20title%3D%22SQL_MI_AHUB_ON.png%22%20alt%3D%22SQL_MI_AHUB_ON.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-60px%20lia-align-justify%22%3E%3CEM%3EFigure%207%20SQL%20MI%20Cost%20comparison%20in%20Pay-as-you-go%20vs%20Azure%20Hybrid%20Use%20Benefit%3C%2FEM%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%3CSTRONG%3ENote!%20One%20of%20best%20practices%20to%20reduce%20cost%20is%20instances%20consolidation%20with%20right%20sizing%26nbsp%3B%20to%20ensure%20the%20least%20amount%20of%20vCores%20is%20required.%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%20class%3D%22lia-align-justify%20lia-list-style-type-circle%22%3E%0A%3CLI%3EAn%20additional%20cost-saving%20option%20is%20directly%20related%20to%20the%20scenario%20in%20which%20SQL%20MI%20is%20used.%20If%20your%20workload%20is%20not%20a%20production%20one.%20Consider%20using%26nbsp%3B%20Dev%2FTest%20licensing%20model%20which%20is%20available%20for%20SQL%20Database%20Managed%20Instance%20as%20part%20of%20the%20dev%2Ftest%20offer.%20It%20is%20a%20highly%20cost-effective%20way%20to%20run%20your%20development%20and%20testing%20workloads%20and%20can%20easily%20help%20save%20up%20to%2055%25%20off%20the%20list%20price.%20To%20make%20it%20clear%20Dev%2FTest%20licensing%20model%20means%20you%20pay%20only%20for%20compute%2C%20license%20cost%20is%20reduced%20to%20zero.%20There%20are%20three%20offers%20that%20allow%20reducing%20SQL%20MI%20cost%20used%20for%20development%20and%20testing%3A%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLI%3E%0A%3CLI%3EIndividual%20one%3A%20%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fen-us%2Fpricing%2Fmember-offers%2Fmsdn-benefits-details%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EMonthly%20Azure%20credits%20for%20Visual%20Studio%20subscribers%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%20class%3D%22lia-align-justify%20lia-indent-padding-left-60px%22%3EAzure%20credits%20are%20included%20in%20your%20Visual%20Studio%20subscription%20and%20depend%20on%20the%20Visual%20Subscription%20level.%20When%20you%20run%20out%20of%20the%20credit%20that%E2%80%99s%20allotted%20for%20the%20month%2C%20you%20won%E2%80%99t%20be%20able%20to%20continue%20using%20it%20until%20it%20resets%20the%20next%20month.%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorGraczykBartek_45%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%20lia-align-justify%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22SQL_MI_VS.png%22%20style%3D%22width%3A%20582px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F267042i959947728CE64DF6%2Fimage-dimensions%2F582x209%3Fv%3Dv2%22%20width%3D%22582%22%20height%3D%22209%22%20role%3D%22button%22%20title%3D%22SQL_MI_VS.png%22%20alt%3D%22SQL_MI_VS.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%20lia-align-justify%22%3E%3CEM%3E%26nbsp%3B%3CSPAN%20style%3D%22font-family%3A%20inherit%3B%22%3EFigure%208%20Azure%20Credits%20in%20Visual%20Subscriptions%3C%2FSPAN%3E%3C%2FEM%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%20class%3D%22lia-list-style-type-circle%22%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fen-us%2Foffers%2Fms-azr-0148p%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EEnterprise%20Dev%2FTest%3C%2FA%3E%20(FOR%20TEAMS%20-%20ENTERPRISE%20AGREEMENT%20CUSTOMERS)%20%3A%20%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fen-us%2Foffers%2Fms-azr-0148p%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EEnterprise%20Dev%2FTest%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%20class%3D%22lia-align-justify%20lia-indent-padding-left-60px%22%3EThis%20is%20offer%20doesn%E2%80%99t%20require%20any%20separate%20payment%2C%20it%E2%80%99s%20just%20using%20the%20funds%20already%20in%20your%20Enterprise%20Agreement.%20It%20requires%20creating%20a%20subscription%20that%20is%20marked%20as%20Dev%2FTest%20or%20changing%20the%20existing%20one.%20More%20details%20can%20be%20found%20here%3A%20%3CA%20href%3D%22https%3A%2F%2Fchannel9.msdn.com%2Fblogs%2FEA.Azure.com%2FEnabling-and-Creating-EA-DevTest-Subscriptions-through-the-EA-Portal%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EEnabling%20and%20Creating%20EA%20Dev%2FTest%20Subscriptions%20through%20the%20EA%20Portal%20%7C%20Enterprise%20Azure%20Portal%20%7C%20Channel%209%20(msdn.com).%3C%2FA%3EPlease%20remember%20that%20only%20active%20Visual%20Studio%20subscribers%20with%20standard%20subscriptions%20can%20use%20the%20Azure%20resources%20running%20within%20an%20Enterprise%20Dev%2FTest%20subscription.%20End%20users%20can%20also%20access%20the%20application%20to%20provide%20feedback%20or%20perform%20acceptance%20tests.%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%20class%3D%22lia-align-justify%20lia-list-style-type-circle%22%3E%0A%3CLI%3EALL%20OTHER%20CUSTOMERS%20(FOR%20TEAMS)%3A%20%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fen-us%2Foffers%2Fms-azr-0023p%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EPay-As-You-Go%20Dev%2FTest%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%20class%3D%22lia-align-justify%20lia-indent-padding-left-60px%22%3EThis%20offer%20works%20similar%20to%20Enterprise%20Dev%2FTest.%20The%20difference%20is%20that%20it%20doesn%E2%80%99t%20require%20You%20to%20have%20an%20Enterprise%20Agreement%20in%20place.%20This%20scenario%20also%20requires%20users%20to%20have%20an%20active%20Visual%20Studio%20subscription%20to%20be%20able%20to%20use%20the%20Azure%20resources%20running%20within%20a%20Dev%2FTest%20subscription.%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%20lia-indent-padding-left-60px%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%20lia-indent-padding-left-30px%22%3EJust%20to%20show%20how%20the%20dev%2Ftest%20pricing%20looks%20like%2C%20below%20You%20will%20find%20a%20comparison%20between%20the%20same%20SQL%20MI%20configuration%20running%20in%20standard%20and%20dev%2Ftest%20model.%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22SQL_MI_DEV_TEST_OFF.png%22%20style%3D%22width%3A%20507px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F267045iEA7585E01D76D780%2Fimage-dimensions%2F507x250%3Fv%3Dv2%22%20width%3D%22507%22%20height%3D%22250%22%20role%3D%22button%22%20title%3D%22SQL_MI_DEV_TEST_OFF.png%22%20alt%3D%22SQL_MI_DEV_TEST_OFF.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22SQL_MI_DEV_TEST_ON.png%22%20style%3D%22width%3A%20529px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F267046iAEA954CB79859000%2Fimage-dimensions%2F529x261%3Fv%3Dv2%22%20width%3D%22529%22%20height%3D%22261%22%20role%3D%22button%22%20title%3D%22SQL_MI_DEV_TEST_ON.png%22%20alt%3D%22SQL_MI_DEV_TEST_ON.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-60px%20lia-align-justify%22%3E%26nbsp%3B%3CEM%20style%3D%22font-family%3A%20inherit%3B%22%3EFigure%209%20Commercial%20to%20Dev%2FTest%20cost%20comparision%3C%2FEM%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%20class%3D%22lia-align-justify%22%3E%0A%3CLI%3ELast%20but%20not%20least%20is%20taking%20the%20advantage%20of%20the%20appropriate%20subscription%20offer%20types.%20Azure%20usage%20rates%20and%20billing%20periods%20can%20differ%20between%20%3CSTRONG%3EEnterprise%2C%20Web%20Direct%2C%20and%20Cloud%20Solution%20Provider%20(CSP)%3C%2FSTRONG%3E.%20It%E2%80%99s%20worth%20evaluating%20this%20option%20to%20make%20sure%20your%20pricing%20is%20relevant%20to%20your%20business%20needs.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%3CFONT%20size%3D%225%22%3E%3CSTRONG%3EMonitor%20and%20optimize%3C%2FSTRONG%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3EResource%20monitoring%20can%20be%20a%20great%20opportunity%20to%20optimize%20costs.%20Treat%20it%20as%20a%20process%2C%20rather%20than%20a%20point-in-time%20activity.%20Conduct%20regular%20reviews%20and%20forecast%20the%20capacity%20needs%20so%20that%20you%20can%20provision%20resources%20dynamically%20and%20scale%20with%20demand%20%E2%80%93%20for%20more%20information%20please%20back%20to%20section%20%3CSTRONG%3ERight%20resources%2C%20right%20size%E2%80%A6and%20right%20location%3C%2FSTRONG%3E%20and%20%3CSTRONG%3EAim%20for%20scalable%20costs%20%7C%20Pay%20for%20consumption%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3EThere%20are%20few%20steps%20which%20can%20help%20you%20optimize%20the%20overall%20cost%3A%3C%2FP%3E%0A%3CUL%20class%3D%22lia-align-justify%22%3E%0A%3CLI%3Ecollect%20and%20visualize%20key%20performance%20metrics%20to%20determine%20the%20right%20resource%20level%20usage%20(vCore%2C%20memory%2C%20IOPS%2C%20etc.).%20Verify%20if%20your%20database%20requires%20a%20specific%20number%20of%20cores%2C%20memory%2C%20IOPS%20and%20use%20it%20to%20determine%20the%20right%20service%20tier%20(General%20Purpose%20or%20Business%20Critical).%20Follow%20the%20best%20practice%20in%20monitoring%20SQL%20MI%20by%20using%20solutions%20like%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fazure-monitor%2Finsights%2Fsql-insights-overview%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ESQL%20Insights%3C%2FA%3E.%20Make%20sure%20to%20explore%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fazure-sql%2Fmonitoring-options-available-for-azure-sql-managed-instance%2Fba-p%2F1065416%22%20target%3D%22_blank%22%3Emonitoring%20options%20available%20for%20Azure%20SQL%20Managed%20Instance%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLI%3E%0A%3CLI%3Euse%20built-in%20features%20like%20Query%20Store%20or%20index%20usage%20statistics%20to%20optimize%20SQL%20workload%20which%20can%20allow%20you%20to%20optimize%20the%20sizing%20of%20your%20SQL%20MI%20and%20help%20to%20reduce%20the%20ongoing%20costs%3A%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fazure-sql%2Fdatabase%2Fperformance-guidance%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EPerformance%20tuning%20guidance%20for%20applications%20and%20databases%20-%20Azure%20SQL%20Database%20%26amp%3B%20Azure%20SQL%20Managed%20Instance%20%7C%20Microsoft%20Docs%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLI%3E%0A%3CLI%3Econsider%20using%20compression%20(row%2C%20page)%2C%20column%20store%20indexes%20where%20possible%20to%20keep%20storage%20footprint%20small%20and%20reduce%20storage%20size%20needs.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLI%3E%0A%3CLI%3Edefine%20and%20enforce%20data%20retention%2C%20archival%20requirements%2C%20or%20data%20offloading%20(e.g.%20to%20a%20storage%20account)%20strategy%2C%20as%20not%20all%20data%20typically%20needs%20to%20be%20available%20for%20online%20processing)%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLI%3E%0A%3CLI%3Ereduce%20the%20billing%20charges%20for%20excess%20usage%20of%20the%20backup%20storage%20space%20beyond%20the%20free%20backup%20storage%20space%20provided.%20You%20can%20control%20the%20backup%20consumption%20using%20these%20general%20approaches%3A%3CUL%3E%0A%3CLI%3EChoosing%20the%20backup%20storage%20type%20that%20is%20right%20for%20you%3C%2FLI%3E%0A%3CLI%3EOptimize%20database%20backup%20retention%20period%3C%2FLI%3E%0A%3CLI%3EMaximize%20your%20free%20backup%20storage%20space%3C%2FLI%3E%0A%3CLI%3EOptimize%20your%20apps%20and%20workloads%3C%2FLI%3E%0A%3CLI%3EAlternative%20considerations%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%20class%3D%22lia-align-justify%20lia-indent-padding-left-60px%22%3EDive%20into%20details%20about%20backup%20cost%20optimization%20by%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F182256%22%20target%3D%22_blank%22%3E%40Danimir%20Ljepava%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-60px%22%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fazure-sql%2Ffine-tuning-backup-storage-costs-on-sql-managed-instance%2Fba-p%2F1390935%22%20target%3D%22_blank%22%3EFine%20tuning%20backup%20storage%20costs%20on%20SQL%20Managed%20Instance%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-60px%22%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fazure-sql%2Fbackup-storage-consumption-on-managed-instance-explained%2Fba-p%2F1390923%22%20target%3D%22_blank%22%3EBackup%20storage%20consumption%20on%20Managed%20Instance%20explained%20%3C%2FA%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%20class%3D%22lia-align-justify%22%3E%0A%3CLI%3Eproactively%20use%20alerting%20to%20oversee%20if%20a%20subscription%20%2F%20Resource%20Group%20or%20particular%20service%20is%20using%20more%20than%20planned.%20Make%20sure%20to%20get%20more%20details%20about%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fazure-sql%2Fmonitoring-options-available-for-azure-sql-managed-instance%2Fba-p%2F1065416%22%20target%3D%22_blank%22%3EMonitoring%20options%20available%20for%20Azure%20SQL%20Managed%20Instance%20%3C%2FA%3E%26nbsp%3Band%20%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fen-us%2Fblog%2Fprevent-exceeding-azure-budget-with-forecasted-cost-alerts%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EPrevent%20exceeding%20Azure%20budget%20with%20forecasted%20cost%20alerts%20%7C%20Azure%20Blog%20and%20Updates%20%7C%20Microsoft%20Azure%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%3CSTRONG%3EWhat%E2%80%99s%20next%3F%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3EOnce%20you%20go%20through%20the%20most%20common%20cost%20optimization%20hints%20described%20in%20this%20post%2C%20remember%20to%20treat%20them%20as%20a%20process.%20Implement%2C%20revisit%2C%20and%20follow%20them%20regularly.%20Also%20stay%20tuned%20as%20more%20articles%20about%20Azure%20Well-Architected%20Framework%20(WAF)%20for%20SQL%20Managed%20Instance%20workload%20is%20coming.%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%3CSTRONG%3EDisclaimer%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3EPlease%20note%20that%20options%20presented%20in%20this%20article%20are%20subject%20to%20change.%20This%20article%20reflects%20the%20state%20of%20cost%20optimization%20options%20available%20for%20Azure%20SQL%20Managed%20Instance%20in%20March%2C%202021%20but%20is%20not%20limited%20to%20them%20and%20can%20changed%20over%20time%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3E%3CSTRONG%3EClosing%20remarks%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3EIf%20you%20find%20this%20article%20useful%2C%20please%20like%20it%20on%20this%20page%20and%20share%20through%20social%20media.%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3ETo%20share%20this%20article%2C%20you%20can%20use%20the%20Share%20button%20below%2C%20or%20this%20short%20link%3A%20%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Fsqlmi-waf-cost-optimization%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Faka.ms%2Fsqlmi-waf-cost-optimization%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-2235216%22%20slang%3D%22en-US%22%3E%3CP%3ECost%20optimization%20is%20one%20of%20the%20most%20common%20requirements%20for%20cloud%20workloads.%26nbsp%3B%20The%20thing%20to%20keep%20in%20mind%20is%20that%2C%20as%20any%20framework%2C%20The%20Azure%20Well-Architected%20Framework%20(WAF)%20only%20provides%20broad%20recommendations.%20To%20implement%20it%2C%20You%20will%20need%20concrete%20details%20pertinent%20to%20a%20particular%20solution%2C%20workload%2C%20and%20even%20the%20service%20level.%20With%20this%20in%20mind%2C%20let%E2%80%99s%20go%20one%20level%20deeper%20and%20focus%20on%20the%20cost%20optimization%20aspect%20for%20Azure%20SQL%20Managed%20Instance%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2235216%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20SQL%20Managed%20Instance%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2415109%22%20slang%3D%22en-US%22%3ERe%3A%20Optimize%20your%20Azure%20SQL%20Managed%20Instance%20cost%20with%20Microsoft%20Azure%20Well-Architected%20Framework%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2415109%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%20for%20good%20SQL%20cost%20savings%20tips%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2433658%22%20slang%3D%22en-US%22%3ERe%3A%20Optimize%20your%20Azure%20SQL%20Managed%20Instance%20cost%20with%20Microsoft%20Azure%20Well-Architected%20Framework%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2433658%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F693666%22%20target%3D%22_blank%22%3E%40MortenNordnes%3C%2FA%3E%26nbsp%3Bmy%20pleasure%2C%20use%2C%20save%20money%20and%20enjoy%20%3B)%3C%2Fimg%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Co-Authors
Version history
Last update:
‎Mar 26 2021 01:41 AM
Updated by: