Platforms
Last updated
Was this helpful?
Last updated
Was this helpful?
A platform is basically the IT infrastructure that runs your SaaS product, typically on AWS, Azure or Google Cloud Platform. Your platform is what hosts the tenants that contain your customers' data.
Bunny allows you to integrate your platform in two different ways:
Usage-reporting (platform to Bunny)
Tenant provisioning (Bunny to platform)
If your business is not a SaaS company, you don't have to worry about tenant provisioning, but you might still need usage reporting.
Most SaaS companies have only one platform, but if your company acquired a competitor or built out a new product on a completely different infrastructure, it's possible that you have multiple platforms.
There are two ways of integrating platforms for provisioning with Bunny. In the example below, we have a SaaS company's main platform as well as a BI platform that is sold as a separate product. The BI platform runs on a different architecture and is run separately by another team.
Whether you integrate each platform directly with Bunny or though a gateway is purely a matter of what makes most sense for you. There is no right or wrong way to do it. Ask us for advice if you're in doubt.
As your SaaS business grows, you may add additional shards (or data centers) in order to scale with your customer base. Bunny doesn't know about your internal sharding achitecture and you would need to implement your own logic for determining which shard a tenant belongs to.
If you are going to offer usage-based pricing where the quantity of a certain unit isn't known in advance, such a text messages sent by users in a given period, your platform will need to report these to Bunny on a regular basis.
In the SaaS world, users are typically paid for up front and committed to for a contractual period, but you can absolutely make this usage-based. Just let Bunny know who many active users each tenant has for every period and your customers will only be billed for their consumption.
A very powerful capability of Bunny is automatically updating the tenants in your platform as subscriptions change. Consider the sales to a customer.
March 1: Subscription created for 10 users on the Small plan
April 9: Add 5 users.
April 20: Upgrade to the Medium plan with more features
May 10: Add 5 users.
Each deal would require someone to tell your platform about the changes to the subscription. This is often done with manual data entry, which both slow and error-prone, but Bunny can fully automate the process for you.
The next section about features goes into more details about this.
To learn about about how to integrate for usage-reporting, see in the developer documentation.