Skip to main content

Host your data on the provider of your choice

For some providers, it is possible to store your cost data on a dedicated S3 bucket and database, hosted on the cloud provider of your choice.

This page explains step by step how to set it up.

For new accounts, after your initial login you are asked to provide this information if you want. For existing accounts, or for users who decided not to do it after the initial login, you can configure this at any point in time.

From the Holori homepage, navigate to the configuration page by clicking on your username at the bottom left corner. Then click on Settings and go to the S3 Bucket and Database tab.

Select your cloud provider below. Each tab covers both the S3 bucket and the database setup for that provider.

info

Whichever provider you choose, make sure the following IP addresses are whitelisted on your database's firewall or security group so Holori's servers can connect: 52.47.71.189/32, 52.47.172.58/32, and 35.181.254.208/32.

S3 bucket

There are two ways to create the S3 bucket on AWS. You'll see two tabs corresponding to both options in the App.

Using CloudFormation

Open the URL in the App to navigate to CloudFormation with automatically filled parameters.

Once the S3 bucket is created, copy and paste the following information into Holori: the region name, bucket name, access key ID, and secret access key.

Once done, click on Continue.

Manually using the AWS Console

1. Create the bucket

  1. Choose the region you want to create the bucket in. This can be selected in the top right corner of your screen.
  2. Copy the region name and paste it into Holori.
  3. Navigate to the S3 service.
  4. Click on Create bucket.
  5. Give your bucket a name, then copy and paste it into Holori.
  6. Leave the other settings at their default values and click on Create.

Your bucket is now created.

2. Create the access keys

  1. Navigate to the IAM service.
  2. Select Users in the left sidebar.
  3. Click on Create user.
  4. Give it a specific name for this use case, for example Holori S3 archive.
  5. Click on Next.
  6. Select Attach policies directly, then click on Create policy.
  7. In the new tab, click on JSON and paste the following permission:
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": [
"s3:PutObject",
"s3:GetObject",
"s3:ListBucket",
"s3:DeleteObject"
],
"Resource": [
"arn:aws:s3:::<your-bucket-name>",
"arn:aws:s3:::<your-bucket-name>/*"
]
}
]
}
  1. Click on Next, give the policy a name, then click on Create policy.
  2. Make sure the policy you just created is selected for the user.
  3. Click on Next, verify that everything is correct, then click on Create user.
  4. Open the newly created user's details and click on Identification and security information.
  5. Scroll down to Access keys and click on Create access key.
  6. Select one of the options, confirm it, then click on Next.
  7. Give it a name and click on Next.
  8. Click on Download .csv file. You will not be able to access the secret key again after leaving this page.
  9. Open the downloaded file and copy the Access key ID and Secret access key into Holori.

You've now created your access keys. You can close the CSV file and the key creation page.

Database

There are two ways to create the database on AWS. You'll see two tabs corresponding to both options in the App.

Using CloudFormation

Open the URL in the App to navigate to CloudFormation with automatically filled parameters.

Once the database is created, copy and paste the following information into Holori: the host, username, and password.

Once done, click on Continue.

Manually using the AWS Console

First, open and connect to your AWS web console.

1. Create the database

  1. Choose the region you want to create the database in. This can be selected in the top right corner of your screen.
  2. Navigate to the RDS service.
  3. Click on Create database in the Create with a complete configuration card.
  4. Choose PostgreSQL.
  5. Choose Standard create.
  6. Select the Free tier template.
  7. Choose Single-AZ deployment.
  8. Select a value for Engine version of 17 or higher.
  9. Give your database instance a name in DB instance identifier.
  10. Enter a Master username and copy and paste it into Holori.
  11. Enter a strong Master password and copy and paste it into Holori.
  12. Select a public VPC and subnet group, creating them if needed.
  13. Select Public access.
  14. Select a security group that allows Holori's servers to access your database.
  15. CloudWatch settings are optional, you can disable them if you don't need them.
  16. Click on Create database. Creation can take a few minutes.

Your database is now created.

2. Get the database endpoint

  1. Navigate to the database you just created.
  2. Open the Connectivity and security tab.
  3. Under Endpoints, find the Additional configurations section.
  4. Copy the Endpoint value and paste it into Holori.
  5. Click on Continue.