DocumentaciónHelp

Connect the cost accounts

How to enable cost reading for Railway, GCP, AWS and Azure in Settings → FinOps integrations with their Cloud services connection, and how resources are linked to the inventory.

On this page

To see costs, ARGUNIS has to read the billing of each cloud account. It is enabled in Settings → FinOps integrations, which has one page per cloud: Railway, GCP, AWS and Azure. Each cloud's connection is created only once in Settings → Monitoring → Cloud services; here you only choose it. Everything is read-only.

Before you start

Railway

  1. Connect Railway in Settings → Monitoring → Cloud services, if it isn't connected yet.

  2. Go to Settings → FinOps integrations → Railway and, in the connection's row, click Read costs.

In Railway the cost is an estimate: usage at list price, without the plan fee, included credits or taxes. You can adjust the prices with Prices.

GCP, AWS and Azure

  1. Go to Settings → FinOps integrations and choose the cloud: GCP, AWS or Azure. Click Read Google Cloud costs, Read AWS costs or Read Azure costs.

  2. In Connection, choose the Cloud services connection. If there isn't one yet, the screen takes you to create it.

  3. Follow the steps shown on screen to add the cost permission to that connection. Each one includes the commands or policy ready to copy:

    • AWS: enable Cost Explorer (and resource-level data if you want it) and add the read-only policy ArgunisCostos to the connection's user or role.

    • Google Cloud: enable the billing export to BigQuery, specify the table and give the connection's service account read access to the dataset and permission to run queries.

    • Azure: give the connection's service principal the Cost Management Reader role and choose the scope.

  4. Review the Options and the Cost of reading notice: some clouds charge for each cost query. The screen estimates how much, with the chosen options.

  5. Click Test and then Save and read costs.

This page doesn't ask for the key. To change it, use Change key on the Cloud services connection.

In AWS, Google Cloud and Azure, what the cloud bills is shown. The last few days may change until the cloud closes them.

How resources are linked to the inventory

Each resource is linked to an inventory item with the first rule that matches:

  1. The argunis-ci tag (or argunis:ci, argunis_ci) on the resource, with the value host:12, database:3, service:5 or the name of a server, database, web check or APM service. In AWS, activate that tag in Billing → Cost allocation tags.

  2. The resource name against servers (name, address or hostname), databases and web checks.

  3. Everything else stays Unassigned and is assigned by hand in Costs → Resources.

If there is more than one candidate, the resource stays unassigned.

What happens next

ARGUNIS reads costs once a day and stores the daily history. To read right away, click Sync now (on the cloud's page or in Costs → Summary). The table shows the status, the last read, the Provider cutoff date and how many resources each account has.

With Cutoff date you specify the day your provider closes the billing cycle, so budgets and projections match your invoice. Pause stops reading without deleting what was stored.

Related

Search Argunis Monitoring

Type at least 2 characters to search Argunis Monitoring.

↑↓ to navigate · Enter to open · Esc to close