View a markdown version of this page

Deleting Windows Server entitlements - Amazon Elastic VMware Service

Deleting Windows Server entitlements

When you no longer need AWS-offered Windows Server licensing for your VMs, delete their Windows Server entitlements. When you delete an entitlement, Amazon EVS stops tracking Windows Server entitlement usage for the specified VM. After deletion, the VM no longer has a Windows Server entitlement through AWS.

Note the following constraint: you can delete up to 100 entitlements at a time.

To delete an Amazon EVS entitlement

Example
Amazon EVS console
  1. Go to the Amazon EVS console.

  2. In the navigation pane, choose Environments.

  3. Select the environment containing the VMs.

  4. Select the Entitlements tab.

  5. Select the VMs you want to delete entitlements from.

  6. Choose Delete.

  7. Confirm the removal.

  8. To verify completion, check that the Entitlements for the specific VMs have been removed from the console list.

AWS CLI
  1. Open a new terminal session.

  2. Delete an entitlement. See example command below for reference.

    aws evs delete-entitlement \ --environment-id env-abcde12345 \ --connector-id cnctr-szgj87q6gi \ --entitlement-type WINDOWS_SERVER \ --vm-ids vm-003 vm-001
  3. To verify completion, list the entitlement.

    aws evs list-vm-entitlements \ --environment-id env-abcde12345 \ --connector-id cnctr-szgj87q6gi \ --entitlement-type WINDOWS_SERVER