Amazon AWS Mining Guide
I have had many requests for an Amazon AWS mining guide so here it is in all it's glory. Amazon AWS is a paid service but currently offers the cheapest cloud mining service compared to performance and availability to other cloud services.
Firstly create an account with Amazon AWS.
When you have done that go to the AWS landing page and click "Services" and then "EC2" -
You have several regions to choose from to create VM's, but currently the Ohio region is the cheapest. For each region you will need to create new security groups and key pairs. Make sure you select this region on the top right menu -
Then we need to create our security group to allow only your IP to connect to the instance. Click Security Groups from the left hand menu -
Then click "Create Security Group" -
In the pop up window, give your security group a name and click "Add Rule". Click on the "Type" drop down box to select "All Traffic" and then the "Source" drop down box to "My IP" -
Then click "Create".
Next we need to create our "Key Pair" to use if you need to SSH into any instances to check functionality. Click "Key Pairs" on the left hand menu -
Then click "Create Key Pair" -
Give your key pair a name, and then click "Create". For the purpose of this guide, my key pair name was "test" -
Click "Create", and a key pair file will be created and downloaded automatically -
Ok, now this is done, it's time to create our first instance. Click "Spot Requests" from the left hand menu -
Then click "Request Spot Instances" -
Now the next screen can be a little daunting, but it's actually very easy and quick once you get used to it.
Firstly, you want to select "Request and Maintain". This option will create new instances automatically, should any go down for whatever reason, kind of like auto-scale -
Next, select the number of instances you require. In most cases, your limit starts at 5. -
Next, select from the "Amazon AMI" drop down menu the correct operating system for your VM, in this case "Ubuntu Server 16.04" -
Next, we need to select the instance type. For the purposes of this guide, I am selecting the cheapest value for money instance, which is m5.large, a 2 CPU instance capable of up to 6.7 h/s.
Make sure you clear the current instance type selected by clicking the black cross to the right of the instance -
Then click "Select" and the following window will appear -
Make sure you sort by price, by clicking on "Spot Price", and then select "m5.large". Click "Select", to return to the spot request page.
Scroll down and leave everything until you get to "Security Groups". Select the security group name that you created earlier. Mine is "Launch-wizard-2" -
Scroll to "Key Pair Name" and use the drop down to select the "test" key pair file we created earlier -
Next, copy and paste your script file contents into the "User Data" box -
Then scroll right to the bottom to "Request Valid Until". We only want spot requests to last a short time, this does not affect how long the VM stays active, but how long your "Request" for the VM stays active, once a "Request" is fulfilled, it lasts as long as you want it to -
Click "Edit" and change the date the request expires to whatever you want, but I usually select an hour.
Next, click "Set your MAX price" -
Now click "Pricing History" -
You should see something similar to the image above, just check the cheapest price for the region, click "Close" and then enter that price into the "Set your MAX price" box -
Then finally, click "Launch"
That's it, you now have your first instance running. If you wish to connect to an instance via SSH to check it is working, simply click on "Instances" on the left hand menu and select any running instance. The instance address is shown by the arrow -
To use this info in an SSH connection, use the following format -
Use the key pair you created earlier to connect to the VM if you use a client like PuTTY.
Amazon is all about getting your limit increases so you can run multiple instances of the same type. To request a limit increase, simply select "Limits" and a page will display each type of instance and a "Request limit increase" link. Following this will take you to a pretty self explanatory page where you have to select the type of instance you want the limit increase on, and the number of instances. Don't just throw in thousands of instance requests, they will get rejected. Do it in small increments and you are far more likely to be accepted. Paying customers also get increases readily accepted. A reason is required when requesting limit increases. Using something like "Testing of java applications" usually got me the requests I asked for.
That's about it, if you have any questions, join our Discord channel and ask in either the "General" or "Mining" channels.
If this guide was useful to you and you feel you would like to donate, then please do to the following address -
ARO : 65AkkjBs2arwbikYVDh3B57aeehzpVp9Xw69tgewj8y8stx9FjajNhxR5Y3D9vzjYGgPGzuXbf7xSKn 1C2i2DxFY