Provisioning of Virtual Desktops with AWS Workspaces: “Windows Server 2019 Edition”

Semo
4 min readJun 19, 2024

--

Task: Provision a Virtual Desktop for one of your colleagues

In this project, I have created and manage a virtual desktop (Windows Server 2019) on AWS Workspaces for enhanced remote accessibility and security. Utilized Terraform to provision the infrastructure consisting of a VPC, 2 public subnets, Internet Gateway, and custom route tables, then AWS Workspaces to deploy and configure virtual desktop environments.

What did I use to build this environment?

  • Visual Studio Code platform
  • Terraform
  • AWS Console

What is built?

  • VPC
  • Subnets
  • Internet Gateway
  • Custom Route Tables
  • Simple AD
  • Workspaces
  • Virtual Desktop (Windows Server 2019)

Some of the highlights

Prepared the code for the provisioning

Terraform Init

Terraform Apply

After the provisioning is completed, I needed to do the following Steps:

Create AWS Workspaces Directory

  • Go to the AWS Workspaces console.
  • Create a directory for managing Workspaces.
  • Configure the directory

Launch Virtual Desktop

  • In the AWS Workspaces console, select “Create Workspaces.”
  • Choose the directory created in the previous step.
  • Select the “Windows Server 2019” bundle for the virtual desktop.
  • Configure user details and Workspaces settings.
  • Launch the Workspaces.

It takes around 20 minutes for it to be ready. Once the virtual desktop is ready, I received an email with the instructions and access credentials

After the configuration, The virtual desktop is ready to be used

By leveraging Terraform and AWS Workspaces, this project provides a robust solution for creating and managing virtual desktops. This setup ensures enhanced remote accessibility, security, and efficient resource management.

--

--

Semo
Semo

Written by Semo

0 Followers

UK based Junior Cloud Engineer with 3 AWS certifications, Azure Fundamentals www.linkedin.com/in/mohammed-zitouni-234b34240

No responses yet