<p>From my inexperienced perspective, Azure SQL would be the go.</p>
<p>That is at least what Microsoft emphasised during the Certification I passed with them.</p>
<p>Database as a managed service would free your time of maintenance and further upgrade of the VM, mysql releases etc.</p>
<p>Maybe someone with more experience on cloud migrations could give a clearer answer.</p>

CC BY-SA 4.0
2022-02-02T21:11:27.433Z
2022-02-02T21:11:27.433Z
tintin
<p>I will concur with tintin. migrating from your on-prem sql server to an Azure SQL Server instance would be the way to go. Microsoft has outlined a tutorial to go through this exact thing here, though it is complete may be a bit overkill if you only wanted your data migrated: <a href="https://docs.microsoft.com/en-us/dotnet/azure/migration/sql" rel="nofollow noreferrer">Overview</a> <a href="https://docs.microsoft.com/en-us/azure/dms/tutorial-sql-server-to-azure-sql" rel="nofollow noreferrer">Tutorial</a>.</p>
<p>If you only wanted your data, you can do backup and restores of you data. you can use sql server management studio (SSMS) or Azure Data Studio to help manage the migration to/from your server. Some quick searches brings up Microsoft docs on many ways (including writing you own) to migrate between on-prem and Azure.</p>
<p>I would also like to point out that there is a hybrid between the two, Managed SQL instance. It is for a niche use case, so knowing your requirements is important, but it sounds like you just need an Azure SQL DB.</p>
<p>When spinning up your instance, know what performance you need what pricing scale you want. There is one that uses a SKU (basic, standard, premium) for size, and you pay for use using that SKU. There is another pricing model where you can scale your DB CPU and Memory independently of one another. It is a bit more expensive but allows for more flexibility.</p>

CC BY-SA 4.0
2022-02-03T15:32:55.647Z
2022-02-05T19:40:07.007Z
2022-02-05T19:40:07.007Z
xtreampb
<p>My current company is looking to benefit from the cloud by hosting our different web apps and sql servers on Azure. We're not a tech company and I'm the sole developer here and I need some guidance on the topic.</p>
<p>We've got a Windows Server 2019 machine on-premises that hosts our MSSQL databases. What would be the best way to perform a migration to azure? Migrate the Windows Server 2019 to an Azure VM instance, or to migrate the MSSQL database to Azure SQL instead? As far as I'm aware, I don't see the need for a VM as the server <strong>only</strong> hosts our database and does nothing else, but I want to get more information.</p>

<azure><sql><vm>
What would be a better option, to migrate our server to an Azure VM or to migrate our database to an Azure SQL instance?
Alex Chadwick
# What would be a better option, to migrate our server to an Azure VM or to migrate our database to an Azure SQL instance?

(Asked by: username_0 on 2022-02-01)

My current company is looking to benefit from the cloud by hosting our different web apps and sql servers on Azure. We're not a tech company and I'm the sole developer here and I need some guidance on the topic.

We've got a Windows Server 2019 machine on-premises that hosts our MSSQL databases. What would be the best way to perform a migration to azure? Migrate the Windows Server 2019 to an Azure VM instance, or to migrate the MSSQL database to Azure SQL instead? As far as I'm aware, I don't see the need for a VM as the server **only** hosts our database and does nothing else, but I want to get more information.

**Tags:** azure, sql, vm


---

## 2 answers

### Answer by username_1 on 2022-02-02. Score: 1 | Accepted answer

From my inexperienced perspective, Azure SQL would be the go.

That is at least what Microsoft emphasised during the Certification I passed with them.

Database as a managed service would free your time of maintenance and further upgrade of the VM, mysql releases etc.

Maybe someone with more experience on cloud migrations could give a clearer answer.


---

### Answer by username_2 on 2022-02-03. Score: 1

I will concur with username_1. migrating from your on-prem sql server to an Azure SQL Server instance would be the way to go. Microsoft has outlined a tutorial to go through this exact thing here, though it is complete may be a bit overkill if you only wanted your data migrated: [Overview](https://docs.microsoft.com/en-us/dotnet/azure/migration/sql) [Tutorial](https://docs.microsoft.com/en-us/azure/dms/tutorial-sql-server-to-azure-sql).

If you only wanted your data, you can do backup and restores of you data. you can use sql server management studio (SSMS) or Azure Data Studio to help manage the migration to/from your server. Some quick searches brings up Microsoft docs on many ways (including writing you own) to migrate between on-prem and Azure.

I would also like to point out that there is a hybrid between the two, Managed SQL instance. It is for a niche use case, so knowing your requirements is important, but it sounds like you just need an Azure SQL DB.

When spinning up your instance, know what performance you need what pricing scale you want. There is one that uses a SKU (basic, standard, premium) for size, and you pay for use using that SKU. There is another pricing model where you can scale your DB CPU and Memory independently of one another. It is a bit more expensive but allows for more flexibility.


---

