Sync data from AWS Pricing to PostgreSQL

CloudQuery is a simple, fast and extensible data movement platform that allows you to sync data from any source to any destination.

awspricing
Destinations

Trusted by

Why CloudQuery?

We took care of everything, so you can do your job easily and efficiently.

Fast and reliable

CloudQuery’s efficient design means our syncs are fast and a sync from AWS Pricing to PostgreSQL can be completed in a fraction of the time compared to other tools.

Easy to get started, easy to maintain

AWS Pricing syncing using CloudQuery is easy to set up and maintain thanks to its simple YAML configuration. Once synced, you can use normal SQL queries to work with your data.

How to sync AWS Pricing data to PostgreSQL

CloudQuery is the simple, fast data integration platform that can fetch your data from AWS Pricing APIs and load it into PostgreSQL.

AWS Pricing

AWS Pricing

Source

Documentation
PostgreSQL

PostgreSQL

Destination

Documentation

Step 1: Install CloudQuery

Follow the steps below to start syncing data with CloudQuery.

Your operating system
Installation method

Copy&paste the following command to download

brew install cloudquery/tap/cloudquery

Sign in with CloudQuery

To sign in from the CLI, run the following command.

cloudquery login

A new browser window will open where you will complete the sign-in process.

Auto-generate sync configuration

Run the following command to create a configuration file:

cloudquery init --source awspricing --destination postgresql --spec-path awspricing_to_postgresql.yaml

Step 2: Additional source and destination configuration (optional)

AWS Pricing source plugin configuration

You can find more information about the configuration in the plugin documentation.

# awspricing.yml kind: source spec: name: awspricing path: cloudquery/awspricing spec: # per documentation at:

PPostgreSQL plugin configuration

You can find more information about the configuration in the plugin documentation.

# postgresql.yml kind: destination spec: name: postgresql path: cloudquery/postgresql spec: # per documentation at:

Step 3: Run the sync

Step 1. Copy and paste the command to trigger the sync

cloudquery sync awspricing_to_postgresql.yaml

Frequently asked questions about plugins

Detailed answers are here to help you get started.

PostgreSQL FAQ

Which database versions are supported?

The CloudQuery PostgreSQL integration supports syncing to PostgreSQL version 10 or higher and CockroachDB version 20.2 or higher.

Sync duration depends on several factors, but there are a number of CloudQuery features that ensure that syncs are as fast as possible. CloudQuery syncs data from AWS Pricing to PostgreSQL in a streaming fashion using Apache Arrow. This means that as soon as it receives data from AWS Pricing it delivers it to the PostgreSQL integration. This means that data is delivered as the sync progresses rather than only at the end.

Yes, you can configure multiple destination blocks for different PostgreSQL instances or databases.

Use indexing, partitioning, and batch inserts to manage large datasets effectively and minimize performance impacts.

Check CloudQuery logs for detailed error messages, validate connectivity settings, and monitor database performance using PostgreSQL’s built-in tools.

AWS Pricing FAQ

Do I need AWS credentials in order to sync from AWS pricing to PostgreSQL?

No, you don't need to provide access credentials to use CloudQuery to syncing data from AWS Pricing to PostgreSQL. This is because all information in the AWS Pricing API is publicly available and unrelated to your account or current billing setup.

Yes. If you have an offer code, then you can add this to the ‘offer_codes’ spec when you set up the sync. This code will then be applied to all pricing information that is returned during the sync.

Yes. This is done in the region_codes spec when you set up your sync. Keep in mind that regular expressions are not supported, so you will need to exactly specify which regions you want to receive pricing information for when you set up your AWS Pricing to PostgreSQL sync.
Fast and reliable

CloudQuery’s efficient design means our syncs are fast and a sync from AWS Pricing to PostgreSQL can be completed in a fraction of the time compared to other tools.

Easy to use, easy to maintain

AWS Pricing syncing using CloudQuery is easy to set up and maintain thanks to its simple YAML configuration. Once synced, you can use normal SQL queries to work with your data.

A huge library of supported destinations

PostgreSQL isn’t the only place we can sync your AWS Pricing data to. Whatever you need to do with your AWS Pricing data, CloudQuery can make it happen. We support a huge range of destinations, customizable transformations for ETL, and we regularly release new plugins.

Extensible and Open Source SDK

Write your own connectors in any language by utilizing the CloudQuery open source SDK powered by Apache Arrow. Get out-of-the-box scheduling, rate-limiting, transformation, documentation and much more.

Turn cloud chaos into clarity

Find out how CloudQuery can help you get clarity from a chaotic cloud environment with a personalized conversation and demo.

Join our mailing list

Subscribe to our newsletter to make sure you don't miss any updates.

Legal

© 2024 CloudQuery, Inc. All rights reserved.

We use tracking cookies to understand how you use the product and help us improve it. Please accept cookies to help us improve. You can always opt out later via the link in the footer.