|
| 1 | +# UpCloud Blesta Module Installation Guide |
| 2 | + |
| 3 | +This guide will walk you through the process of installing and configuring the UpCloud VPS Module for Blesta. |
| 4 | + |
| 5 | +## Installation |
| 6 | + |
| 7 | +### Downloading and Installing the Module |
| 8 | + |
| 9 | +1. Obtain the module from the UpCloud GitHub repository. |
| 10 | +2. Extract the module files to your local system. |
| 11 | +3. Upload the entire module folder to your Blesta installation directory at `/path-to-your-blesta/components/modules/upcloud/` on your Blesta server. |
| 12 | +4. Ensure proper file permissions are set for the module directory. |
| 13 | + |
| 14 | +### Obtaining API Credentials |
| 15 | + |
| 16 | +The module uses API tokens for interacting with the UpCloud platform. |
| 17 | + |
| 18 | +Follow the instructions first to [install the upctl command-line tool](https://upcloudltd.github.io/upcloud-cli/) to your machine. |
| 19 | + |
| 20 | +Then proceed with the instructions to [create a token](https://upcloudltd.github.io/upcloud-cli/commands_reference/upctl_account/token/create/). |
| 21 | + |
| 22 | +### Adding Your First UpCloud Account |
| 23 | + |
| 24 | +1. Log in to your Blesta admin panel. |
| 25 | +2. Navigate to **Settings** > **Modules**. |
| 26 | +3. Find "UpCloud VPS" in the available modules list and click **Install**. |
| 27 | +4. After installation, click **Manage** next to the UpCloud VPS module. |
| 28 | +5. Click **Add Account** to create your first UpCloud server connection. |
| 29 | +6. Fill in the following details: |
| 30 | + - **Account Name**: A descriptive name for this UpCloud account (e.g., "UpCloud Production") |
| 31 | + - **API Token**: The API token you generated in the previous step |
| 32 | +7. Click **Add** to save the configuration. |
| 33 | + |
| 34 | +## Configuration |
| 35 | + |
| 36 | +### Creating a Package Group |
| 37 | + |
| 38 | +1. Navigate to **Packages** > **Package Groups** in your Blesta admin panel. |
| 39 | +2. Click **Create Group** (the `[+]` icon) to create a new package group. |
| 40 | +3. Provide the following details: |
| 41 | + - **Name**: Enter a descriptive name (e.g., "UpCloud VPS Plans") |
| 42 | + - **Description**: Optional description for internal use |
| 43 | + - **Type**: Select "Standard" |
| 44 | +4. Configure other settings as needed for your business requirements. |
| 45 | +5. Click **Create Group** to create the package group. |
| 46 | + |
| 47 | +### Creating a New Package |
| 48 | + |
| 49 | +1. Navigate to **Packages** > **Packages** |
| 50 | +2. Click **Create Package** (the `[+]` icon) |
| 51 | +3. Configure the basic package details: |
| 52 | + - **Name**: Provide a descriptive package name (e.g., "UpCloud VPS - 2GB RAM") |
| 53 | + - **Description**: Detailed description for clients |
| 54 | + - **Status**: Set to "Active" |
| 55 | +4. Set up pricing for the package according to your business model. |
| 56 | +5. In the **Group Membership** section, make the package a member of the package group created earlier. |
| 57 | +6. Click **Module** tab to proceed to module settings. |
| 58 | + |
| 59 | +On the module settings page, configure the following: |
| 60 | + |
| 61 | +1. **Module**: Select the UpCloud module. |
| 62 | +2. **Account**: Select the UpCloud account you created earlier. |
| 63 | +3. **Server Plan**: Select from available UpCloud server plans or choose custom configuration. |
| 64 | +4. **Template Settings**: |
| 65 | + - **Set Template**: Choose whether admin sets template or client can choose |
| 66 | + - **Template**: Select default operating system template |
| 67 | + |
| 68 | +Click **Create Package** to create the package. |
| 69 | + |
| 70 | +### Pricing Considerations |
| 71 | + |
| 72 | +You have the flexibility to: |
| 73 | + |
| 74 | +- Set custom pricing for different server plans |
| 75 | +- Add surcharges for premium templates (Windows) |
| 76 | +- Configure location-based pricing variations |
| 77 | +- Set up bandwidth overage charges |
0 commit comments