Foilen Cloud
Fran├žais

Dedicated Machine

Table of Content

Create a Linux Server

To get started, do business with a server provider like DigitalOcean, Amazon AWS, Google, Microsoft Azure, etc. Some examples are available on this page: https://www.foilen.com/en/services/dedicated-servers.

Create a server by choosing Ubuntu 16.04.

As machine name:

  • if you have a domain name like example.com, you can create it as a subdomain. Example: m1.m.example.com
  • otherwise, you can choose any name as a subdomain of user.foilen.org. Example: m1.monnom.user.foilen.org

Give root access to Foilen

It is currently necessary for:

  • Updating infra_docker_manager when necessary
  • Diagnosing problems

On the server, run as root:

mkdir -p /root/.ssh
chmod 700 /root/.ssh
echo ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCanXwkhUQodiaIUuDF9uhxliVxS45j88z4aGZrDJtLzBXp5ri+2HXQez/jwUvfpcW7o7olxy3W/g+kQx/6SCGuZjaqaLRHSGIVu/wUkgBgVyU30vyQb50+7gK2k1B0Pc1QIrcv+44nObA6ZNXGeI3ns34FSVe+8ZXdYQyfA0I/BAU6Y3/KTZhTWzN/thjP/VSWdKoSxosmoKRAckzjtSEhRWnypIywohb1gT1/dtuMmKSC20+wyBSKJk/ODACr6wlvIrjlkRilHe+e1OtcuU6sPPSy/JhDAXGyaxbERA6dcqARPomBwK5jnUYNZq5ae4UC3QFvN+GOr9IrlNGbajJH cloud@foilen >> /root/.ssh/authorized_keys
chmod 500 /root/.ssh/authorized_keys

Create the machine in Foilen Cloud

  1. Go to Foilen Infra in the Plugin tab (https://infra.foilen.com/plugin/list) and click on Machine
  2. Choose the owner
  3. Write the name of the machine
  4. Click on Create

Install the prerequisites and Foilen Infra Docker Manager

  1. Go to Foilen Infra in the Infrastructure - Machine - Bootstrap tab (https://infra.foilen.com/machineBootstrap/list) and click on your new machine
  2. Execute all commands