# Sonarqube license when migrating to a new VM

**URL:** <https://community.sonarsource.com/t/sonarqube-license-when-migrating-to-a-new-vm/124988>\
**Category:** SonarQube Server / Community Build\
**Tags:** licensing, license, sonarqube\
**Created:** [September 12, 2024, 1:56pm UTC](https://community.sonarsource.com/t/sonarqube-license-when-migrating-to-a-new-vm/124988 "2024-09-12T13:56:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![srikanth.vaka](https://avatars.discourse-cdn.com/v4/letter/s/e56c9b/32.png) [@srikanth.vaka](https://community.sonarsource.com/u/srikanth.vaka)\
**Post date:** [September 12, 2024, 1:56pm UTC](https://community.sonarsource.com/t/sonarqube-license-when-migrating-to-a-new-vm/124988/1 "2024-09-12T13:56:21Z")

</div>

Hi,

Currently we’re running Sonarqube Developer Edition 10.6 in our prod.  
We currently have two open topics -

1. We want to migrate our Sonarqube instance to another host by switching the IP from our old Infra to new Infra. How does this work considering the license will be revoked if something like happens - [reference](https://docs.sonarsource.com/sonarqube/9.6/instance-administration/license-administration/#actions-that-will-invalidate-your-license-key)
2. We’re also setting up a new test instance. How does our existing licensing work if we want to setup test instance with the same license?

---

<div class="post-metadata">

**Author:** ![ganncamp](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/ganncamp/32/1261_2.png) [@ganncamp](https://community.sonarsource.com/u/ganncamp)\
**Post date:** [September 13, 2024, 2:29pm UTC](https://community.sonarsource.com/t/sonarqube-license-when-migrating-to-a-new-vm/124988/2 "2024-09-13T14:29:24Z")

</div>

Hi,

Your link goes to the 9.6 docs. Fortunately, it doesn’t look like those docs have changed much in [the latest version](https://docs.sonarsource.com/sonarqube/latest/instance-administration/license-administration/#actions-that-will-invalidate-your-license-key).

And what they convey is that your license key will be invalidated if you move your **database** , not if you move your SonarQube _server_.

For your test instance, you’ll need a new license.

&nbsp;  
HTH,  
Ann

---

<div class="post-metadata">

**Author:** ![srikanth.vaka](https://avatars.discourse-cdn.com/v4/letter/s/e56c9b/32.png) [@srikanth.vaka](https://community.sonarsource.com/u/srikanth.vaka)\
**Post date:** [September 18, 2024, 10:48am UTC](https://community.sonarsource.com/t/sonarqube-license-when-migrating-to-a-new-vm/124988/3 "2024-09-18T10:48:49Z")

</div>

Hi,

Thank you for the reply. Then it shouldn’t interfere with our Prod setup.

Regarding the test system setup - We’re setting up for our test system at the moment and don’t have the license yet.

Do we get the license for test system inclusive with a Developer version? or do we need to buy a new one?

Can you please provide me with the necessary information for requesting a new license.

Thank you.

---

<div class="post-metadata">

**Author:** ![ganncamp](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/ganncamp/32/1261_2.png) [@ganncamp](https://community.sonarsource.com/u/ganncamp)\
**Post date:** [September 18, 2024, 11:51am UTC](https://community.sonarsource.com/t/sonarqube-license-when-migrating-to-a-new-vm/124988/4 "2024-09-18T11:51:08Z")

</div>

Hi,

[Enterprise Edition](https://www.sonarsource.com/plans-and-pricing/)($$) comes with a test license (possibly two, my memory is fuzzy). If you’re using [Developer Edition](https://www.sonarsource.com/plans-and-pricing/)($) you would need a second license for a test server. At that point you might want to talk to sales to see if an upgrade is worth it.

&nbsp;  
HTH,  
Ann
