Amazon EC2 · Finder + guided fix
EC2 Manually Optimize MSSql Server License
Manually OptimizeMSSql Server License
Optimize SQL Server licensing on EC2 by right-sizing based on Compute Optimizer recommendations. Reduce instances with excess SQL Server licensing costs.
What happens, in order.
Finder · read-only
Finds the opportunity
Scans your connected accounts with a read-only role. It can see resource metadata and usage; it can’t change anything.
You
Review in Recommendations
It appears in your Recommendations view with what it would save.
Guided fix
You make the change
You apply it yourself, following the fix’s step-by-step instructions; the write-up below explains it.
Finder role
Read-only. It can see resource metadata and usage. It can’t change anything.
Fixer role
Not used here: this one is a guided fix, so the change is yours to make.
Saves by
This finder identifies EC2 instances running Microsoft SQL Server that may be optimized for licensing costs. It uses AWS Compute Optimizer's SQL Server recommendations to reduce licensing costs without compromising performance.
Optimize your Microsoft SQL Server licensing costs on Amazon EC2 instances. CloudFix leverages AWS Compute Optimizer, enhanced with insights from CloudWatch Application Insights (if enabled), to identify opportunities for reducing SQL Server license costs. This typically involves recommending changes to the EC2 instance configuration (like adjusting vCPU count) or suggesting different instance types that better match the workload’s performance needs while potentially requiring fewer licenses, especially for Bring Your Own License (BYOL) scenarios.
Manual Fix Required
CloudFix identifies potential SQL Server license optimization opportunities but requires manual action to implement them. Modifying EC2 instance types or configurations requires careful validation against performance requirements and potential downtime during the change. Users must manually execute the instance modification based on the recommendation.
Overview
Problem Statement
Microsoft SQL Server licensing on EC2 is often based on vCPU cores. Running SQL Server on EC2 instances that are overprovisioned in terms of CPU capacity, even if memory or I/O are the true bottlenecks, can lead to significantly higher licensing costs than necessary, particularly for customers using the Bring Your Own License (BYOL) model.
Solution Identification
CloudFix utilizes AWS Compute Optimizer, which analyzes historical performance metrics from CloudWatch. Compute Optimizer specifically provides recommendations for SQL Server workloads on EC2, suggesting alternative instance types or configurations that could meet performance needs with fewer vCPUs, thereby reducing licensing costs. Enabling CloudWatch Application Insights for SQL Server can provide more detailed performance data to enhance these recommendations. CloudFix filters these Compute Optimizer findings to present actionable optimization opportunities.
AWS Services Affected
How CloudFix Identifies the Opportunity
The CloudFix Finder works read-only. It combines your cost and usage data with AWS Compute Optimizer’s SQL Server recommendations (enriched by CloudWatch Application Insights where enabled) to find instances where a configuration with fewer vCPUs would still meet the workload’s performance needs, and estimates the licensing savings for both License Included and BYOL. Each opportunity appears in your Recommendations; you decide whether and when to make the change. You can exclude instances you do not want CloudFix to flag.
Manual Fix Steps
After CloudFix identifies a SQL Server license optimization opportunity:
- Review Recommendation: Carefully examine the recommendation from CloudFix, which originates from AWS Compute Optimizer. Note the current instance, the recommended instance type/configuration, and the estimated savings.
- Validate Performance Needs: Confirm that the recommended instance configuration (especially the vCPU count) aligns with your SQL Server workload’s actual performance requirements. Review the detailed metrics in Compute Optimizer and CloudWatch (including Application Insights if enabled). Consider peak loads, query complexity, and acceptable performance levels.
- Plan the Instance Change: Schedule a maintenance window. Plan for potential downtime required to stop the instance, change its type or configuration, and restart it.
- Backup: Ensure you have recent, reliable backups of your SQL Server databases before making infrastructure changes.
- Modify the EC2 Instance: Stop the target EC2 instance. Modify its instance type or vCPU configuration (if supported by the instance type) through the AWS Management Console or AWS CLI/SDK to match the recommendation. Start the instance.
- Verify SQL Server Functionality: After the instance restarts, thoroughly test SQL Server and the applications relying on it to ensure everything functions correctly and performance is acceptable.
- Monitor: Continue monitoring performance metrics in CloudWatch and Compute Optimizer after the change.
FAQ
Q: Why is this a manual fix?
A: Changing the underlying EC2 instance configuration for a production SQL Server requires careful validation, planning for downtime, and verification to ensure performance and functionality are not negatively impacted. These steps require manual oversight.
Q: Does this apply to both License Included (LI) and BYOL?
A: Yes, Compute Optimizer provides recommendations for both. Savings calculations may differ, as Compute Optimizer uses actual LI costs but nominal estimates for BYOL savings.
Q: Is Compute Optimizer required?
A: Yes, this finder relies on AWS Compute Optimizer recommendations for SQL Server workloads.
Q: Is CloudWatch Application Insights required?
A: Compute Optimizer requires Application Insights to be enabled for the SQL Server instance to provide the most detailed and accurate licensing recommendations.
Q: Is downtime required?
A: Yes, modifying the instance type or vCPU configuration of an existing EC2 instance requires stopping and starting the instance, resulting in downtime for the SQL Server workload.
Related Resources
- Reduce Microsoft SQL Server licensing costs with AWS Compute Optimizer (AWS Blog)
- Compute Optimizer Resource Requirements (See SQL Server section)
- What is CloudWatch Application Insights?
- Resize your instance (EC2 Documentation)
- EC2 Optimize MS SQL Server License (CloudFix Support)
Ready to start saving on AWS? See how much you could cut from your cloud bill with a free cost optimization assessment, or explore CloudFix automated Finder/Fixers that eliminate waste across 30+ AWS services.
Related Articles
- AWS Cost Optimization: The Complete Guide to Lowering Your Cloud Bill (2026)
- AWS Cost Optimization Tools: The Complete Comparison Guide (2026)
- RightSpend vs ProsperOps (Flexera): The Independent EC2 Discount Alternative
- Find Idle AWS Transfer Family Endpoints
- CloudFix Finder: SageMaker Rightsize Instances (Manual Fix)
See whether this one applies to your account.
A free savings assessment reports which fixers can be applied to your environment. Results typically within 24 hours.