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" -
![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fi64.tinypic.com%2F2im3psi.jpg&t=665&c=9meSHGrgKClD9g)
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 -
![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fi63.tinypic.com%2F2chn6va.jpg&t=665&c=JPYz-XyY7qMsdA)
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 -
![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fi66.tinypic.com%2Fvrvlsk.jpg&t=665&c=Qq8yf1VELqyI_g)
Then click "Create Security Group" -
![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fi67.tinypic.com%2Fk0h4rr.jpg&t=665&c=uhKAWHLbLY81ig)
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" -
![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fi65.tinypic.com%2Fnmm4n5.jpg&t=665&c=PiO9UgebIVxYQQ)
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 -
![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fi63.tinypic.com%2Ffbwz6f.jpg&t=665&c=14fZqPnk_s8g6w)
Then click "Create Key Pair" -
![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fi64.tinypic.com%2F1pxtf7.jpg&t=665&c=bQZD1ZSSjIisDg)
Give your key pair a name, and then click "Create". For the purpose of this guide, my key pair name was "test" -
![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fi68.tinypic.com%2F33ttnw7.jpg&t=665&c=RtJPEU0GoVs7ng)
Click "Create", and a key pair file will be created and downloaded automatically -
![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fi64.tinypic.com%2Fojr1h0.jpg&t=665&c=6O0VwtCl_4RTdA)
Ok, now this is done, it's time to create our first instance. Click "Spot Requests" from the left hand menu -
![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fi68.tinypic.com%2F2cx8h11.jpg&t=665&c=SGpK3486hWr_rw)
Then click "Request Spot Instances" -
![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fi67.tinypic.com%2Fvh6vs0.jpg&t=665&c=q6rrHUguMxKDwA)
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 -
![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fi64.tinypic.com%2F35aoq4m.jpg&t=665&c=srrCo5_LKPPkqQ)
Next, select the number of instances you require. In most cases, your limit starts at 5. -
![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fi64.tinypic.com%2Fxm3n6v.jpg&t=665&c=h6sf6lwXvRlXhw)
Next, select from the "Amazon AMI" drop down menu the correct operating system for your VM, in this case "Ubuntu Server 16.04" -
![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fi68.tinypic.com%2Fmc7nmd.jpg&t=665&c=Tr1KKLTCNralJg)
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 -
![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fi65.tinypic.com%2Fztu3vl.jpg&t=665&c=dk7qSlHmYbbyMw)
Then click "Select" and the following window will appear -
![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fi63.tinypic.com%2Fr0e7hz.jpg&t=665&c=ALcTzgbkvJ7LEA)
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" -
![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fi64.tinypic.com%2F2yp0vw6.jpg&t=665&c=Op79kPh2zGMtMw)
Scroll to "Key Pair Name" and use the drop down to select the "test" key pair file we created earlier -
![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fi64.tinypic.com%2F289ysp.jpg&t=665&c=RkSGNgbQtq1fHQ)
Next, copy and paste your script file contents into the "User Data" box -
![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fi64.tinypic.com%2F14xfgxd.jpg&t=665&c=kk6TnIYOmdfMMQ)
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 -
![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fi64.tinypic.com%2Fxvwc6.jpg&t=665&c=3N0QU6xAszc8ig)
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" -
![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fi64.tinypic.com%2F2sbmltu.jpg&t=665&c=2cCF1_4fZslVeQ)
Now click "Pricing History" -
![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fi66.tinypic.com%2Fwloccz.jpg&t=665&c=A4deeiIzgC0CHw)
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 -
![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fi65.tinypic.com%2F96ki37.jpg&t=665&c=_zTn4kP4z85GbQ)
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 -
![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fi67.tinypic.com%2Feb80uh.jpg&t=665&c=Oup_iNvXd3pDSw)
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