Skip to main content

Cost Estimation

This page explains how to estimate the cost of using Ahana in AWS.

The cost of using Ahana is divided into two parts:

Both of these parts are billed through AWS.

In this example invoice, the AWS resources billing is in the top section named Amazon Web Services, Inc. charges by service.

The Ahana billing is in the Ahana Cloud for Presto entry, in the lower section of the invoice named Amazon Web Services, Inc. - Marketplace charges by service.

sample AWS invoice

AWS Estimated Cost

AWS bills you for the AWS resources that you use Ahana to provision into your AWS account. These AWS resources are your Compute Plane, and any Presto clusters.

The Compute Plane in your AWS account contains an AWS Virtual Private Cloud and AWS Elastic Kubernetes Service, and an instance of Apache Superset. For more information see Ahana Compute Plane.

Ahana Compute Plane and clusters

To estimate the total cost of using Ahana Cloud for Presto, you must know the estimated Compute Plane daily cost, the estimated AWS daily cost of all Presto clusters, and the estimated Ahana daily cost of all Presto clusters. Follow the steps on this page to find these values.

Compute Plane Daily Cost

The estimated Compute Plane daily cost is approximately $8.

AWS Daily Cost of All Presto Clusters

The cost of a Presto cluster varies based on:

  • the worker node instance type

  • the number of worker nodes

  • the coordinator node instance type

  • the Hive metastore instance type

    note

    A Hive metastore is optional for a Presto cluster, and may not be present.

The hourly cost of an AWS instance can be found on Amazon EC2 On-Demand Pricing in the On-Demand Hourly Rate column.

  1. To find the node instance types and number of worker nodes of an existing Presto cluster, see Manage a Cluster. If you are estimating for a Presto cluster that has not been provisioned, decide what instance types you would use for it.
  2. On Amazon EC2 On-Demand Pricing, find the On-Demand Hourly Rate for:
    1. the worker node instance type
    2. the coordinator node instance type
    3. (if present in the Presto cluster) the Hive metastore instance type
  3. Multiply the the worker node instance type's hourly rate by the number of worker nodes to find the worker nodes rate.
  4. Add the coordinator node instance type's hourly rate to the worker nodes rate to find the cluster rate.
  5. If a Hive metastore is present, add the Hive metastore instance type's hourly rate to the cluster rate, then multiply the result by 24 to find the estimated AWS daily cost of the Presto cluster.
  6. If there are multiple Presto clusters, repeat steps 1 through 5 for each Presto cluster.
  7. Add the estimated AWS daily cost of each Presto cluster together to find the estimated AWS daily cost of all Presto clusters.

Ahana Daily Cost of All Presto Clusters

note

If you are using Ahana Cloud for Presto Community Edition the Ahana pricing is free forever.

Ahana Pricing presents the Ahana pricing for supported instance types.

To find the estimated Ahana daily cost of a Presto cluster:

  1. Use the same values for the the worker node instance type, the number of worker nodes, coordinator node instance type, and the Hive metastore instance type that you used to find the AWS cost of the Presto cluster.
  2. Find the Credits per instance of each instance type in the Supported Instance Types Price List in Ahana Pricing.
  3. Multiply the Credits per instance of the worker node instance type by the number of worker nodes.
  4. Add the Credits per instance of the coordinator node instance type to the total in step 3.
  5. If a Hive metastore is present, add the Credits per instance of the Hive metastore instance type to the total in step 4.
  6. Multiply the total Credits per instance of the Presto cluster by the Ahana Cloud Credit cost to find the estimated cluster hourly cost.
note

The default cost of one Ahana Cloud Credit is $0.25, so for example,

cluster hourly cost = (0.25 * Credits per instance)

  1. Multiply the cluster hourly cost by 24 to find the estimated Ahana daily cost of the Presto cluster.
  2. If you have more than one Presto cluster, repeat steps 1 through 7 for each Presto cluster.
  3. Add the estimated Ahana daily cost of the Presto cluster for each cluster together to find the estimated Ahana daily cost of all Presto clusters.

Total Estimated Cost

Now that you have the Compute Plane daily cost, the AWS daily cost of all Presto clusters, and the Ahana daily cost of all Presto clusters, you can find the total estimated cost of Ahana Cloud for Presto or Ahana Cloud for Presto Community Edition.

The estimated Compute Plane daily cost is $8.

Ahana Cloud for Presto Total Estimated Cost

The total estimated daily cost for Ahana Cloud for Presto is:

Compute Plane daily cost + AWS daily cost of all Presto clusters + Ahana daily cost of all Presto clusters

Ahana Cloud for Presto Community Edition Total Estimated Cost

The total estimated daily cost for Ahana Cloud for Presto Community Edition is:

Compute Plane daily cost + AWS daily cost of all Presto clusters