# Configure Auto-reboot

Configure hosts to be rebooted automatically if the following occurs:

* **EC2 Status Check** - Applicable for Docker Native and EKS Nodes. The Host is rebooted in the specified interval when a `StatusCheck` fault is identified.
* **Kubernetes (K8s) Nodes are disconnected:** Applicable for EKS Nodes only. The Host is rebooted in the specified interval when a `Host Disconnected` fault is identified.

You can configure host Auto Reboot features for a particular Tenant and for a Host.

{% hint style="warning" %}
When you configure an Auto Reboot feature for both Tenant *and* Host, the Host level configuration takes precedence over the configuration at the Tenant level.
{% endhint %}

## Configuring Auto Reboot per Tenant <a href="#configuring-auto-reboot-per-tenant" id="configuring-auto-reboot-per-tenant"></a>

Use the following procedures to configure Auto Reboot at the Tenant level.

### Configuring Auto Reboot for EC2 Status Check per Tenant <a href="#configuring-auto-reboot-for-ec2-status-check-per-tenant" id="configuring-auto-reboot-for-ec2-status-check-per-tenant"></a>

Configure the Auto Reboot feature at the Tenant for Docker Native and EKS Node-based Hosts, to reboot when a `StatusCheck` fault is identified.

1. In the DuploCloud Portal, navigate to **Administrator** -> **Tenant**. The **Tenant** page displays.
2. Select a Tenant with access to the Host for which you want to configure Auto Reboot.
3. Click the **Settings** tab.
4. Click **Add**. The **Add Tenant Feature** pane displays.<br>

   <div align="left"><figure><img src="https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2F0bZGElNdvPsQrwSYNZ23%2FAR100.png?alt=media&#x26;token=eff8d69e-231b-458d-bf72-4690006952fd" alt=""><figcaption><p><strong>Add Tenant Feature</strong> pane with <strong>Enable Auto Reboot EC2 status check</strong> feature for a <strong>5-</strong>minute interval.</p></figcaption></figure></div>
5. From the **Select Feature** list box, select **Enable Auto Reboot EC2 status check**.
6. In the field below the **Select Feature** list box, enter the time interval in minutes after which the host automatically reboots after a `StatusCheck` fault is identified. Enter zero (**0**) to disable this configuration.
7. Click **Add**. The configuration is displayed in the **Settings** tab.<br>

   <div align="left"><figure><img src="https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2F0C3MgJ6n4vir7b8D1lbe%2FAR101.png?alt=media&#x26;token=cf133b90-7713-4add-8257-8126e1adeb5c" alt=""><figcaption><p>Tenant <strong>Settings</strong> tab displaying <strong>Enable Auto Reboot EC2 status check</strong> configuration <strong>Value</strong> of <strong>5</strong> minutes</p></figcaption></figure></div>

#### Removing or Editing an Auto Reboot Tenant configuration

To remove or edit an Auto Reboot Tenant-level configuration, click the (<img src="https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2FLioQS9G5plotRTmoTV88%2FKabab_three_Vertical_dots.png?alt=media&#x26;token=916f86d6-9a94-452f-b7e2-3830d208a28d" alt="" data-size="line">) icon and select **Edit Setting** or **Remove Setting**.

### Configuring Auto Reboot for Kubernetes (K8s) Node disconnection per Tenant <a href="#configuring-auto-reboot-for-kubernetes-k8s-node-disconnection-per-tenant" id="configuring-auto-reboot-for-kubernetes-k8s-node-disconnection-per-tenant"></a>

Configure the Auto Reboot feature at the Tenant for EKS node-based Hosts, to reboot when a `Host Disconnected` fault is identified.

1. In the DuploCloud Portal, navigate to **Administrator** -> **Tenant**. The **Tenant** page displays.
2. Select a Tenant with access to the Host for which you want to configure Auto Reboot.
3. Click the **Settings** tab.
4. Click **Add**. The **Add Tenant Feature** pane displays.<br>

   <div align="left"><figure><img src="https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2FnVMHNBsQYthNQacZSycN%2FAR102.png?alt=media&#x26;token=1182e877-97f0-4772-8703-4f4b5ed3f113" alt=""><figcaption><p><strong>Add Tenant Feature</strong> pane with <strong>Enable Auto Reboot K8s Nodes if disconnected</strong> feature for a <strong>3-minute</strong> interval<br></p></figcaption></figure></div>
5. From the **Select Feature** list box, select **Enable Auto Reboot K8s Nodes if disconnected**.
6. In the field below the **Select Feature** list box, enter the time interval in minutes after which the host automatically reboots when a `Host Disconnected` fault is identified. Enter zero (**0**) to disable this configuration.
7. Click **Add**. The configuration is displayed in the **Settings** tab.

<div align="left"><figure><img src="https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2FW5vkhEnUeoAQDEt6XlUs%2FAR103.png?alt=media&#x26;token=94b7364b-c92c-48a1-ad62-fd2515c6570b" alt=""><figcaption><p>Tenant <strong>Settings</strong> tab displaying <strong>Enable Auto Reboot K8s Nodes if disconnected</strong> configuration <strong>Value</strong> of <strong>3</strong> minutes</p></figcaption></figure></div>

## Configuring Auto Reboot per Host <a href="#configuring-auto-reboot-per-host" id="configuring-auto-reboot-per-host"></a>

Use the following procedures to configure Auto Reboot at the Host level.

### Configuring Auto Reboot for EC2 Status Check per Host <a href="#configuring-auto-reboot-for-ec2-status-check-per-host" id="configuring-auto-reboot-for-ec2-status-check-per-host"></a>

Configure the Auto Reboot feature on the Host level for Docker Native and EKS Node-based Hosts, to reboot when a `StatusCheck` fault is identified.

1. In the DuploCloud Portal, navigate to **Cloud Services** -> **Hosts**. The **Hosts** page displays.
2. Click the appropriate tab for your Host type and select the Host for which you want to configure Auto Reboot.
3. Click the **Actions** menu and select **Host Settings** -> **Update Auto Reboot Status Check**. The **Set Auto Reboot Status Check Time** pane displays.​<br>

   <div align="left"><figure><img src="https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2FsNjlUy6pm9snLyqLm5yB%2FAR108.png?alt=media&#x26;token=9e197c77-4fe7-475f-aa57-e4271867a4e7" alt=""><figcaption><p>Host <strong>Actions</strong> menu options <strong>Host Settings</strong> -> <strong>Update Auto Reboot Status Check</strong></p></figcaption></figure></div>
4. In the **Auto Reboot Status Check** field, enter the time interval in minutes after which the host automatically reboots after a `StatusCheck` fault is identified. Enter zero (**0**) to disable this configuration.<br>

   <div align="left"><figure><img src="https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2FBnhcWo5xY0HKLCa1vMJ8%2FAR106.png?alt=media&#x26;token=d1677572-88cb-44b2-b857-de3bf9788f6f" alt=""><figcaption><p><strong>Set Auto Reboot Status Check Time</strong> pane with <strong>Auto Reboot Status Check</strong> field</p></figcaption></figure></div>
5. Click **Set**.

### Configuring Auto Reboot for Kubernetes Node disconnection per Host <a href="#configuring-auto-reboot-for-kubernetes-node-disconnection-per-host" id="configuring-auto-reboot-for-kubernetes-node-disconnection-per-host"></a>

Configure the Auto Reboot feature on the Host level for EKS node-based Hosts, to reboot when a `Host Disconnected` fault is identified.

1. In the DuploCloud Portal, navigate to **Cloud Services** -> **Hosts**. The **Hosts** page displays.
2. Click the appropriate tab for your Host type and select the Host for which you want to configure Auto Reboot.
3. Click the **Actions** menu and select **Host Settings** -> **Update Auto Reboot Disconnected**. The **Set Auto Reboot Status Check Time** pane displays.​<br>

   <div align="left"><figure><img src="https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2FQUBUYWgd8ejN7wgizWqj%2FAR112.png?alt=media&#x26;token=98fe46a2-a5b1-429f-91d4-1d6a33e905cf" alt=""><figcaption><p>Host <strong>Actions</strong> menu options <strong>Host Settings</strong> -> <strong>Update Auto Reboot Disconnected</strong></p></figcaption></figure></div>
4. In the **Auto Reboot Time** field, enter the time interval in minutes after which the host automatically reboots when a `Host Disconnected` fault is identified. Enter zero (**0**) to disable this configuration.<br>

   <div align="left"><figure><img src="https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2F46IJbT09FKUitDsxApR4%2FAR107.png?alt=media&#x26;token=9b88e8b5-5894-4328-9fb3-21a72c639924" alt=""><figcaption><p><strong>Set Auto Reboot Status Check Time</strong> pane with <strong>Auto Reboot Time</strong> field</p></figcaption></figure></div>
5. Click **Set**.


---

# 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.duplocloud.com/docs/automation-platform/overview/use-cases/hosts-vms/configure-auto-reboot.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.
