Building your private NEO network on AWS (part 1)

Step 1: initiating an EC2 instance from AWS

Log into your AWS account, click on Services > EC2 > Launch Instance

choose the Amazon Linux 2 AMI

Select the t2.micro (free! if this is your first and only instance)

Click review and launch > launch! You will then be met with the following popup:

If this is your first instance, choose Create a new key pair from the drop down. Give the new key pair a name > Download Key Pair. Launch!

Step 2: Preparing the keypair for SSH

If you have not already done so, download putty here.

We need to first transform your .pem file, into something putty can use (.ppk). Go to Windows Start, search PuTTYgen.

Once open, click Load > drop down for All Files (*.*) > Choose myfirstkeypair.pem.

Click Save private key.

Are you sure you want to save this key without a passphrase? Yes

Step 3: Find your Public instance’s IP

Your instance should be up and running by now! Go back to the AWS console, Services > EC2. Click on Instances, you should see the following:

make note of the Public DNS (IPv4) and IPv4 Public IP.

Step 4: SSH time!

Start up PuTTY. under Category, Connection > SSH > click Auth. Browse for the .ppk file you generated through PuTTYgen.

Next go back to Session. Under Host Name, put the Public DNS of your sever from step 3. Under Saved Sessions, give your server a name! Click Save!

Click Open! username: ec2-user

We will stop here for now. If you’re new to Amazon Web Services, it is seriously an industry changing tool that we’ve only scratched the surface of today. Launching a single micro instance falls under “free tier” and shouldn’t cost you a dime! Do be careful: adding additional infrastructure (EBS volumes, increasing server sizes …) will incur cost!

Facebook Comments

More Stuff

Part 3: How I Built a cPanel Hosting Environment o... In Part 2 of this series, we discussed selecting and launching a new Amazon Machine Instance (AMI), creating and configuring that instance to serve as...
Hosting a Website on AWS S3 Amazon Web Services (AWS) Simple Storage Service (S3) can host static web sites at an extremely low cost. The cost for most websites is a few cent...
Part 1: How I Built a cPanel Hosting Environment o... People argue for and against building a production hosting environment on top of cloud services such as Amazon’s AWS. I recently made the decision to ...
Part 2: How I Built a cPanel Hosting Environment o... In Part 1 of this four part series, we discussed establishing your VPC, creating and configuring your small subnet, and worked through configuring the...
Spread the love

Posted by News Monkey