Search notes:

Azure SQL Managed Instance

Managed, always up-to-date SQL instance in the cloud
Azure SQL Managed Instance is a product that belongs to the Azure SQL product family.
Azure SQL Managed Instance is almost 100% compatible with the Database Engine of the Enterprise Edition of SQL Server, in fact, it combines the best features of SQL Server and Azure SQL Database.
Azure SQL Managed Instance provides a native Virtual Network (VNet) to address security concerns.
The business model is tailored to existing SQL Server customers and allows the to lift and shift their on-prem applications to the Cloud (for example using Azure Database Migration Services).

Configuration of the Virtual Network into which the managed instance is placed

A Managed Instance must be deployed within a Virtual Network.
Required steps:
See also

Accessing a Managed Instance from outside the virtual network

In order to access a managed instance from outside the virtual network, a public endpoint must be enabled.
With an enabled public endpoint, the managed instance can be accessed from multi-tenant Azure services like Power BI or Azure App Service, or from an on-prem network.
In order to increase protection of the data stored in a managed instance, the public endpoint is enabled in a two step process that follows the principle of separation of duties (SoD):

PowerShell

With PowerShell, the first step (enabling the public endpoint) can be achieved like so:
$sqlInstance = get-azSqlInstance -resourceGroupName $tq84_resourceGroupName -name 'nameofinstance'
$sqlInstance = $sqlInstance | set-azSqlInstance -publicDataEndpointEnabled $true -force
How the second step can be achieved with Powershell: I don't know.

Migration of on-prem databases into the Cloud

Migrating an on-prem SQL Server application to a Managed Instance should not be too hard.
It should be kept in mind, however, that there some functional differences between Managed Instance and SQL Server, so that the application possibly needs to be changed before moving it into the Cloud.
If such a tweaking of the application is not desired, SQL Server on Azure Virtual Machines should be considered as it offers the exact same functionality as SQL Server.

Services Managed Instances depends on

Managed Instance depends on a few Azure services:

See also

Azure SQL Database shares a common code basis with Azure SQL Managed Instance, here's a features comparison.
Resource Providers for Azure SQL Managed Instance include See also get-azResourceProvider
The PowerShell command noun azSqlInstance

Index