# WorkSpaces (EC2)

The **WorkSpaces (EC2)** settings page allows administrators to enable and manage EC2 backed WorkSpaces.

<figure><img src="https://2854239078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxEJOGCAr5O8d9q95spJy%2Fuploads%2FffJwVTlpfpZboeNYJBSa%2FScreenshot%202025-11-05%20155511.png?alt=media&#x26;token=ad030ef4-ca1b-4a24-a726-2ca626803f98" alt=""><figcaption></figcaption></figure>

To configure a WorkSpaces EC2 instance, click on **Add Instance Definitions**. This takes you to the page where you can enter all the required details for your EC2 WorkSpace setup—including:

* **Friendly Name** for easy reference
* **AWS Instance Type** (e.g., `t3a.xlarge`)
* **KeyPair Name**, **AMI ID**, and **Subnet ID**
* **Security Group**, **Account ID**, and **Region**

<figure><img src="https://2854239078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxEJOGCAr5O8d9q95spJy%2Fuploads%2FlhHBBCVkcjeR0qEsQOrm%2Fimage.png?alt=media&#x26;token=6b577ef3-06fa-47c1-9f3e-586fcc837974" alt=""><figcaption></figcaption></figure>

To manage an EC2 Instance as a WorkSpace it requires a tag: -\
\
Tag Name = WSM-Managed\
Tag Value = true

The **Add Schedule Definition** feature allows administrators to define automatic start and stop times for the EC2-based WorkSpaces, helping to optimize cost and resource usage. You can create custom schedules by setting stop and start times for weekdays, Saturday, and Sunday individually.

For example, a schedule like "Mon–Fri Stop at 5pm" ensures that EC2 WorkSpaces are shut down at the end of the workday—reducing compute costs without requiring manual intervention.

<figure><img src="https://2854239078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxEJOGCAr5O8d9q95spJy%2Fuploads%2FqKP1sPaJWedmYFv7dz3e%2Fimage.png?alt=media&#x26;token=632a129a-9942-4b53-8162-25f75771fa89" alt=""><figcaption></figcaption></figure>
