Tutorial: Vscale - Create an image

Step 1: Connect to your Vscale console

Go to Vscale console.

Step 2: Create a new scalet

  1. Click on SERVERS

  2. Click on CREATE SERVER

../../../../_images/step_110.jpg

Step 3: Change the configuration of scalet

Choose an image Ubuntu 16.04 64bit:

../../../../_images/step_2a1.jpg

Choose the smallest configuration:

../../../../_images/step_2b1.jpg

Choose a datacenter (e.g.: Moscow):

../../../../_images/step_2c1.jpg

Use the SSH key named mykey:

../../../../_images/step_2d1.jpg

Step 4: Create the scalet

Click on CREATE SERVER

../../../../_images/step_38.jpg

Step 5: Connect to the instance

Get the IP:

../../../../_images/step_43.jpg

And enter this command in a terminal:

ssh root@<replace by IP>

Step 6: Install the proxy

Install proxy with:

sudo apt-get update

and:

sudo apt-get install --yes curl

and:

curl --silent --location https://deb.nodesource.com/setup_8.x | sudo bash -

and:

sudo apt-get install --yes nodejs

and:

curl --silent --location https://raw.githubusercontent.com/fabienvauchelles/scrapoxy/master/tools/install/proxy.js | sudo tee /root/proxy.js > /dev/null

and:

curl --silent --location https://raw.githubusercontent.com/fabienvauchelles/scrapoxy/master/tools/install/proxyup.sh | sudo tee /etc/init.d/proxyup.sh > /dev/null

and:

sudo chmod a+x /etc/init.d/proxyup.sh

and:

sudo update-rc.d proxyup.sh defaults

and:

sudo /etc/init.d/proxyup.sh start

Step 7: Poweroff the scalet

  1. Stop the last command (CTRL-C)

  2. Power off the scalet:

    sudo poweroff
    

The status is Offline when the scalet is off:

../../../../_images/step_53.jpg

Step 8: Open the scalet

Click on the scalet:

../../../../_images/step_62.jpg

Step 9: Prepare backup

Click on the scalet:

../../../../_images/step_62.jpg

Click on Create backup

../../../../_images/step_71.jpg

Step 10: Create backup

  1. Enter forward-proxy in Name

  2. Click on CREATE BACKUP

../../../../_images/step_8.jpg

Wait a few minutes and the new image appears:

../../../../_images/step_9.jpg