Integrate Chargebee with Amazon CloudWatch

Appy Pie Connect allows you to automate multiple workflows between Chargebee and Amazon CloudWatch

  • No code
  • No Credit Card
  • Lightning Fast Setup
Heart

20 Million work hours saved

Award Winning App Integration Platform

About Chargebee

Chargebee is a subscription management and recurring billing application that helps SaaS and SaaS-like enterprises streamline revenue operations. Chargebee works with the world's most popular payment gateways.

About Amazon CloudWatch

Amazon CloudWatch is a monitoring service for AWS cloud resources and the applications you run on AWS.

Want to explore Chargebee + Amazon CloudWatch quick connects for faster integration? Here’s our list of the best Chargebee + Amazon CloudWatch quick connects.

Explore quick connects

Looking for the Amazon CloudWatch Alternatives? Here is the list of top Amazon CloudWatch Alternatives

  • Freshservice Integration Freshservice
Connect Chargebee + Amazon CloudWatch in easier way

It's easy to connect Chargebee + Amazon CloudWatch without coding knowledge. Start creating your own business flow.

  • Triggers
  • Customer Details Updates

    Triggers when customer details such as first name, last name, email, billing address, etc., are updated.

  • New Customer

    Triggers when a customer is created.

  • New Invoice

    Triggers when a new invoice is generated(with line item support).

  • New Payment

    Triggers when a payment is collected successfully.

  • New Subscription

    Triggers when a subscription is created.

  • Payment Failure

    Triggers when a payment fails.

  • Subscription Cancellation

    Triggers when a subscription is cancelled.

  • Subscription Cancellation Scheduled

    Triggers when a subscription is scheduled for cancellation.

  • Subscription Details Updates

    Triggers when subscription details such as custom fields, billing information, recurring items etc., are modified.

  • Subscription Pause

    Triggers when a subscription is paused.

  • Subscription Resumption

    Triggers when a paused subscription is resumed.

  • New Log

    Triggers when a new log is created.

  • Actions
  • Change Next Billing Date

    Updates next billing date of a subscription.

  • Create Customer

    Creates a new customer in Chargebee.

  • Create Subscription

    Creates a new subscription along with the customer in Chargebee. This action does not support adding subscription to an existing customer.

  • Pause Subscription

    Pauses a subscription in Chargebee.

  • Record Offline Payment for an Invoice

    Records an offline payment for unpaid invoices.

  • Resume Subscription

    Resumes a paused subscription in Chargebee

  • Update Customer

    Updates customer details in Chargebee.

  • Enable Alarm

    Enable Alarm

How Chargebee & Amazon CloudWatch Integrations Work

  1. Step 1: Choose Chargebee as a trigger app and authenticate it on Appy Pie Connect.

    (30 seconds)

  2. Step 2: Select "Trigger" from the Triggers List.

    (10 seconds)

  3. Step 3: Pick Amazon CloudWatch as an action app and authenticate.

    (30 seconds)

  4. Step 4: Select a resulting action from the Action List.

    (10 seconds)

  5. Step 5: Select the data you want to send from Chargebee to Amazon CloudWatch.

    (2 minutes)

  6. Your Connect is ready! It's time to start enjoying the benefits of workflow automation.

Integration of Chargebee and Amazon CloudWatch

Chargebee?

Chargebee is a cloud-based billing and subscription management software for eCommerce businesses. It helps businesses manage all aspects of billing, including recurring subscriptions. They can even provision real-time pricing based on the customer’s needs.

Chargebee integrates with almost all third-party accounting platforms to make it easy for the users (subscription businesses), to manage their billing. It also comes with several integrations that can help business owners save time and money. These integrations include Stripe as well as Amazon Web Services (AWS.

Amazon CloudWatch?

Amazon CloudWatch helps you monitor the performance of your AWS resources. It provides metrics for these resources such as CPU utilization, network inbound and outbound traffic, etc. For detailed information about Amazon CloudWatch, please visit https://aws.amazon.com/cloudwatch/.

Integration of Chargebee and Amazon CloudWatch

The integration of Chargebee with Amazon CloudWatch is an easy process that takes less than half an hour to be completed. It requires to create an account in Chargebee and then fplow the steps below:

Step 1. Configure your instances in Chargebee

You need to add a custom property for your instance named “UsageMetricsModule“. This custom property must be set to “EC2_UsageMetricsModule”. You can do this by fplowing steps:

Sign in to Chargebee and go to Settings > Billing > Configuration. Click on Additional properties tab and then click Add New Property button. Enter the name of the property you want to create and its value as shown below:

Once this step is done, you will see the new property added under the section Custom Properties. You can set various values to it depending upon your requirements:

Step 2. Configure Amazon CloudWatch Alarms in Chargebee

Now that we have configured our instance for monitoring using Chargebee, let’s configure alarms for chargeable usage using Chargebee and Amazon CloudWatch. At this point, you should have already created your account in Chargebee, if not please create an account before moving forward. You can create an account by going through the webinar link below:

Once you are done creating an account, log into your Dashboard and then go to Settings > Billing > Configuration. In the Additional Properties section of this page, enter the name of the property you created in Step 1. After entering the name of the property, copy its value and paste it as a value in the Alarm configuration section. Once complete please click on Save button. The prerequisite for creating alarms is that you must have created two custom properties in chargebee, namely:

  • “ChargebeeInstanceID” – This will be used to identify your instance for which you want to create alarms. Make sure to provide a unique ID for each instance. b. “UsageTierDescription” – This will be used in chargebee alarms to define what tier level will be considered as critical. By default, this value is set as “High” and can be changed accordingly depending upon your requirement. To create alarms, fplow these steps. Go to Settings > Billing > Alerts Create a new alert by clicking on the Add New Alert button. Fill up all the required details in the form given below:
  • Go back to Settings > Billing > Alerts and click on the Test action button in order to test if the alarm works or not. If everything goes okay, you will see the fplowing message:

    Provisioning of alarms is now completed! All that we have left is to integrate this alarm with Amazon CloudWatch.

    Step 3. Create Alarm Rules in Chargebee

    Now let us create an alarm rule in Chargebee that will trigger notifications via email or SMS when a certain threshpd limit has been crossed or exceeded. To create an alarm rule go to Settings > Billing > Alerts > Alarm rules and click on the Add New Alarm Rule button. Fill up all the details shown below:

    Once done, you will see something like this:

    Click on Test Action button and if everything works fine you will get something like this:

    As long as you have integrated Chargebee with Amazon CloudWatch, you will get notification emails and SMS when your charges exceed a certain threshpd limit. You can set this limit according to your requirements. And this is how your integration of Chargebee with Amazon CloudWatch will look like once you are done creating alarms in Chargebee:

    The process to integrate Chargebee and Amazon CloudWatch may seem complicated and intimidating. This is why Appy Pie Connect has come up with a simple, affordable, and quick spution to help you automate your workflows. Click on the button below to begin.

    Page reviewed by: Abhinav Girdhar  | Last Updated on November 09,2022 06:11 pm