---
schema_version: "1"
id: 34c5ea3071174ae9405da340b8b7b96419947fd4b53b4a49a44da9e3b9fbcdff
title: Upgrading and Migrating Amazon EC2 Connector to Version 3.x
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/amazon-ec2-connector/latest/amazon-ec2-connector-upgrade-migrate.md
canonical_url: https://docs.mulesoft.com/amazon-ec2-connector/latest/amazon-ec2-connector-upgrade-migrate
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 002f46a3c05435ae64a0b94881ea8d21461af5dfd6aec8fe4ed77328125f16d7
description: MuleSoft Documentation Site
release: "3.0"
latest: true
---
---
product: Amazon EC2 Connector
version: 3.0
is-latest-version: true
---

# Upgrading and Migrating Amazon EC2 Connector to Version 3.x

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

Upgrade Anypoint Connector for Amazon EC2 (Amazon EC2 Connector) to version 3.x.

## Supported Upgrade Paths

<table><colgroup><col> <col></colgroup><thead><tr><th>From Version</th><th>To Version</th></tr></thead><tbody><tr><td><div><div><p>2.x</p></div></div></td><td><div><div><p>3.x</p></div></div></td></tr></tbody></table>

## Changes in This Release

- The AWS SDK version is upgraded to v2.x.x. The response is now aligned with the new SDK
  specifications.

## Requirements

Ensure your system meets the following compatibility requirements before you perform the upgrade:

<table><colgroup><col> <col></colgroup><thead><tr><th>Application/Service</th><th>Version</th></tr></thead><tbody><tr><td><p>Mule runtime</p></td><td><p>4.2.0 and later</p></td></tr><tr><td><p>AWS SDK for Java</p></td><td><p>v2.35.3</p></td></tr><tr><td><p>OpenJDK</p></td><td><p>8, 11, and 17</p></td></tr></tbody></table>

## Upgrade Prerequisites

Before you perform the upgrade, create a backup of your files, data, and configuration in case you
need to restore to the previous version.

## Upgrade Steps

Follow these steps to perform the upgrade to version 3.x:

1.  In Anypoint Studio, create a Mule project.

2.  In the **Mule Palette** view, click **Search in Exchange**.

3.  In **Add Dependencies to Project**, enter `amazon ec2` in the search field.

4.  In **Available modules**, select **Amazon EC2 Connector** and click **Add**.

5.  Click **Finish**.

6.  Verify that the Amazon EC2 Connector dependency version is 3.x in the `pom.xml` file in the Mule
    project.

Studio upgrades the connector automatically.

## Post-Upgrade Steps

After you install the latest version of the connector, verify that your error handling is updated to
work with the minor changes in error codes in this version of the connector.

## Verify the Upgrade

After you install the latest version of the connector, follow these steps to verify the upgrade:

1.  In Studio, verify that there are no errors in the **Problems** or **Console** views.

2.  Verify that there are no problems in the project `pom.xml` file.

3.  Test the connection to verify that the operations work.

## Revert the Upgrade

If it is necessary to revert to the previous version of Amazon EC2 Connector, change the Amazon EC2
Connector dependency version in the project’s `pom.xml` file to the previous version.

You must update the project’s `pom.xml` file in Anypoint Studio.

## See Also

- [Introduction to Anypoint Connectors](https://docs.mulesoft.com/connectors/introduction/introduction-to-anypoint-connectors)

- [Salesforce Help](https://help.salesforce.com)
