Tariffs

Tariff is a set of rules on how a particular resource provided by the platform should be charged. You can review and manage the list of existing ones via the appropriate Billing > Pricing Models > Tariffs section in JCA.

jca tariffs

Tip: By combining multiple tariffs for different resources, you can create a Pricing Model for the platform.
In case, when there is at least one reseller, a dedicated drop-down list appears at the tools panel, allowing to switch between the main and all of the assigned sub-platforms. Use it to select the required installation.

The displayed table provides the following information:

  • Name - lists tariffs, which are grouped by type (Dynamic Cloudlets, Reserved Cloudlets, Dynamic Disk Space, Reserved Disk Space, Network, Option, Licence, and External Resources)
  • Template - shows whether the tariff is applied to the additional resource (e.g. SSL or public IP) or software stack (e.g. MSSQL). The “default” value refers to all of the provided stacks at once
  • Description - provides a description for the tariff

review tariff details

Selecting a particular tariff within the list will display its tiers details in the panel to the right with additional information on the Minimum Cloudlet Limit number and the Cloudlet Increment value for the tariffs of the Dynamic/Reserved Cloudlets types.

Below, we’ll overview how to:

Manage Tariff List

Use the tools panel at the top of the Tariffs section to manage tariffs available on the platform.

tariff management buttons

  1. Click the Add button and apply configurations from the linked section to set up a new tariff.

add tariff dialog

  1. Select the existing record and click Edit or double-click the required line.

edit tariff dialog

In the opened Edit Tariff dialog you can adjust all the tariff configurations, except for the Type and Template fields.

  1. To Remove a particular tariff, select it within the list and click on the same-named button at the top tools panel.

confirm tariff removal

Note: A tariff plan assigned to the user group cannot be deleted.
Сonfirm your choice via the appeared pop-up window.

Configure Tariff

When adding or editing a tariff, you need to configure the target resource and the charging behavior correctly. The process is divided into two main parts:

Basic Data

  1. At first, you need to provide some common data, which is required for all of the tariffs.

tariff basic data

Here, the following fields should be fulfilled:

  • Name - set any preferable name for your tariff
  • Description - provide any preferred description for your tariff (optional)
  • Type - select tariff’s type from the list (Dynamic Cloudlets, Reserved Cloudlets, Dynamic Disk Space, Reserved Disk Space, Network, Option, Licence, and External Resources)
  • Currency - choose the currency for prices configured within tiers (the platform’s main one is selected by default)
Note: 

If a non-default currency is selected, the Tiers table is provided with an additional column. It automatically converts the specified price into the platform’s main currency (i.e. the amount to be charged from the user balance). tariff custom currency Be aware that the displayed price is estimation as the exact value can vary slightly based on the currency conversion rate during the particular withdrawal operation. Herewith, the management of these rates is performed via system settings:

  1. Next, based on the selected Type, some additional fields can appear.
Note: 

Jelastic PaaS does not track the consumption of the External Resources type, which is used for charging your custom software. The appropriate values should be provided manually (or via your custom script). Use the following API methods:

  • GetResources - returns a list of all resources on the platform or details on a particular one (defined via the optional id or name parameter)
  • AddResource - adds a new resource to the platform
  • AddStatistics - provides statistics on the resource usage by a particular user

tariff types list

The following data may be required:

  • Template - allows selecting a particular stack or all of them (for the License type) or additional resource, i.e. SSL or Public IPv4/IPv6 (for the Option type)
  • Minimum Cloudlet Limit & Cloudlet Increment - sets the minimum allowed cloudlets number and its increment (for the Dynamic/Reserved Cloudlets types)
  • Strategy - selects the charge strategy (for the License and External Resources tariff types):
    • Volume - is charged according to the final tier (the default strategy for Jelastic PaaS). For example, if you have three tiers (from 1, 3, and 10) and consumes 12 units of a resource - all of them are charged based on the third tier price
    • Graduated - is charged via tiers sequentially. For example, you have three tiers (from 1, 3, and 10) and consume 12 units of a resource. In this case, the first three units are charged as the first tier, next seven as the second tier and the remaining two as the third tier
    • Accumulated - is charged according to the tier cumulatively achieved during this month (resets monthly)
    • Flat - is charged a fixed price within each tier (i.e. the number of consumed resource units is not multiplied on the tier price). It is calculated based on the specified Strategy Resource
  • Resource - defines a resource used (for the External Resources type)
  1. In case Accumulated or Flat strategy is selected, additional fields should be specified:
  • Strategy Resource - specifies a resource used to calculate the tier (for the Accumulated and Flat plans)
  • Free & Paid resource by - defines if the free (paid) resources should be calculated per Environment or Node (for the Flat strategy)

additional tariff parameters

Tip: Some parameters can be provided for the Accumulated tariff via API only.
When all the fields are specified, proceed to the tiers configuration.

Tiers

The Tiers subsection provides a table of prices for a specific tariff (resource) based on its consumption level. Usually, this implements a discount policy, i.e. the higher volume usage is automatically cheaper. To adjust the rates according to your needs, perform the following:

  1. Click the Add button to create a new tier or double-click on the existing record to edit it.

tariff tier list

  1. Specify the needed values within the following columns:
  • From - the number of resource units consumed per hour required to enter the tier
  • Free - the number of resource units provided for free within this tier
  • Price per hour - the cost per one resource unit for the current tier
Tip: When configuring tiers for the Network type, be aware that it is calculated based on last month consumption (not the last hour). The column’s names are automatically adjusted to highlight this peculiarity:

network tariff tiers}Once both Basic Data and Tiers configurations are done, click Save for your tariff to add/update it in the list.

What’s next?