- Newest
- Most votes
- Most comments
Hello Aja,
- After the Workspaces are deleted, you need to deregister the directory with the Workspaces service.
- Then delete the directory itself. The 2 network interface that you are referring to, are attached to the 2 directory instances created in AWS service account (not customer account). Refer to What gets created documentation for more details.
- If you want to delete the VPC as well follow the documentation.
Please mark the answer as accepted if it helps you resolve the issue.
Have you deleted the AD as this comes with 2 instances by default which could be where your network interfaces are?
Have you deleted all the virtual desktops as these take up interfaces and the workspace setup too?
Following all that, NAT gateways take up ips also and any vpc endpoints you may have setup.
If this answer solved your issue, please be sure to mark the answer as accepted. Thanks!
As noted in the description, the problem is that I cannot delete the AD. I have only ever seen the one. The entire workspace has been deleted, so there are no virtual desktops. I have deleted all EC2 instances, Volumes, Elastic IPs, Key Pairs in the region. There are no public IPs assigned to either of the stuck Network Interfaces. There are no NAT gateways or endpoints, nor any other gateways in the region. The interrelated undeletable things appear to be: the VPC, the AD, two Subnets, a Route Table, and a DHCP option set.
Do you receieve an error messsage when removing the AD configuration? Do you have the appropiate access to do so?
OK. Solution is: (1) Re-register directory. (Thankfully, you have some undeletable subnets lying around.) (2) Check if workdocs is enabled on the directory service console (not the directory section of workspaces). If it is, go to workdocs and delete the site. (3) Now, return to workspaces and de-register the directory. That should disable any other applications (not sure why Workdocs was an outlier) (4) Delete the directory (it works this time!) It might take a while to complete. (5) Go back to EC2 and confirm the undeleteable Network Interfaces have gone away. (6) Delete the remainder of the cruft.
I have a similar issue and uncertain if the Network Interface was created by Workdocs or SageMaker. In either case, Workdays has been completely deleted, so I cannot reregister. SageMaker is also completely deleted, so I cannot make modifications there. As a result, I keep running around in circles from Network Interfaces, to VPC, to subnets and nothing can be deleted in the ultimate circular reference. There is no way to force the issue and I cannot clean up security groups or other resources. Is there a human being that can help with these issues?
Relevant content
- asked 5 years ago
- Accepted Answerasked 3 months ago
- asked 3 years ago
- asked a year ago
- AWS OFFICIALUpdated 21 days ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated 4 months ago
It is possible to deregister the directory, but then attempting to delete it generated the error: "Cannot delete directory because it still has authorized applications. Additional directory details can be viewed at the Directory Service console". Tunnelling into the Directory Service console revealed an Application Management tab I had not noticed before. Inside that I found the "AWS Apps and Services" pane that included a whole bunch of disabled apps and services, and one lone enabled service: "Amazon Workdocs". I suspect that is the issue, but can see no way to disable the application (visiting the WorkDocs console just offers me the option of signing up).
Accepting this answer as it gave me the clue to solving. Solution detailed below.