Home / Companies / SuperTokens / Blog / Post Details
Content Deep Dive

How we used multi-tenancy to cut our AWS costs by 50%

Blog post from SuperTokens

Post Details
Company
Date Published
Author
Joel Coutinho
Word Count
509
Language
English
Hacker News Points
-
Summary

SuperTokens implemented a multi-tenancy feature to significantly reduce AWS infrastructure costs by more than 50% and improve deployment efficiency. By re-architecting their hosting strategy, SuperTokens consolidated their user applications, allowing multiple organizations to sign up with customizable login methods and segmented user pools. Previously, each user application ran in its own EC2 instance, but with multi-tenancy, multiple users are now hosted as tenants on a single instance. This change not only led to substantial cost savings but also improved application startup times by 94%, allowing new apps to be created in seconds. While this approach was beneficial for SuperTokens in optimizing resource utilization and performance, the use case for other businesses might differ, and further information can be found on their multi-tenancy feature page.