Deploy on AWS EC2 instances

In this section, we introduce how to set up Dotshake in an AWS EC2 instance environment.

Setup AWS EC2 instance

Step 1: Sign up at Dotshake login page


Step 2: Login with your AWS account.

If you do not have an AWS account yet, please create one first.

Step3: Launch EC2 instance

From the AWS console search window, type EC2.


Click on Launch Instance listed on the EC2 dashboard.


Select 64-bit (x86) UbuntuServer22.04LTS as the machine image.


Either instance type perfectly works in this demo. (we use free tier)


Create a key pair. Later, we will access the instance via SSH connection and proceed with the configuration.


In the network settings, check the box Allow SSH traffic. Then, click Launch Instance to launch the instance.


Step 4: Log in to the created EC2 instance and run the setup.

Select the instance created in Step2 and click Connect. Make sure you select the correct connection method and log in.


After connecting the instance, run the following commands.

ubuntu@ip-172-31-4-54:~$ curl -L | sh

Once the package is installed, you will see the login URL on the terminal.

The message Successful login will be displayed if the login is successful.

Your dotshake ip => []
Successful login
2022-09-23T16:23:14.636+0900    info    dotshaker up    launched dotshaker daemon.

Check to see if Dotshake is up and running correctly.

sudo systemctl status dotshaker.service

The following message ensures the Dotshake is working properly.

● dotshaker.service - dotshaker daemon
     Loaded: loaded (/etc/systemd/system/dotshaker.service; enabled; vendor preset: enabled)
     Active: active (running) since Fri 2022-09-23 09:49:46 JST; 6h ago
   Main PID: 175492 (dotshaker)
      Tasks: 22 (limit: 76989)
     Memory: 8.1M
     CGroup: /system.slice/dotshaker.service
             └─175492 /usr/bin/dotshaker up -daemon=false

Step 5: Check the status

Get the IP address on the other machine and confirm if both are connected.

ping <dotshake ip>