Skip to main content

Posts

Showing posts from December, 2017

Litecoin mining using AWS EC2 and CUDA - Part2

The part1 of the tutorial discussed about setting up a powerful GPU machine for bitcoin mining. Please refer to the link here if you need to go through it. Assuming you have  AWS GPU machine available, login to the server from your laptop/Desktop. Here I am using my Apple Mac Book Pro. ssh ubuntu@52.207.xxx.xx -i MyVPCKeypair.pem Next install all updates. This is a good practice whenever you first login to a EC2 instance. ~$ sudo apt-get update Then installed a set of dependencies, I am not sure whether all of them are needed. sudo apt-get install -y freeglut3-dev libx11-dev libxmu-dev libxi-dev libgl1-mesa-glx libglu1-mesa libglu1-mesa-dev gcc make libcurl4-openssl-dev autoconf git screen libncurses5-dev opencl-headers build-essential protobuf-compiler libprotoc-dev libboost-all-dev libleveldb-dev hdf5-tools libhdf5-serial-dev libopencv-core-dev libopencv-highgui-dev libsnappy-dev libsnappy1v5 libatlas-base-dev cmake libstdc++6-4.9-dbg libgoogle-glog0v5 libgoogle-glog-dev

Litecoin mining using AWS EC2 and CUDA - Part1

As a crypto currency enthusiast and a developer by profession I was curious to know how the bitcoin or litecoin mining works. This lead me to try out something on my own which is setting up a mining environment. As you probably know that at this moment mining on your local PC may not be  worth doing it because of the complexity and power requirements of the algorithm. Thus I tried to do mining using one of the GPU (Graphical Processing Unit) machines from AWS ( Amazon Web Service). In this part of the blog I will explain how to get the GPU from AWS. I assume you have a AWS account set up and available to login. If not please follow this link to create one.  AWS Once login then go to Services->EC2-> launch Instances -> AWS Marketplace and look for a Ubuntu based HVM image like I have shown below. On next screen select a ' g3.4xlarge' instance type. Please note about the hourly charges for that instance. You need to increase the storage size to 50GB for tha