Services can not run without a server on the Internet. D2C can automatically provide servers for you. Just provide an access token for your preferred cloud provider, and D2C will create/destroy/resize servers as you need them. Keep in mind that the cloud provider will charge you for resource usage based on your payment plan. D2C does not provide its own computing resources – it automates the provisioning process at cloud providers.
If you want to deploy services on your own in-house servers or at cloud providers that D2C does not currently support, you can do so. We provide a script that checks whether your host complies with the requirements to be added to the D2C dashboard and be a part of your project.
Each host can be used for any project multiple times.
Supported operation systems and requirements¶
When you create a host, we install Ubuntu 18.04 on it.
When you connect your own host it should have:
- Ubuntu 16.04/18.04 or Debian 8/9.
- Kernel version >= 4.2. We do not recommend 4.12 and 4.13 because of their poor performance in VXLAN tunneling: 60x decrease
- Free disk space: 5 Gb
- Opened incoming SSH port
- For the Weave network to work, you must open ports 6783, 6784 (TCP/UDP)
- hostname should be unique and cannot be named as “localhost”
- For better performance, we recommend ensuring that VXLAN tunneling is allowed
D2C does not support hosts with installed Docker to prevent any configuration conflicts.
How to connect own host¶
Step by step tutorial¶
- Sign in into your D2C account.
- Click Connect host
- Copy the command
- Connect to your host via SSH
- Run the command you copied before
Supported hosting providers¶
- Amazon Web Services (how to link AWS)
- Google Cloud Platform (how to link GCP)
- DigitalOcean (how to link DigitalOcean)
- Vultr (how to link Vultr)
- UpCloud (how to link Upcloud)
What software will be installed on hosts?¶
- Weave Network
- D2C HealthCheck Daemon
- Update system services (Docker, Weave, Telegraf, Lsync). You can do it one by one or separately
- Destroy (+force destroy)
- Instance Resize (only for cloud hosts)
- Volume Resize (for AWS hosts)
Amazon EC2 provides additional storage for instances which calls Amazon Elastic Block Storage (EBS). You can add additional EBS without stops of hosts using D2C interface.
GCP Zonal Persistent SSD disks¶
Google Compute Engine provides additional storage for instances which calls Zonal Persistent SSD disks. You can add additional storage for your hosts using D2C interface.
DigitalOcean Block Storage¶
DigitalOcean provides additional storage for droplets which calls Block Storage volumes. You can add additional storage for your hosts using D2C interface.
You can create demo hosts for testing the platform. The configuration of demo hosts is (2GB RAM, 1vCPU, 50GB SSD). N. Amsterdam, Netherlands
Demo host creates for three hours and will be destroyed (with all services and containers) after this time expired. You can create another ones after that.
You can find a + Free demo host on the dashboard.
Each host has logs (server logs).
The line which has ellipsis marks, in the end, can be opened with a mouse click.
Connecting via SSH and SFTP¶
One public key should be used only once regardless of its type (SSH or SFTP). If you need to change a method of connection, you need to create another public key or replace the old one.
All data of services are stored in:
For example, you can find sources in:
How the host page looks like¶