🔧

Validating Cost / Utilization for Cloud Providers

AWS Main

Cost

  1. Login to https://apps.cloudhealthtech.com/dashboard/7 (require access from admin (Soph))
  2. Total cost and projected cost for the current month as well as the total cost for the previous month should be displayed on the landing dashboard
  3. To analyze cost by instance, on the left side navbar under “Reports” → “Cost”, go to “History”
  4. image
  5. In the “FILTERS”, categorize each group by “Name”
  6. The cost of each instance, along with its associated resources, will be displayed on the bottom of the page
  7. Total cost by month is also displayed on the bottom
  8. image

Utilization

  1. Login into AWS Harmony
  2. Go to “Cloudwatch”
  3. Under “Metrics”, click “All metrics”
  4. image
  5. Click on the desired metrics. In our case, under “EC2”, click “View automatic dashboard”
  6. image
  7. All metrics (CPU Util, Bandwidth, etc.) will be displayed in the following format
  8. image
  9. Switch between regions to view other instances

AWS Dev

Cost

  1. Login to Harmony AWS account (require access from admin (Soph))
  2. Under “AWS Account (1)”, click “harmonyprotocol” and head over to “Management console”
  3. image
  4. Go to “AWS Cost Explorer”
  5. On the left side navbar, go to “Cost Explorer”
image
  1. Scroll down and under “Cost and usage breakdown”, total cost and cost by service should be displayed
  2. image

Cost by Service

  1. On the right side, on the “Report parameters”, you should see “Tag” filter
  2. image
  3. Choose a tag (Name, Project, Network, etc.) and another filter based on the tag should appear
  4. Choose the certain tag and the monthly cost breakdown for that certain tag should be displayed

Cost by Instance

  1. Under the “Service” filter, chose the 4 filters shown below (Data transfer, storage cost is not included in the “EC2-Instances” service; must include the other services for the total cost)
image
  1. Choose the “Name” tag
image
  1. Choose the instance name as the “Name” tag value and total cost by instance will be displayed

Utilization

  1. Go to “Cloudwatch”
  2. Under “Metrics”, click “All metrics”
  3. image
  4. Click on the desired metrics. In our case, under “EC2”, click “View automatic dashboard”
  5. image
  6. All metrics (CPU Util, Bandwidth, etc.) will be displayed in the following format
  7. image
  8. Switch between regions to view other instances

Latitude

Cost

  1. Login to latitude.sh using your Harmony credentials (require access from admin (Soph))
  2. On the left side navbar, go to “Settings & Billings”
  3. image
  4. Go to “Invoices” section
  5. Click on “Status” and choose the “Paid” option (Yearly payment for Latitude was paid upfront so should not see anything in “Open, unless new migrations happen)
  6. image
  7. Latitude invoices are misleading as discounts were given but they are not properly displayed for each item. Thus, the total for the invoice and the cost for instances do not add up. The cost for each instances have been discounted by 30% and that amount is displayed in the “Total”.
  8. image
  9. Below is an explanation from a Latitude representative with explanation on our invoices.
  10. image
  11. Inv. 6EB6B308-0004 is for the 1 archival node and the rest are for validators. Thus, giving us a total of $10375.45.

Utilization

  1. Click on the desired instance from “Servers”
  2. The “Overview” section will provide the hardware spec as well as the IP assignment
  3. Click “Bandwidth” section to get the following information
image
  1. Latitude currenyly does NOT provide CSV data of the bandwidth or any other utilization. The only data provided is the graph shown above. I have reached out to a representative but the feature does not yet exist in Latitude.
  2. image

Digital Ocean

Cost

  1. Login to https://www.digitalocean.com/ with Harmony credentials (granted by admin (Soph))
  2. Billing access for Digital Ocean is only granted to the admin (Soph)
  3. Need to ask admin for the overall billing information

Cost by Instance

  1. On the left side navbar, click the desired project (in our case “Harmony-Mainnet”)
  2. image
  3. Click the desired instance and the price should be displayed
  4. image

Utilization

  1. Click on the desired instance from the desired proejct
  2. image
  3. On the left side navbar, click “Graphs” to get the following information (CPU Util, Bandwidth, and Disk I/O)
  4. image
  5. Currently trying to get in touch with Digital Ocean to see whether it is possible to extract the above information CSV file

Hetzner

Cost

  1. Launch Hetzner from Lastpass Vault (require access from any lastpass admin (ie. Soph))
  2. On the left side navbar, under “Invoices”, click on “Overview”
  3. image
  4. Download the invoice for the desired month
  5. Each instance is given and id and has multiple categories associated to it
  6. image
  7. Ensure to group all the categories by the given id to calculate the total cost of the certain instance (usually located right under the instance)
  8. Total cost is shown in the bottom of the file
  9. Hetzner invoices are in EUR but EUR/USD conversion is almost 1:1

Utilization

  1. Head over to “Hetzner Robot”
  2. image
  3. On the left side navbar, click on “Traffic statistics”
  4. image
  5. Select the desired instance and/or subnets (or click all)
  6. Click “Select period” at the bottom of the page and select the desired period
  7. Traffic usage for the selected instances will be graphed and the data will be displayed as following
  8. image
  9. Currently in contact with Hetzner to gain data on the CPU utilization