> ## Documentation Index
> Fetch the complete documentation index at: https://clickhouse.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Migrate billing from pay-as-you-go (PAYG) to a committed spend contract in a cloud marketplace

> Migrate from pay-as-you-go to committed spend contract.

If your ClickHouse organization is currently billed through an active cloud marketplace pay-as-you-go (PAYG) subscription (or order) and you wish to migrate to billing via a committed spend contract through the same cloud marketplace, please accept your new offer and then follow the steps below based on your cloud service provider.

<h2 id="important-notes">
  Important Notes
</h2>

Please note that canceling your marketplace PAYG subscription doesn't delete your ClickHouse Cloud account - only the billing relationship via the marketplace. Once canceled, our system will stop billing for ClickHouse Cloud services through the marketplace. (Note: this process isn't immediate and may take a few minutes to complete).

After your marketplace subscription is canceled, if your ClickHouse organization has a credit card on file, we will charge that card at the end of your billing cycle - unless a new marketplace subscription is attached beforehand.

If no credit card is configured after cancellation, you will have 14 days to add either a valid credit card or a new cloud marketplace subscription to your organization. If no payment method is configured within that period, your services will be suspended and your organization will be considered out of [billing compliance](/docs/products/cloud/reference/billing/billing-compliance).

Any usage accrued after the subscription is canceled will be billed to the next configured valid payment method - either a prepaid credit, a marketplace subscription, or credit card in that order.

For any questions or support with issues configuring your organization to a new marketplace subscription please reach out to ClickHouse [support](https://clickhouse.com/support/program) for help.

<h2 id="aws-marketplace">
  AWS Marketplace
</h2>

If you want to use the same AWS Account ID for migrating your PAYG subscription to a committed spend contract then our recommended method is to [contact sales](https://clickhouse.com/company/contact) to make this amendment. Doing so means no additional steps are needed and no disruption to your ClickHouse organization or services will occur.

If you want to use a different AWS Account ID for migrating your ClickHouse organization from a PAYG subscription to a committed spend contract then follow these steps:

<h3 id="cancel-aws-payg">
  Steps to Cancel AWS PAYG Subscription
</h3>

1. **Go to the [AWS Marketplace](https://us-east-1.console.aws.amazon.com/marketplace)**
2. **Click on the "Manage Subscriptions" button**
3. **Navigate to "Your Subscriptions":**
   * Click on "Manage Subscriptions"
4. **Find ClickHouse Cloud in the list:**
   * Look and click on ClickHouse Cloud under "Your Subscriptions"
5. **Cancel the Subscription:**
   * Under "Agreement" click on the "Actions" dropdown or button next to the ClickHouse Cloud listing
   * Select "Cancel subscription"

> **Note:** For help cancelling your subscription (e.g. if the cancel subscription button isn't available) please contact [AWS support](https://support.console.aws.amazon.com/support/home#/).

Next follow these [steps](/docs/products/cloud/reference/billing/marketplace/aws-marketplace-committed) to configure your ClickHouse organization to the new AWS committed spend contract you accepted.

<h2 id="gcp-marketplace">
  GCP Marketplace
</h2>

<h3 id="cancel-gcp-payg">
  Steps to Cancel GCP PAYG Order
</h3>

1. **Go to your [Google Cloud Marketplace Console](https://console.cloud.google.com/marketplace):**
   * Make sure you're logged in to the correct GCP account and have selected the appropriate project
2. **Locate your ClickHouse order:**
   * In the left menu, click "Your Orders"
   * Find the correct ClickHouse order in the list of active orders
3. **Cancel the order:**
   * Find the three dots menu to the right of your order and follow the instructions to cancel the ClickHouse order

> **Note:** For help cancelling this order please contact [GCP support](https://cloud.google.com/support/docs/get-billing-support).

Next follow these [steps](/docs/products/cloud/reference/billing/marketplace/gcp-marketplace-committed) to configure your ClickHouse organization to your new GCP committed spend contract.

<h2 id="azure-marketplace">
  Azure Marketplace
</h2>

<h3 id="cancel-azure-payg">
  Steps to Cancel Azure PAYG Subscription
</h3>

1. **Go to the [Microsoft Azure Portal](http://portal.azure.com)**
2. **Navigate to "Subscriptions"**
3. **Locate the active ClickHouse subscription you want to cancel**
4. **Cancel the Subscription:**
   * Click on the ClickHouse Cloud subscription to open the subscription details
   * Select the "Cancel subscription" button

> **Note:** For help cancelling this order please open a support ticket in your Azure Portal.

Next, follow these [steps](/docs/products/cloud/reference/billing/marketplace/azure-marketplace-committed) to configure your ClickHouse organization to your new Azure committed spend contract.

<h2 id="linking-requirements">
  Requirements for Linking to Committed Spend Contract
</h2>

> **Note:** In order to link your organization to a marketplace committed spend contract:
>
> * The user following the steps must be an admin user of the ClickHouse organization you're attaching the subscription to
> * All unpaid invoices on the organization must be paid (please reach out to ClickHouse [support](https://clickhouse.com/support/program) for any questions)
