Need help setting up AWS Marketplace billing for CloudQuery subscription

Hello folks,

I would like to manage my subscription via AWS Marketplace and have made the purchase. Is there documentation that guides me on how to set it up so that I get billed via the AWS Marketplace? I still get billed directly via CloudQuery.

Hi @white-moon, can you share how you’re running the CloudQuery syncs?

Hello Erez, I am running them on ECS Fargate in my AWS account.

Which docs did you follow to set this up? You’d need to follow the instructions from AWS Marketplace to download the custom container image.

Ah right. So I pull the custom container and run that on my ECS Fargate instead of the public one on ghcr? Which API key would I use then?

You still need the CLOUDQUERY_API_KEY to download plugins, but the Docker image is set up that it will report usage to AWS instead of CloudQuery.
The code is actually public here: https://github.com/cloudquery/plugin-sdk/blob/6d70b88808aa144c4c05e007b291bd8d958858e4/premium/usage.go#L511

Oh perfect. Thanks, I will set that image up. Does using from AWS Marketplace also include the monthly free quota for 1M rows on various source plugins? E.g. AWS, Azure, etc?

Let me check with the team in charge about the free quota and get back to you.

Hi @white-moon, so there is no free quota via the marketplace available because AWS does not offer that capability for usage-based products.

Regarding the deployment, best to follow this documentation to set CQ_AWS_MARKETPLACE_CONTAINER=true env variable.

ok. thanks for the confirmation @erez. will go through the documentation and set it up.