# WorkSpaces (EC2)

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

<figure><img src="/files/SH2TJa9uGOrcj9VjTvku" 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="/files/74LEQQYZQJBV7PxgUtt7" 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="/files/pViILh9L2yj50ldHyMjO" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.nuvens.cloud/admin/configuration-section/settings/workspaces-ec2.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
