# Upgrading the EKS version

AWS frequently updates the EKS version based on new features that are available in the Kubernetes platform. DuploCloud automates this upgrade in the DuploCloud Portal.

{% hint style="warning" %}
**IMPORTANT: An EKS version upgrade can cause downtime to your application depending on the number of replicas you have configured for your services. Schedule this upgrade outside of your business hours to minimize disruption.**
{% endhint %}

## About the upgrade process

DuploCloud notifies users when an upgrade is planned. The upgrade process follows these steps:

1. A new EKS version is released.
2. DuploCloud adds support for the new EKS version.
3. DuploCloud tests all changes and new features thoroughly.
4. DuploCloud rolls out support for the new EKS version in a platform release.
5. The user updates the EKS version.

Updating the EKS version:

* Updates the EKS Control Plane to the latest version.
* Updates all add-ons and components.
* Relaunches all Hosts to deploy the latest version on all nodes.

After the upgrade process completes successfully, you can assign allocation tags to Hosts.

## Starting the upgrade

### Upgrading the EKS version

1. Click **Administrator** -> **Infrastructure.**
2. Select the Infrastructure that you want to upgrade to the latest EKS version.
3. Select the **EKS** tab. If an upgrade is available for the Infrastructure, an **Upgrade** link appears in the **Value** column.
4. Click the **Upgrade** link. The **Upgrade EKS Cluster** pane displays.

<div align="left"><figure><img src="https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2FYWynibGwBiDIxIbwIe9N%2Fscreenshot-nimbusweb.me-2024.03.04-15_02_49.png?alt=media&#x26;token=240631c3-dad5-452d-b6ea-0ade7fa67c3c" alt=""><figcaption><p>The <strong>Upgrade EKS Cluster</strong> pane</p></figcaption></figure></div>

5. From the **Target Version** list box, select the version to which you want to upgrade.
6. From the **Host Upgrade Action**, select the method by which you want to upgrade hosts.
7. Click **Start**. The upgrade process begins.

### Updating EKS Components (Add-ons)

1. Click **Administrator** -> **Infrastructure.**
2. Select the Infrastructure with components you want to upgrade.
3. Select the **EKS** tab. If an upgrade is available for the Infrastructure components, an **Upgrade Components** link appears in the **Value** column.<br>

   <figure><img src="https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2Fqx14o1Olh5jsl0etSPqn%2Fscreenshot-nimbusweb.me-2024.02.27-13_23_09.png?alt=media&#x26;token=0fd96890-d2c2-4a5d-8ed8-1bab9f655e58" alt=""><figcaption><p>EKS tab with component <strong>Upgrade</strong> available</p></figcaption></figure>
4. Click the **Upgrade** link. The **Upgrade EKS Cluster** **Components** pane displays.

<div align="left"><figure><img src="https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2F2g4KvNYwJRorwCH5nRfA%2Fimage%20(10).png?alt=media&#x26;token=52047e05-d937-4d43-96c9-ac885a85c038" alt=""><figcaption><p><strong>Upgrade EKS Cluster Components</strong> pane</p></figcaption></figure></div>

5. From the **Host Upgrade Action**, select the method by which you want to upgrade hosts.
6. Click **Start**. The upgrade process begins.

## Monitoring upgrades

The **EKS Upgrade Details** page displays that the upgrade is **In Progress**.

<figure><img src="https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2F8QNQ3LpV1AbLuHHspE1a%2FEKS%20upgrade.png?alt=media&#x26;token=4fcda81b-83fe-4fbe-b173-8c7aaed70f63" alt=""><figcaption><p><strong>EKS Upgrade Details</strong> page displaying upgrade <strong>In Progress</strong></p></figcaption></figure>

Find more details about the upgrade by selecting your Infrastructure from the **Infrastructure** page. Click the **EKS** tab, and then click **Show Details**.

<figure><img src="https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2FHWTuIazZ7TjYZ4tbwpj2%2FAWS_EKS_Upgrade3.png?alt=media&#x26;token=4a1e2e49-bfe5-45b2-9181-1a5e71ed5a7c" alt=""><figcaption><p><strong>Show Details</strong> button on the Infrastructure <strong>EKS</strong> tab with upgrade in progress</p></figcaption></figure>

## Upgrade completion

When you click **Show Details**, the **EKS Upgrade Details** page displays the progress of updates for all versions and Hosts. Green checkmarks indicate successful completion in the **Status** list. Red **X**s indicate **Action**s you must take to complete the upgrade process.

<figure><img src="https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2FUCy6OdrmvA0lPKfMJTW9%2FAWS_EKS_Upgrade4.png?alt=media&#x26;token=4c923df0-1e32-422a-8d44-1b2ef6a5089d" alt=""><figcaption><p><strong>EKS Upgrade Details</strong> window with <strong>Status</strong> list and <strong>Actions</strong> to be performed</p></figcaption></figure>

## Assign allocation tags

If any of your Hosts use allocation tags, you must assign allocation tags to the Hosts:

1. After your Hosts are online and available, navigate to **Cloud Services** -> **Hosts**.
2. Select the host group tab (**EC2**, **ASG**, etc.) on the **Hosts** screen.
3. Click the **Add** button.
4. Name the Host and provide other configuration details on the **Add Host** form.
5. Select **Advanced Options**.
6. Edit the **Allocation Tag** field.
7. Click **Create** and define your allocation tags.
8. Click **Add** to assign the allocation tags to the Host.

<figure><img src="https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2F7u7NfNUZOtNlTEHtC5bt%2Fscreenshot-nimbusweb.me-2024.02.18-12_29_01.png?alt=media&#x26;token=0c5bc9b8-6f28-481d-8872-d92d4cb78abb" alt=""><figcaption><p>Allocation tags in the <strong>Add Host</strong> screen</p></figcaption></figure>

For additional information about the EKS version upgrade process with DuploCloud, see the [AWS FAQs section on EKS version upgrades](https://docs.duplocloud.com/docs/automation-platform/aws-faq#eks-version-upgrade-faqs).
