Amazon Web Services (AWS)

Set Up a VPS on Amazon Web Services (AWS) and Install Ubuntu for SendingNetwork Testnet Mining

In this tutorial, we will walk you through setting up a Virtual Private Server (VPS) on Amazon Web Services (AWS), installing Ubuntu, and running a script that boosts up our node with a few commands. Do not worry if you have no technical background; we will keep things simple and straightforward.

Step 1: Create an Amazon Web Services

  1. Click on the "Create a Free Account" button.

  2. Follow the instructions to create your AWS account. You need to provide billing information.

Please note that AWS offers a one-year free trial, but the configurations available may not meet our hardware requirements.

Step 2: Set Up a Virtual Private Server (VPS)

  1. Once logged in, click on left sidebar of the home page, and click on "All services".

  2. Then, you will see the list of all the services. Click on "EC2" to enter EC2 dashboard.

  3. Here, you could see the statistics of your resources. Click on "Launch Instance", and begin to set up your VPS.

  4. Create a name for your instance.

  5. In the "Application and OS images" section, choose Ubuntu server.

  6. Then, in the "Instance type" section, choose one instance which you think is cost-effective. Please note that 4vCPU and 4GB for Memory are the minimum requirement.

  7. Next, in the "Key pair" section, click on "Create new key pair" if you do not have key pair before.

  8. Name your key pair. Then, you could choose an RSA key pair saved in the .pem file. When you click on "Create key pair", the key pair file will be downloaded automatically. Make sure you save this file in a secure and accessible location, and this file will be used to access your server in the future.

  9. In the "Configure storage" section, please set up 200 GB of storage.

  10. Finally, click on "Launch instance".

  11. When you see the following page. Congratulations! Your instance has been set up successfully.

Step 3: Configure the firewall

  1. Go back to the instance list, click on the "instance ID" of the instance you just created.

  2. After you enter the detailed information of your instance, you could scroll down, click on "Security" tab, and click on "Security groups ID" to enter the page of security groups.

  3. After you enter the page of the specific Security Groups, click on "Edit inbound rules".

  4. Click on "Add rule", and it will add one rule at a time. Four ports need to be opened, so you need to add four rules.

    1. In the "Type" section, choose "Custom TCP" for each rule.

    2. In the "Port range" section, choose "9085, 15858, 9702, 2112" successively.

    3. In the "Source" section, choose "Anywhere-IPv4" for each rule.

  5. Click on "Save rules", and you will successfully configure the firewall.

Step 4: Access Your VPS

  1. Go back to the instance list, select the instance you just created, and click on "connect" button. You will enter the "Connect to instance" page.

  2. Click on "Connect" button in this page and wait for several seconds.

  3. You are now connected to your VPS!

Conclusion

That's it! You've successfully set up a VPS on Amazon Web Services platform, installed Ubuntu server with necessary firewall configuration.

Should you encounter any issues or have questions, don't hesitate to seek support from the SendingNetwork community.

Last updated