Skip to content

Latest commit

 

History

History
55 lines (38 loc) · 3.46 KB

scalewayREADME.md

File metadata and controls

55 lines (38 loc) · 3.46 KB

Scaleway Service Provider

The following instructions will cost you money. Please remember to turn off your VPS when you are done

  • Mininally you will need to install Ansible Ansible will be used to configure the Virtual Private Server you will be setting up on Scaleway that will be hosting the docnow app.
  • You will need to create ssh-keys

Configure your account

Create your Virtual Machine

  • Create your Virtual Private Server
    • Select either Ubuntu (Bionic) or Centos (7.6)
    • Select France or Amsterdam
    • Select a Development Instance (We've tested heavily with the 23.99/month one)
    • This is optional but create an easy to identify name and tags. This is only important if you create more than one or need to audit later.
    • Click Create.
  • You will need to use the contents of Public IP on your ansible_deployer/hosts under the [scaleway] block.
  • Take not of your Public DNS as this will be the URL of your fully configured application

Launch your application

  • From the cloned repository make sure you have the following information updated on ansible_deployer/group_vars/scaleway/vars.yml.
    • You have your_ssh_rsa_public_key: with the contents of your public key
    • You have organization_id: with your organization id
    • You have scw_api_key: with your generated scaleway api key
  • Make a copy of ansible_deployer/hosts.example and name the new file hosts
    • Enter the Public IP to replace the 1.2.3.4

You are now ready to launch your docnow application. From the ansible_deployer directory run the following:

ansible-playbook playbooks/scaleway_deploy.yml
  • It takes approximately 10 minutes to completely set up your application.

Advanced Use

Make sure you have your ssh-keys and have generated an Scaleway API Key.

ansible-playbook -i plugins/scaleway_inventory.yml playbooks/scaleway_deploy.yml