# Restore VM backup in AWS

<span style="white-space: pre-wrap;">Here is guide to restore your </span>****finmars-platform-vm****<span style="white-space: pre-wrap;"> from an AWS Backup AMI. We skip the EBS volume step:</span>

1. ****Sign in and open AWS Backup****
    - <span style="white-space: pre-wrap;">Go to </span>`<span class="editor-theme-code">console.aws.amazon.com</span>`<span style="white-space: pre-wrap;"> and log in.</span>
    - <span style="white-space: pre-wrap;">In the top search box, type </span>****Backup****<span style="white-space: pre-wrap;"> and click </span>****AWS Backup****.
2. ****Go to your backup vault****
    - <span style="white-space: pre-wrap;">In the left menu, click </span>****Backup vaults****.
    - <span style="white-space: pre-wrap;">Click the vault you used for </span>****finmars-daily****<span style="white-space: pre-wrap;"> (often </span>****default****).
3. ****Find the right recovery point****
    - <span style="white-space: pre-wrap;">You’ll see a list of </span>****Recovery points****<span style="white-space: pre-wrap;"> (one per day).</span>
    - Pick the date you want to restore from.
4. ****Restore the EC2 instance (AMI)****
    1. <span style="white-space: pre-wrap;">Click the recovery point whose </span>****Resource type****<span style="white-space: pre-wrap;"> is </span>****Amazon EC2****.
    2. <span style="white-space: pre-wrap;">Click </span>****Actions → Restore****.
    3. <span style="white-space: pre-wrap;">For </span>****Restore as****<span style="white-space: pre-wrap;">, choose </span>****Amazon EC2****.
    4. <span style="white-space: pre-wrap;">Give the new instance a name, e.g. </span>****finmars-platform-vm-restored****.
    5. <span style="white-space: pre-wrap;">Pick the same </span>****Instance type****<span style="white-space: pre-wrap;"> (t3.xlarge).</span>
    6. <span style="white-space: pre-wrap;">Choose the same </span>****VPC****<span style="white-space: pre-wrap;"> and </span>****Subnet****.
    7. <span style="white-space: pre-wrap;">Enable </span>****Auto-assign Public IP****<span style="white-space: pre-wrap;"> if you want it.</span>
    8. <span style="white-space: pre-wrap;">Click </span>****Restore****.
5. ****Verify your restore****
    - <span style="white-space: pre-wrap;">In </span>****EC2 → Instances****<span style="white-space: pre-wrap;">, you’ll see </span>****finmars-platform-vm-restored****<span style="white-space: pre-wrap;"> launching.</span>
    - <span style="white-space: pre-wrap;">Wait until it shows </span>****running****<span style="white-space: pre-wrap;"> and </span>****2/2 checks passed****.
    - SSH into it to check your OS and settings.

🎉 You’ve now restored your server using its AMI!