# Getting Started With AWS

## Create an AWS Account

AWS (Amazon Cloud) account creation Prerequisites:

* Credit card
* Landline or mobile phone
* Navigate to the [<mark style="color:blue;">AWS official website</mark>](https://aws.amazon.com/) and click the “Sign Up” button.
* Fill in all registration information including your personal information and credit card details.
* Next, the system will call to confirm your phone number. Enter the 4-digit number (ending with #) displayed on the computer screen.
* If the account was successfully created, your card will be charged for $1 as part of the verification process (this will be refunded later).

## Create a Suitable EC2 Virtual Machine

EC2 virtual machine set up

**1. Create an AWS EC2 instance**

Log in to the [<mark style="color:blue;">EC2 console</mark>](https://console.aws.amazon.com/ec2/):

Select the location of the machine in the upper right corner:

![](/files/qDHAvfO184UKBSYVM2wG)

Find “Instances” in the menu on the left side of the page

![](/files/T1IvxTftG3a6OuLYONWG)

Then click on the “Launch Instance” button:

![](/files/WNeWcOTCoaS01yZo7FqI)

Choose an Amazon system image: Ubuntu 22.04 is recommended

![](/files/9ILf5xfXGiOFC0NtRhDE)

Select the instance type. We recommend the m4.large configuration.

![](/files/L06zPt1ixQkKgONKDhJe)

Click the “Next: Configure Instance Details” button and input the following default configuration:

![](/files/tQ6BBjR3nAJkZUyAT09L)

Click the “Next: Add Storage” button

The recommended setting is 80GB

![](/files/A2OBxOfIMXRk6W4GVcx3)

Click the “Next: Add Tags” button to add tags for easy recall:

![](/files/LM6Q2n17wPPtHcLXqO6I)

Click the “Next: Configure Security Group” button

Add firewall rule and then click the “Review and Launch” button to verify the instance:

![](/files/2bYLt0lJ4ikSiELDTDSJ)

Click the “Launch” button to launch the instance

![](/files/uZekVpfdYaxtQZXGgfIx)

Create a key, download the key pair and keep it in a safe place. You will use this key when logging in with SSH.

![](/files/DkoH4tvcnAHvgDqr6mFT)

That completes the EC2 instance creation.

## SSH login to AWS EC2

To use the SSH login method under Linux, set the key file permissions with the following command (make sure to replace `your_keyfile.pem` with whatever you named your key file):

```
chmod 400 your_keyfile.pem  
```

SSH login command (make sure to replace `your_EC2_ip_address` with your EC2 instance's IPv4 Public IP address:

```
ssh -i your_keyfile.pem ubuntu@your_EC2_ip_address
```

Windows users should use PuTTY to SSH in, see Amazon's [instructions](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/putty.html).

Now you are finished. If you would like set up a validator node, please follow the instructions here.

## How to Delete an EC2 instance

First terminate the instance:

![](/files/4rmXc6GhvgwdljfasbdA)

Confirm termination:

![](/files/SQRkmYO6wY9snH6O6nvB)

After termination, check that the volume has been deleted to avoid any costs. In addition, the instance will remain in the list for a while after termination, and will generally disappear within half an hour.


---

# 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.wanchain.org/pos-validator-nodes/getting-started-with-aws.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.
