Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

...

Overview

...

Scaleway is a multiple architecture platform that lets you build and manage your cloud infrastructure in an easy and efficient way to scale the projects; you can start developing on a small virtual server and easily scale-up to a dedicated server. Scaleway module for HostBill is a white label solution to enable you to resell Scaleway cloud with multiple and flexible billing options.

Activating the module

...

  1. If the module is included in your HostBill edition you can download it from your client portal.
  2. If the module is not included in your HostBill edition you can purchase it from our marketplace and then download it from the client area.
  3. Once you download the module extract it in the main HostBill directory.
  4. Go to Settings → Modules → Hosting Modules, find and activate Scaleway (Scalemod) module.

Connecting HostBill with Scaleway

...

  1. In Scaleway panel, generate new access token -  Learn how
     
  2. In HostBill go to Settings ->Apps→ Apps, from Applications list select "ScaleMod"
  3. Enter access token generated in step 1. 

...

  1. Verify entered credentials by clicking

...

  1. Test Connection to check if HostBill can connect
  2. Save Changes

 

...

 Configuring SSH Keys injection

...

This step is crucial for automated VM deployments with this module. Public SSH Keys of your customers will stored in HostBill , and automatically injected after VM creation.

  1. From HostBill ->Settings->Apps->→ Settings → Apps → [Your Scaleway App] (defined above) copy line to add to crontab.
     Image RemovedImage Added
  2. Log-in to ssh SSH of your HostBill server, as root or user that HostBill files are owned by.
  3. Edit crontab (issue command crontab -e)
  4. Paste line copied from step 1.
  5. Save crontab

...


Now, it is crucial to generate ssh SSH key on your HostBill server (same user as in step 2), use ssh-keygen command for this (sample howtohow-to).

Paste your HostBill server public key into scaleway Scaleway panel (into credentials section):
 

Adding

...

Scaleway Product

...

...

  1. In HostBill go to Settings

...

  1. → Products & Services, and Add new order page

...

  1. From Order Types select

...

  1. Other Services

...

...

  1. Enter your orderpage name, select orderpage template. Save Changes

...

 

Image Removed

...

...

  1. Add new product in new orderpage. Provide product name, setup price, Save Changes.

...

  1. In product configuration section proceed to

...

  1. Connect with App

...

  1. , select

...

  1. ScaleMod

...

  1.  and App server created in previous steps.

Image RemovedImage Added


Configuring Client Functions   

...

In Products & Services → Your Order Page → Your Product → Client Functions you can control what features customer will have access to in client portal, by clicking Enable/Disable next to the given option.

...

Use Edit button to adjust function appearance in the client portal.

For Libre NMS apart from the standard client functions, such as 

  1. Change Billing Cycle
  2. Change Label
  3. Change Ownership
  4. Edit Forms
  5. Graphs
  6. Login Details
  7. Manual Service Renew
  8. New Direct Link
  9. Related Services
  10. Service Auto Renewal

you can enable the following client functions:

  1. Manage SSH Keys - add and remove stored ssh keys

Image Added

Configuring Scaleway Product

...

Scaleway module for HostBill allows selling to sell two types of products, configurable in "Connect with App" section.

  1. Cloud hostingHosting - allows user to create multiple machines with one purchase from resources allocated.
  2. VPS Hosting - one purchase will create one VPS machine for customer to manage.  

Following sections/resources can be limited:

  • Provisioning
    • Server limit - how many servers customer can create under account (you can automatically add slider to this value for customer to select during checkout/apply additional charges)
    • Additional Storage (GB) - storage for additional volumes  (you can automatically add slider to this value for customer to select during checkout/apply additional charges)
    • Snapshot limit - number of snapshots customer can take for this package (you can automatically add slider to this value for customer to select during checkout/apply additional charges)
  • OS Templates
    • You can select base template for customer to use with this product (for VPS packages). You can auto-load available OS templates into select box, remove unneeded, apply pricing 
  • Network
    • Static IP limit - Number of reserver IP addresses customer can use  (you can automatically add slider to this value for customer to select during checkout/apply additional charges)
    • Security Group limit - Number of security groups customer can use/create (you can automatically add slider to this value for customer to select during checkout/apply additional charges) 

Configuring Hourly Billing (Cloud-VM Size/Flavor Billing) 

...

You can bill your customers using Scaleway products hourly, based on number of VMs customers created. Currently scaleway supports one VM size, but there is room to extend in future for bigger VMs.
To configure hourly billing for your Scaleway package:

  1. Find and activate "Cloud flavor" module in your HostBill. 
  2. Create new flavor, here you can setup hourly price for VM usage:
    Image RemovedImage Added
  3. Go to your ScaleWay product, under General settings->PricingGeneral settings → Pricing, enable Flavor:
    Image RemovedImage Added
  4.  Now customers creating new packages will see hourly price per VM:
     

 

 

 

 

  1.