I want to change the subnets for Amazon WorkSpaces. How can I do this?
Resolution
In certain cases, you can modify the subnets associated with your WorkSpaces directory. The process involves deleting an existing WorkSpace. Therefore, it's a best practice to make this change only if you have a WorkSpaces development environment or you’re working on a new WorkSpaces deployment.
Follow these steps to modify your subnets.
Confirm and create subnets
- See Availability Zones for Amazon WorkSpaces for more information about the Availability Zones that support WorkSpaces.
- Confirm that your subnets for WorkSpaces are in one of these Availability Zones.
- If your subnets aren’t in a supported Availability Zone, then create new subnets.
Delete WorkSpaces and deregister and register directories
- If there are any WorkSpaces already launched, delete all the existing WorkSpaces.
- Deregister the WorkSpaces directory.
- Make sure that WorkSpaces applications aren’t turned on.
- Register the directory again by specifying the desired subnets.
- Upon successful registration, the updated subnets appear in the directory details.
Create new subnets and register directories
- If a WorkSpace wasn't created, create new subnets.
- Deregister the WorkSpaces directory.
- Register the WorkSpaces directory with the new subnets selected.
- Upon successful registration, the updated subnets appear in the directory details.
Note: Don’t modify or delete the _controllers and _workspacesMembers security groups. You can’t recreate and re-add these security groups after they're modified or deleted.
Related information
Security groups for your WorkSpaces
Configure a VPC for WorkSpaces
How can I access the internet from my Amazon WorkSpace?