> For the complete documentation index, see [llms.txt](https://launchnodes.gitbook.io/ethereum-staking-user-interface-instructions/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://launchnodes.gitbook.io/ethereum-staking-user-interface-instructions/introduction/migrating-from-amazon-linux-2-to-amazon-linux-2023.md).

# Migrating from Amazon Linux 2 to Amazon Linux 2023

### Pre-requisites

Before starting, make sure you have the following saved securely offline:

* Validator key files (keystore and deposit data files)
* Validator key password
* UI login password

Then:

1. Go to your Staking UI dashboard
2. Navigate to **Validator Management → Validator Stop/Start**
3. Click **Stop**

{% embed url="<https://drive.google.com/file/d/1frYF0tBdymAf1Qz_B3UGVwDwUBx2ksML/view?usp=sharing>" %}

### Check your validator&#x20;

1. Open your UI and navigate to **Account list** under **Wallet & Accounts**
2. Under **Actions,** click on **View on Beaconcha.in Explorer**
3. Wait until your validator has missed at least **2 attestations** and is offline&#x20;

{% hint style="warning" %}
Do NOT proceed with the next steps, until your validator is offline and missing attestations.
{% endhint %}

{% embed url="<https://drive.google.com/file/d/1ImdKeO-E5cyZb8SFiU9OM0JCs_im1AJQ/view?usp=sharing>" %}

### Delete Old Infrastructure

1. Go to **EC2 Console → Instances** and select your old instance
2. Click **Actions → Instance Settings → Change Termination Protection**, uncheck **Enable** and click **Save**
3. Go to **CloudFormation**, select your old stack and click **Delete**
4. Wait until the stack is fully deleted

{% embed url="<https://drive.google.com/file/d/1-TmeOLEo0uhBt9m8wor3CQhAknpxKPp9/view?usp=drive_link>" %}

### Create new infrastructure

1. Navigate to AWS Console (click on your account name in the top right corner and select **Your AWS Console**) and look up **CloudFormation.** Alternatively, **click** [**here**](https://console.aws.amazon.com/cloudformation/) to go directly to CloudFormation.
2. In CloudFormation, click **Create Stack** and insert the follow link in the Amazon S3 URL field. Click **Next**

```
https://stakingui-test.s3.us-west-2.amazonaws.com/StakingUICFT.json
```

3. On the Specify stack details page:
   1. Type in the Stack name (it can be any name)
   2. Under Instance type select t2.small (this instance can run up to 2 nodes)
   3. Under CustomIP type in your current IP address. If you cannot find it, you can look it up online by searching for *my IP address.* Click **Next**
   4. Enter your email ID for SNS topic subscription to get alerts.
   5. Create a One-Time-Passcode. It will be required on first login. It must be 8-32 characters, only letters and numbers.

{% hint style="info" %}
You will receive an email with the subject **AWS Notification - Subscription Confirmation** to the email ID that you have provided for SNS topic subscriptio&#x6E;**.** Click on the <mark style="color:green;">**confirm subscription**</mark> link.&#x20;
{% endhint %}

4. Skip the next page and click **Next**
5. Scroll down the next page and tick the **'I acknowledge...'** box. Click **Submit**
6. Your AWS instance is now being deployed. Wait until the status of your instance on the left hand side changes from CREATE\_IN\_PROGRESS to CREATE\_COMPLETE. Whilst you wait, click on the **refresh button** a few times to update the status. Please note that you do not have to wait for all processes to be completed in the right-hand side Events window, Just the left-hand side.&#x20;
7. Now, go to **Outputs** tab and click on the **IP link** to launch Staking UI on your instance

{% hint style="info" %}
**Note:** Stack creation takes 5-10mins atleast. Please wait until your stack is entirely created.
{% endhint %}

### Staking UI

1. Open the IP link from the Outputs tab in your browser. You may see an SSL warning — this is expected. Close the popup and proceed

   > ℹ️ **SSL Notice:** The Staking UI is hosted on your private AWS infrastructure and is only accessible to you. The SSL warning appears because browsers flag certificates used with IP addresses rather than domain names. Your setup is fully secure.

2. Click **Start the node set up process**

3. On the **Register** screen, enter your **One Time Password**, set a new **Password**, confirm it and click **Create Access Credentials**

4. You will be redirected to the **Login** screen. Enter your new password and click **Submit**

5. After logging in, click **Start the node setup process** again

6. Click **I already have validator keys**, check the acknowledgement box and click **Continue**

7. Click **Import Keys**, upload your keystore file and click **Continue**

8. Create a new **Validator Node Wallet Password.**

9. Enter your **Validator Key Password** and click **Continue.**

10. Enter your fee recepient address and click **Continue.**

11. Click **Start Validator** and wait for the node to spin up.

12. Go to UI dashboard and navigate to **Account list** under **Wallet & Accounts**

13. Under **Actions,** click on **View on Beaconcha.in Explorer**

{% hint style="info" %}
Make sure that your validator is back online and attesting.
{% endhint %}

{% hint style="info" %}
Please make sure you save following carefully while accessing the new UI.

* Wallet password,
* UI login password \
  (Please note that if you lose the password ,you will have rebuild the UI from the beginning after deletion of existing resources to make sure the validator is offline before rebuilding the UI
  {% endhint %}

{% embed url="<https://drive.google.com/file/d/1jEcuYxNTkxoCkQz1HmrB4Xkfpm-uqJsl/view?usp=sharing>" %}

{% hint style="success" %}
Your migration is complete. Your validator is now running on Amazon Linux 2023.
{% endhint %}
