# GP3 Storage Class

GP3, the new storage class from AWS, offers significant performance benefits as well as cost savings when you set it as your default storage class. By using GP3 storage classes instead of GP2 storage classes, you get a baseline of 3000 IOPS, without any additional fees. You can also configure workloads that used a gp2 volume of up to 1000 GiB in capacity with a gp3 volume.

If the volume size is greater than 1000 GiB, check the actual IOPS [driven by the workload](https://aws.amazon.com/premiumsupport/knowledge-center/ebs-cloudwatch-metrics-throughput-iops/) and choose a corresponding value.

{% hint style="info" %}
For information about migrating your type GP2 Storage Classes to GP3, see this [AWS blog](https://aws.amazon.com/blogs/containers/migrating-amazon-eks-clusters-from-gp2-to-gp3-ebs-volumes/).
{% endhint %}

## Setting GP3 as your default Storage Class

To set GP3 as your default Storage Class for future allocations, you must add a custom setting in your Infrastructure.

1. In the DuploCloud Portal, navigate to **Administrator** -> **Infrastructure**. The **Infrastructure** page displays.
2. From the **Name** column, select the Infrastructure to which you want to add a custom setting (for the default G3 storage class).
3. Click the **Settings** tab.
4. Click **Add**. The **Infra - Set Custom Data** pane displays.
5. In the **Setting Name** field, select **Other** from the list box.
6. In the **Custom Setting** field, select **DefaultK8sStorageClass** from the list box.
7. in the **Setting Value** field, enter **gp3**.
8. Click **Set**.

<div align="left"><figure><img src="/files/IRXYlmh96SdXTeRDkBUx" alt=""><figcaption><p><strong>Infra - Set Custom Data</strong> pane with <strong>gp3</strong> selected for <strong>DefaultK8sStorageClass</strong></p></figcaption></figure></div>


---

# 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/aws-services/storage/gp3-storage-class.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.
