Try Azure SQL Managed Instance for free (preview)
Try Azure SQL Managed Instance free of charge for the first 12 months to get:
- a General Purpose instance with up to 100 databases
- 720 vCore hours of compute every month
- 64 GB of storage
The free Azure SQL Managed Instance offer is currently in preview.
The free SQL Managed Instance offer is designed for new Azure customers looking to get started with Azure SQL Managed Instance, as well as existing customers that might need a development database, such as for a proof of concept.
To get started, select Apply free offer from the banner when you try to create a new Azure SQL Managed Instance:
You know the offer has been applied when the Cost summary card on the right side of the page shows Estimated total as Free.
Monthly free limits
The free Azure SQL Managed Instance offer is the same fully managed platform-as-a-service (PaaS) instance you get with the paid version and includes handling all of the same database management functions (such as upgrading, patching, backups, and monitoring) without user involvement. The offer is available for one instance per Azure subscription.
The monthly free limits include 720 vCore hours of compute and a maximum size of 64 GB of data (though since system files can take up to 32 GB of storage, the available storage for user data could be less than 64 GB). Your free month of credits starts when you create your instance and is renewed on the same day of the following month.
Once you reach the monthly free vCore limit, the instance is stopped with a status of
Stopped - Insufficient credit and a banner on the Overview page of your instance in the Azure portal gives you the option to create a new paid instance. You can restore your database to the new instance to continue your business without the limits imposed by the free offer.
Once you have credits available again at the beginning of the next month, the instance is started automatically at the next scheduled start. You can also stop the instance manually at any time to avoid using up your free monthly vCore hours.
To try Azure SQL Managed Instance for free, you need:
- An Azure account with one of the following Azure subscriptions:
- Pay-as-you-go (003P)
- Azure in CSP (0145P)
Create a free instance
Use the Azure portal to create the new free Azure SQL Managed Instance.
To create your free instance, follow these steps:
- Go to the provisioning page for Azure SQL Managed Instance in the Azure portal.
- On the Basics tab, look for the Want to try Azure SQL Managed Instance for free? banner and select the Apply offer button. Check the Estimated costs per month to validate the free offer has been applied to your instance.
- For Resource group, either select an existing resource group from the dropdown list or select Create new to create a new resource group. Enter the name of your resource group, such as
myFreeMIResourceGroupand then select OK.
- Instance details such as the name and region, are already populated with default values but you can choose to modify these values.
- You can choose to leave the Compute + storage as default, or select Configure Managed Instance to update the number of vCores.
- Select your preferred authentication method. Select Next : Networking.
- On the Networking tab, the public endpoint is enabled by default so you can connect to the instance from any application that can access the internet. You can choose to disable the public endpoint if you want to test a closed environment, but will then need to perform extra steps to connect to your instance.
- Select Next: Security. You can choose to leave these options as default, or modify them as needed.
- Select Next: Additional settings. You can choose to leave these options as default, or modify them as needed. The instance schedule is based on the time zone you configure on this page.
- Select Review + create to review your settings and then use Create to create your free instance.
Connect to your instance
The way to connect to your instance depends on whether or not you enabled the public endpoint when you created your instance.
Public endpoint enabled
If you enabled the public endpoint, follow these steps to connect to your instance:
- Go to your SQL Managed Instance in the Azure portal.
- Select Overview and then copy the value under Host in the Essentials section.
- Open your preferred data tool, such as SQL Server Management Studio (SSMS) or Azure Data Studio.
- Select Connect and then paste in the Host value for the SQL Managed Instance you copied from the Azure portal.
- Select your preferred authentication method - either SQL administrator or Microsoft Entra and provide credentials, if necessary.
- Select Connect to connect to your SQL Managed Instance.
Public endpoint disabled
If your public endpoint is disabled, you can choose to either Create an Azure VM within the same virtual network or Configure point-to-site to connect to your instance. Review Connect your application to Azure SQL Managed Instance for more information.
To conserve credits, by default, the free instance is scheduled to be on from 9am to 5pm Monday through Friday in the time zone configured when you created the instance. You can modify the schedule to suit your business needs.
The free SQL Managed Instance offer has the following limitations:
- vCore hours: 720
- Storage: 64 GB, but system files might require up to 32 GB so space for user data can be less than 64 GB
- Instances per subscription: 1
- Compute: 4 and 8 vCore instances only
- Service tier: General purpose only
- Hardware: Standard only
- Zone redundancy: Not available
- Failover groups: Not available
- Scaling: Scale up or down within the compute limits
- Backups: 0-7 days for short term retention, long-term retention (LTR) is unavailable
- Charge for SQL Server license: None
- The free offer is currently available in the following region (which are subject to change): Australia East, East US, East US 2, North Europe, Sweden Central, Southeast Asia, South Central US, UK South, West Europe, West US 2, West US 3
- No guaranteed SLA
- It's not currently possible to upgrade your free instance to the paid version. Create a new instance and restore your database to it to continue your business without the limits imposed by the free offer.
Clean up resources
When you're finished using these resources, or if you want to start over again with a new free instance (limit one per subscription), you can delete the resource group you created, which also deletes the instance and any databases within it.
myFreeMIResourceGroup and all its resources using the Azure portal:
- In the Azure portal, search for and select Resource groups, and then select your resource group, such as
myFreeMIResourceGroup, from the list.
- On the Resource group page, select Delete resource group.
- Under Type the resource group name, enter
myFreeMIResourceGroup, and then select Delete.