Shakti Coin

SOMA- (Self Onboarding Mining Application) Installation on Amazon Web Services Cloud Ubuntu OS.

SOMA- On Amazon Web Services Cloud

Installation of SOMA on the cloud environment on Ubuntu OS

For Power miners, the SOMA can only be deployed on Cloud service on the Datacenters in various geographical regions.
We have identified a number of cloud service providers for you, like Amazon Web services, Microsoft Azure, Google Cloud Platform or IBM cloud, the list goes on. Many of them offer a free tier for one year. We urge you to choose the most appropriate and suitable cloud environment, keeping in mind the type of Shakti Coin mining license which you have purchased.
Shakti recommends that the higher capacity Power Mining License, such as T400 holders should be installing the mining application with the premier cloud environment.
Note: There are many YouTube and Google resources which you can refer to understand cloud platform. Also, be aware of the different hidden charges which may be levied on your cloud account, if some extra services are selected by mistake.
Before installing the application on the cloud, you need to sign-up for a cloud service. Here we have demonstrated the creation of a instance on Amazon Web Service.
Note: To enhance legibility of the text (gif), click right button and select View Image
1. Search EC2 instance service.
2 . Choose AMI.
3. Choose free tier instance & VPC subnet.
4. Add instance tag.
5. Configure security group.
6. Preview & Download the private key for instance SSH login.
7. Overview of Instance & Inspect the public IP addresss and domain name.
8. Go to .pem file's directory/folder.
9. Change the permission of .pem file.
10. SSH into the instance/machine/computer.

Software Installation

Ubuntu 18.04.3 LTS Operating System

We need to install two software components in miner's machine/instance/computer.
  • Docker Installation
  • SOMA Installation

Docker Installation

1. Uninstall old versions of docker.
$ sudo apt-get remove docker docker-engine
2. Update the apt package index.
$ sudo apt-get update
3. Install packages to allow apt to use a repository over HTTPS.
$ sudo apt-get install \apt-transport-https \ca-certificates \curl \
4. Add Docker’s official GPG key.
$ curl -fsSL | sudo apt-key add -
5. Verify that you now have the key with the fingerprint 9DC8 5822 9FC7 DD38 854A E2D8 8D81 803C 0EBF CD88, by searching for the last 8 characters of the fingerprint.
$ sudo apt-key fingerprint 0EBFCD88
6. Add Docker-ce in apt repository.
$ sudo add-apt-repository \
"deb [arch=amd64] \
$(lsb_release -cs) \
7. Update the apt package index.
$ sudo apt-get update
8. Install Docker-ce.
$ sudo apt-get install docker-ce
9. Start Docker daemon service after OS reboot.
$ sudo systemctl enable docker
10. Start Docker daemon service.
$ sudo service docker start

SOMA Installation

1. Verify that the Docker daemon service is up and running.
$ sudo service docker status
2. Download "SOMA" docker container image from Dockerhub repository.
$ sudo docker pull sxeshakticoin/testnet:latest
3. Get the "SOMA" Docker IMAGE ID from (3rd column).
sudo docker images
4. Present Working Directory.
5. Run the SOMA image. Get the long desired public key & unique node name for SOMA input fields.
docker run -d -p <port-number>:<port-number> --env NODE_NAME=<node-name> --mount type=bind,source=$(pwd),target=/shakti <docker-image-id>
Ex: sudo docker run -p 8765:8765 -d --env NODE_NAME=dockernode01 --mount type=bind,source=$(pwd),target=/shakti 8030aaaef48b
6. Verify that SOMA application is up and running.
cat shakticoin-poe-server-keys