AWS EC2 (VPS) Setup
Private RPC users prefer to run their software (bots or sniping tools) in a virtual server which has low latency to the RPC node.
You need a fast internet connection and low ping to utilize your software which use private Solana RPCs. Most users do not have low pings to the RPC nodes and have slow internet connection so they prefer using servers in datacenters.
AWS has one of the best network routing and they have a variety of server configurations which is what we want for optimal performance. Also pay to go option is quite good for beginners.
- Scroll down and select an instance type.
Minimum 16 vCPU and 32GB ram with 1 GB bandwith is suggested. You may prefer c5a.4xlarge or c5a.8xlarge depending on your budget.
- Change nothing in Network Settings and Configure Store and click "Launch Instance"
- Now your VPS is ready to run. Remote Desktop application is used to connect your VPS desktop. You will use Public IPv4 addresses to connect your remote desktop.
- Before connection, you need administrator password. Right click on your VPS and:
- A new window will pop-up. Browse your .pem key file and decrypt the hash. Now you have your administrator password. You will need it when you login your EC2 instance.
- Run Remote Desktop software and "add PC" not workspace. A pop-up will show up and enter your credentials: PC Name: Your Public IPv4 Address User Account: "Add user account" for first usage and faster connection.
- Add and connect. Congratulations. You successfully deployed your AWS EC2 Instance aka AWS VPS.
- To have a static IP, go to Network & Security -> Elastic IPs -> Allocate Elastic IP
- Change nothing and click "Allocate"
- A new window will show up. Click actions and select:
- Now a new window will show up to select the instance to be allocated:
- Select your newly created instance and Associate.
Congratulations, now you have got your static IP. Your IP address will not be changed until you release the Elastic IP.