> For the complete documentation index, see [llms.txt](https://cleyrop.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cleyrop.gitbook.io/docs/v4.7-en/administration/gerer-les-devspaces.md).

# Manage DevSpaces

Oversee and administer the development environments of all platform users.

As a **Platform Manager**, you have access to an overview of all the platform's DevSpaces. This interface lets you monitor resource usage, manage the lifecycle of environments, and optimize the use of your resources.

***

## Monitor DevSpaces

From Administration > DevSpace, you can view all the DevSpaces that have been configured (active or stopped) on the platform with the following information: owner, resources (CPU / RAM / storage), status, accessible agents.

<figure><img src="https://4159280578-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMHNFH6aA4j5ucH4XFBXy%2Fuploads%2Fgit-blob-b356310dd0f6d82e73d3edb3067ef36a1a0fd54a%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

## Manage the lifecycle of DevSpaces

Start or stop DevSpaces to optimize cluster resource usage.

### Start a DevSpace

* Find the DevSpace in the “Stopped” state in the list.
* Click the <i class="fa-play">:play:</i> Start button.
* The status badge changes to “Deployed” after a few seconds.

### Stop a DevSpace

* Find the DevSpace in the “Running” state in the list.
* Click the <i class="fa-stop">:stop:</i> Stop.

{% hint style="success" %}
The data in /home/cleyrop remains preserved. Only the runtime is stopped.
{% endhint %}

### Delete a DevSpace

Platform Managers can delete any DevSpace from the administration view.

* Find the DevSpace in the list.
* Click **Delete**.
* Confirm the deletion.

{% hint style="warning" %}
Deletion is irreversible. All data in /home/cleyrop is permanently lost.
{% endhint %}

## Impact of user management

Understand the consequences of deleting or deactivating a user on their DevSpace.

### Deleting a user

When a user is deleted from the platform, their DevSpace is automatically deleted.

* The DevSpace and its persistent storage are permanently erased.
* All of the user's data in /home/cleyrop is lost.
* This action is irreversible.

### Deactivating a user

When a user is deactivated (without being deleted), their DevSpace is automatically stopped.

* The DevSpace changes to the “Stopped” state if it was running.
* The data in /home/cleyrop is preserved.
* If the user is reactivated, they can restart their DevSpace and retrieve their data.
