# Server Deployments

The **Autosky deployment** feature allows new system versions to be made available to instances in a controlled and traceable way.

Deployments are performed from the **preparation server**, which serves as the base to generate the new version that will be applied to the environment. For this reason, this feature is only available for **Scaling** environments.

In **Servers**, the **Deployments** page centralizes:

* Creation of new server versions
* Configuration of deployment methods
* Full tracking of executed deployments
* Detailed visualization of each process step
* Deployment scheduling

***

#### Deploy new version

This is the main area to start a new deployment, allowing immediate or scheduled deployments of a new system version. The section includes the title **“Deploy new version”**, a description explaining execution options, and an informational notice stating that deployment models have been unified under the **Optimized** option.

<figure><img src="/files/sotzL5ArB7QHWK9nRubJ" alt=""><figcaption></figcaption></figure>

***

#### Deployment mode

Users can select:

* **Optimized (default)**
* **Schedule**

***

### Optimized

The **optimized deployment** is the standard and unified model in **Autosky**.

It centralizes the entire deployment process into a single automated flow, ensuring simplicity, control, and traceability.

**What is performed automatically**

During deployment, the system performs the following steps:

1. Initial validation
2. Stop preparation server (when configured)
3. Image creation
4. Model creation
5. Instance replacement (when applicable)
6. Finalization

**Screen elements**

* **Notification fields**
* **Additional options**
* **Deployment history**

***

**How to deploy a new version**

1. **Select the Optimized mode**

<figure><img src="/files/8Qg1fPZ2YdwDC2mwtuE4" alt=""><figcaption></figcaption></figure>

2. **Configure the desired options**

* **Lock instances**\
  Prevents changes during the deployment process
* **Stop preparation server when creating image**\
  Ensures greater consistency when generating the new version

<figure><img src="/files/22UxqckV45SEPCGrmAiy" alt=""><figcaption></figcaption></figure>

3. **Enter notification emails (optional)**

Allows you to specify email addresses that will receive deployment notifications.

<figure><img src="/files/PqHaPTjAdvaeAowk8XYo" alt=""><figcaption></figcaption></figure>

4. **Click publish**

<figure><img src="/files/82L4rD8NaVBGGQcYUCdk" alt=""><figcaption></figcaption></figure>

5. **Track progress through the page history**

***

#### Deployment history

This section displays all completed deployments.

**History table**

Each record shows:

* **Execution date and time**
* **Process steps**
* **Time per step**
* **Deployment status**
* **Generated version**

Status is displayed visually, making it easier to identify successful executions.

<figure><img src="/files/3Xngzbj1R9Ladqz0h9Mk" alt=""><figcaption></figcaption></figure>

**Deployment details**

Clicking a deployment in the history opens a modal with full execution details.

<figure><img src="/files/uBsLZ3s9JZmaxH5O7TBM" alt=""><figcaption></figcaption></figure>

**General summary**

* Deployment status
* Execution owner
* Model version
* Start and end date/time
* Total duration

***

**Detailed steps**

Each step of the process can be expanded to view more information.

<figure><img src="/files/drg4zGrXMGEfepHBunjy" alt=""><figcaption></figcaption></figure>

**Initial validation**

* Preliminary process checks
* May include actions such as retrieving server information

<figure><img src="/files/y0aMBzCBePh3wlAldyD2" alt=""><figcaption></figcaption></figure>

***

**Stop preparation server**

* Indicates whether the server was stopped
* May appear as not applicable

<figure><img src="/files/02tC2AdAs6pLH9J566go" alt=""><figcaption></figcaption></figure>

***

**Create image**

* Process of generating the new image
* Includes request and tracking of the creation

<figure><img src="/files/nFUsBsXr54wAzAdYHg0v" alt=""><figcaption></figcaption></figure>

***

**Create models**

Displays actions such as:

* Identifying compatible resources
* Creating the main model
* Creating a backup model
* Removing old models

<figure><img src="/files/Xrq87WvdcqeKmTCF6oyx" alt=""><figcaption></figcaption></figure>

***

**Replace instances**

* Shows whether instances were updated to the new version
* May not occur depending on the scenario

<figure><img src="/files/2XObyf34gVcQ4zzdV70f" alt=""><figcaption></figcaption></figure>

***

**Finalization**

* Shows how the deployment process was completed

<figure><img src="/files/RfhN88NBUT0KICguTJ83" alt=""><figcaption></figcaption></figure>

***

### Deployment scheduling

It is also possible to schedule a deployment for a specific time.

**How to schedule**

1. Select the Schedule option
2. Set the desired date and time
3. Click Schedule
4. Confirm the action

After scheduling, execution will occur automatically at the defined time.

<figure><img src="/files/WjQIMaDxXkKfg24u2WFT" alt=""><figcaption></figcaption></figure>

**Scheduled list**

After scheduling, it will appear in the history along with all other deployments.

<figure><img src="/files/eXkkkcR1tFKduSxHQPxP" 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.skyone.cloud/english/cloud-computer/skyone-autosky/skyone-autosky-platform/environments/scaling-environment/scaling-environment-servers/server-deployments.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.
