# Manage Billing from AWS Marketplace
EMQX Cloud supports paying for usage via the AWS Marketplace. You can link an EMQX account to an AWS Billing Account, as well as delete an existing subscription.
# Link an AWS Billing Account to EMQX Cloud
Sign in to your AWS account (opens new window).
Navigate to AWS Marketplace (opens new window).
Search for "EMQX Cloud (Pay as you go)" in the search bar. Alternatively, you can click AWS Marketplace at the bottom of the EMQX Cloud Sign in and Sign up page to go to the target page.
On the EMQX Cloud product overview page, click View purchase options.
On the Subscribe to EMQX Cloud (Pay As You Go) page, click Subscribe.
In the green banner displays at the top of the page, click Set Up Your Account button to redirect to EMQX Cloud website.
Set up EMQX account.
- If you are already signed in to an existing EMQX account, you are automatically redirected to the index page. A modal will display the status of linking to your AWS Billing Account.
- If you are not already signed in to an existing EMQX account, you are prompted to sign in to an EMQX account. Upon successful sign-in, you are automatically redirected to the index page. A modal will display the status of linking to your AWS Billing Account.
- Wait for AWS to finish syncing. EMQX Cloud index page displays a pop-up notifying you that account syncing status. Additionally, the Payment Method field of the Billing page will change to AWS Marketplace Subscription when the sync is complete.
The following situations will cause a failure on account linking.
- The EMQX account already has been set up a credit card.
- The EMQX account uses Available Credits.
- The EMQX account already has been linked to a Marketplace EMQX Cloud product.
If you still encounter a problem, please submit a ticket to get help.
# Unlink an AWS Billing Account from EMQX Cloud
- Sign in to your AWS account (opens new window).
- Navigate to AWS Marketplace (opens new window).
- Navigate to the Manage Subscriptions page.
- Select the EMQX Cloud (Pay as You Go) subscription that you wish to unlink.
- Click the Actions button in the Agreement section. A dropdown with available actions is displayed.
- In the dropdown, click Cancel Subscription.
- A modal asking you if you are sure you want to cancel your subscription displays. If you wish to cancel your subscription, type "EMQX Cloud (Pay as you go)" in the input box. Then click Yes, cancel subscription. Upon successful cancellation of your subscription, a green banner displays at the top of the Manage Subscriptions page.
- Cancelling subscription will stop your running deployments except the trial deployment. You can keep using the trial deployment until the trial ends.
- The stopped deployment will be deleted after 3 days.