PIEX Amazon AWS Masternode Setup Guide

in #piex7 years ago (edited)

This guide assumes you already have a PIEX Masternode setup on a personal computer. You can keep better control of your PIEX in your main wallet and then create a new wallet on Amazon AWS that you can leave running for a cheap, hassle-free solution. I would like to thank Twitchy from the PIEX Discord group for the information. I just tidied it up and made it an easy to follow guide. Hope it helps!

a. Go to Amazon AWS and create a free account, don't pay for support. https://portal.aws.amazon.com/gp/aws/developer/registration/index.html

b. Create a default EC2 Windows instance. No need to change any of the settings, just launch it. You'll have to download a .pem file to continue. Keep that handy to decrypt it for the password.

EC2-1.JPG

EC2-2.JPG

EC2-3.JPG

c. You should be logged in to your new instance now. Click "Security Group" on the left and make sure your inbound rule is set to Port Range 3389 and RDP.

security groups.JPG

d. Click "Connect" then "Get Password". Upload your .pem file and Decrypt Password. Note the username and password. You'll need these soon to remote login to your AWS Instance to setup your AWS wallet. Close the Connect box.

connect-get-password-1.JPG

connect-get-password-2.JPG

e. In the description box at the bottom of the page, in the right column, you will see something like "IPv4 Public IP ###.###.#.#" That IP address is your AWS location. You will need this and your login from above to remote access your AWS instance and setup your AWS PIEX Wallet.

IP address.JPG

f. Click the Windows button and type Remote Desktop Connection. Click it and enter your IP address you got in Step 5. Now use your Login from Step 4. Make sure to allow the security certificate notice that may pop up right after login.

Remote1.JPG

Remote2.JPG

g. You are now logged in to your AWS Instance. Download Firefox because Explorer sucks. Download a .rar opener. Download and open the PIEX wallet .rar file from https://mega.nz/#!GhEmXTYI!G-6Qqf8YmVu7QSnP-D8V7LKr0OnaR_9eO4y8QYczafM Install the PIEX wallet, no need to password protect it since you have complete control of your coins in your main wallet.

h. Since you already have a Masternode setup it's mostly copy and paste now. Open your AWS PIEX wallet, click "Tools", then click "Open Wallet Config File". Paste this in and change all of the "VPSIPv4" to your IP address you got in Step 5, change "privkey" to your Masternode Private Key you got when initially creating your Masternode in your main wallet:

rpcuser=anyuser
rpcpassword=anypassword
rpcallowip=127.0.0.1
listen=0
server=1
daemon=1
logtimestamps=1
maxconnections=256
masternode=1
externalip=VPSIPv4
bind=VPSIPV4
masternodeaddr=VPSIPV4:53472
masternodeprivkey= privkey

i. Now open your main wallet that contains your coins and open the wallet config file like you just did on your AWS. Replace whatever is in there with this:

rpcuser=anyuser
rpcpassword=anypassword
rpcallowip=127.0.0.1
listen=0
server=1
daemon=1
logtimestamps=1
maxconnections=256

j. Close your main wallet and your AWS wallet. Open your main wallet and let it fully sync. Now open your AWS wallet and let it fully sync. Once both are re-opened and synced start the Masternode Alias in your Main wallet. Make sure to note the public key assigned to your Masternode. Wait 3 minutes then click "Tools" on your AWS wallet, then "Debug Console". Now type in "masternode debug", you should see "Masternode Started Successfully". Now type "masternode status". You should see something like this:

"txhash" : "###################################################",
"outputidx" : 1,
"netaddr" : "192.168.1.16:53472",
"addr" : "ADDRESS FROM YOUR MASTERNODE ON MAIN WALLET",
"status" : 4,
"message" : "Masternode successfully started"

You can now close your Main wallet and the MN will continue to run. Repeat Step j within your AWS wallet to confirm the MN is still running. Now minimize(DON'T CLOSE) your AWS wallet and close out of your AWS Instance.

Anytime you open your Main wallet you will need to restart your Masternode Alias, no need to bother with the AWS wallet.

That's it, congratulations! Grab a beer and relax!

Sort:  

Thank you for this but firefox sucks too, not as bad as explorer though.

Thank you for putting this out!

Thank you for putting this out!

Hello @sdotwinter, upv0t3
This is a free service for new steemit users, to support them and motivate them to continue generating valuable content for the community.
<3 This is a heart, or an ice cream, you choose.

:)


R4ND0M:
1770 8371 1936 8670
8766 5618 6297 8212
7558 5634 1556 9976
1687 9663 9427 3474

Amazing tutorial mate!

Congratulations @sdotwinter! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 2 years!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Do not miss the last post from @steemitboard:

The Steem community has lost an epic member! Farewell @woflhart!
SteemitBoard - Witness Update
Do not miss the coming Rocky Mountain Steem Meetup and get a new community badge!
Vote for @Steemitboard as a witness to get one more award and increased upvotes!

Coin Marketplace

STEEM 0.15
TRX 0.16
JST 0.028
BTC 68588.91
ETH 2458.42
USDT 1.00
SBD 2.35