From c81cb14ca9b5a1a5c7cdd94ba6752521cc3af5ad Mon Sep 17 00:00:00 2001 From: Joel Coutinho Date: Thu, 5 Oct 2023 13:49:22 +0530 Subject: [PATCH 1/2] fixes to st infra blog 1 --- content/how-we-cut-our-aws-costs/index.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/content/how-we-cut-our-aws-costs/index.md b/content/how-we-cut-our-aws-costs/index.md index 13813517..ad20f8ac 100644 --- a/content/how-we-cut-our-aws-costs/index.md +++ b/content/how-we-cut-our-aws-costs/index.md @@ -11,7 +11,7 @@ In this two part series we will go over SuperTokens manged service infrastructur **Part 1: How does the SuperTokens managed service work and why does it need to change.** -[**Part 2: Using multi-tenancy to cut our AWS infra costs by by more than 50%**](./how-we-cut-our-aws-costs-part-2/) +[**Part 2: Using multi-tenancy to cut our AWS infra costs by more than 50%**](./how-we-cut-our-aws-costs-part-2/) ## Introduction @@ -24,13 +24,13 @@ To gain a better understanding of the SuperTokens infrastructure, it's crucial t ![SuperTokens Deployment process](./supertokens-deployment-process.png) -SuperTokens allow users to use the SuperTokens SAAS service in two modes: development and production. Here’s the breakdown of each: +SuperTokens allows users to use the SuperTokens SAAS service in two modes: development and production. Here’s the breakdown of each: **Development Mode:** -The Development mode runs on an *EC2 T3.small* instance. To maximize resource utilization, we deploy up to seven development core instances on the same *T3.small* instance. This configuration results in a remarkably swift setup for new development cores, typically taking a mere 15-20 seconds and is suitable for testing purposes. +The Development mode used to run on an *EC2 T3.small* instance. To maximize resource utilization, we would deploy up to seven development core instances on the same *T3.small* instance. This configuration resulted in a remarkably swift setup for new development cores, typically taking a mere 15-20 seconds and was suitable for testing purposes. **Production mode:** -In contrast, production mode follows a different deployment strategy. Each production mode deployment is hosted on a dedicated *EC2 T2.micro* instance. This means that when a new production SuperTokens core instance needs to be created, a fresh *T2.micro* instance is spun up, and docker is installed on it using System Manager. Consequently, this process requires additional time compared to the development mode, with an average deployment time of around 4-5 minutes. +In contrast, the production mode followed a different deployment strategy. Each production mode deployment was hosted on a dedicated *EC2 T2.micro* instance. This meant that when a new production SuperTokens core instance had to be created, a fresh *T2.micro* instance was spun up, and docker was installed using System Manager. Consequently, this process required additional time when compared to the development mode, with an average deployment time of around 4-5 minutes. For example, if 7 users were to sign up for SuperTokens, it would look like the following: @@ -39,7 +39,7 @@ For example, if 7 users were to sign up for SuperTokens, it would look like the ### Initial Improvements to the deployment cycle -One of our initial optimizations focused on reducing the startup time for generating production instances. We recognized that creating a custom [AMI](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AMIs.html)(Amazon Machine Image) pre-installed with Docker alongside the operating system that would cut down on start-up time. This change trimmed approximately 45 seconds from the production deployment procedure, reducing the setup time to approximately 3-4 minutes. +One of our initial optimizations focused on reducing the startup time for generating production instances. We recognized that creating a custom [AMI](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AMIs.html)(Amazon Machine Image) pre-installed with Docker alongside the operating system would cut down on start-up time. This change trimmed approximately 45 seconds from the production deployment procedure, reducing the setup time to approximately 3-4 minutes. In retrospect, another avenue for improvement that we identified was the usage of [AWS Reserved Instances](https://aws.amazon.com/ec2/pricing/reserved-instances/). While this approach would have entailed an upfront cost, it would have resulted in substantial long-term savings. @@ -48,7 +48,7 @@ So what prompted us to change our deployment process? ## Why we had to change our deployment process The past year has been quite a ride for SuperTokens. We released a host of new features and saw a big uptick in users. But, as our user numbers climbed, so did our infrastructure costs. With our AWS credits running out soon, we knew we had to do something to cut our expenses. -With the release of our new multi-tenancy feature we saw it as an opportunity to optimize the utilization of our EC2 instances by consolidating our core instances. This would cut down our costs while also providing the expected performance. +While working on our new multi-tenancy feature, we saw an opportunity to optimize the utilization of our EC2 instances by consolidating our core instances. This would cut down our costs while also providing the expected performance. -In part 2 we will go over the changes we made to achieve this. +In [part 2](./how-we-cut-our-aws-costs-part-2) we will go over the changes we made to achieve this. From 3203d99bc9affd39ac365901a7c366b4751466dc Mon Sep 17 00:00:00 2001 From: Joel Coutinho Date: Thu, 5 Oct 2023 17:50:08 +0530 Subject: [PATCH 2/2] updates pricing information in legacy guides --- .../index.md | 7 ++++++- content/auth0-pricing-the-complete-guide/index.md | 7 ++++++- content/cognito-pricing-the-complete-guide/index.md | 9 +++++++-- content/okta-pricing-the-complete-guide/index.md | 9 +++++++-- 4 files changed, 26 insertions(+), 6 deletions(-) diff --git a/content/auth0-alternatives-auth0-vs-okta-vs-cognito-vs-supertokens/index.md b/content/auth0-alternatives-auth0-vs-okta-vs-cognito-vs-supertokens/index.md index cdad76ac..455128f8 100644 --- a/content/auth0-alternatives-auth0-vs-okta-vs-cognito-vs-supertokens/index.md +++ b/content/auth0-alternatives-auth0-vs-okta-vs-cognito-vs-supertokens/index.md @@ -182,7 +182,7 @@ SuperTokens differentiates itself from its competitors with its flexibility. If - As of writing this article supertokens supports `Nodejs`, `Golang` and `Python` on the backend with `Reactjs(All Features)`, `VanillaJS(only session management)` and `React Native(only session management)` on the frontend. They currently do not support many popular languages like `Java` and `Php` and they do not have pre-built UI for popular frontend frameworks like `Angular` and `Vue`. ## SuperTokens Pricing: -At the time of writing this article, the SuperTokens feature set is completely free. If you decide to use the self-hosted version you can download the core and use it for free for an unlimited amount of users. +At the time of writing this article, the SuperTokens core feature set is completely free and they offer paid add-ons. If you decide to use the self-hosted version you can download the core and use it for free for an unlimited amount of users. ![supertokens pricing](./supertokens_pricing.png) @@ -193,6 +193,11 @@ At the time of writing this article, the SuperTokens feature set is completely f - Free for the first **5000 MAUs** . - 2 cents / MAU post the first **5000 MAUs**. + #### Add-ons + - Multi-tenancy + - Account Linking + - 2FA + ### So is SuperTokens the way to go? SuperToken's feature set and pricing make it a great choice for startups and mid-level businesses, but it may not be the best fit for large organisations that require enterprise features. diff --git a/content/auth0-pricing-the-complete-guide/index.md b/content/auth0-pricing-the-complete-guide/index.md index 0e9717b4..b3c79419 100644 --- a/content/auth0-pricing-the-complete-guide/index.md +++ b/content/auth0-pricing-the-complete-guide/index.md @@ -82,7 +82,7 @@ Similar to the first use case, the B2B plan also has essential, professional, an SuperTokens is an open-source authentication solution that provides a managed service for hassle-free auth and an on-prem solution so companies can easily manage their data. ### SuperTokens Pricing: -At the time of writing this article, the core SuperTokens feature set is completely free. If you decide to use the self-hosted version, you can download the core and set up authentication for free for an unlimited number of users. +At the time of writing this article, the core SuperTokens feature set is completely free and they offer paid add-ons. If you decide to use the self-hosted version, you can download the core and set up authentication for free for an unlimited number of users. ![SuperTokens pricing plan](./supertokens_pricing.png) @@ -92,5 +92,10 @@ At the time of writing this article, the core SuperTokens feature set is complet - Free for the first 5000 MAUs. - 2 cents / MAU post the first 5000 MAUs. +**Add-ons** + - Multi-tenancy + - Account Linking + - 2FA + ### Should you use SuperTokens? SuperToken’s feature set and pricing make it an excellent choice for startups and mid-level businesses, but it may not be the best fit for large organizations that require enterprise features. diff --git a/content/cognito-pricing-the-complete-guide/index.md b/content/cognito-pricing-the-complete-guide/index.md index 4c8e4d9a..c1909b08 100644 --- a/content/cognito-pricing-the-complete-guide/index.md +++ b/content/cognito-pricing-the-complete-guide/index.md @@ -53,9 +53,9 @@ Cognito offers pricing tiers for additional MAUs and users with SAML/OIDC connec SuperTokens is an open-source authentication solution that provides a managed service for hassle-free auth and an on-prem solution so developers can manage their data. ### SuperTokens Pricing: -At the time of writing this article, the SuperTokens feature set is completely free. If you decide to use the self-hosted version you can download the core and use it for free for an unlimited number of users. +At the time of writing this article, the core SuperTokens feature set is completely free and they offer paid add-ons. If you decide to use the self-hosted version, you can download the core and set up authentication for free for an unlimited number of users. -![SuperTokens Pricing](./supertokens_pricing.png) +![SuperTokens pricing plan](./supertokens_pricing.png) - **Self-Hosted:** - Free forever for unlimited users. @@ -63,5 +63,10 @@ At the time of writing this article, the SuperTokens feature set is completely f - Free for the first 5000 MAUs. - 2 cents / MAU post the first 5000 MAUs. +**Add-ons** + - Multi-tenancy + - Account Linking + - 2FA + ### Should you use SuperTokens? SuperToken’s feature set and pricing make it an excellent choice for startups and mid-level businesses, but it may not be the best fit for large organizations that require enterprise features. diff --git a/content/okta-pricing-the-complete-guide/index.md b/content/okta-pricing-the-complete-guide/index.md index 80693c7c..de21d493 100644 --- a/content/okta-pricing-the-complete-guide/index.md +++ b/content/okta-pricing-the-complete-guide/index.md @@ -84,9 +84,9 @@ You can find a complete guide to Auth0’s pricing [here](https://supertokens.co SuperTokens is an open-source authentication solution that provides a managed service for hassle-free auth and an on-prem solution so developers can manage their data. ### SuperTokens Pricing: -At the time of writing this article, the SuperTokens feature set is completely free. If you decide to use the self-hosted version you can download the core and set up authentication for free for an unlimited number of users. +At the time of writing this article, the core SuperTokens feature set is completely free and they offer paid add-ons. If you decide to use the self-hosted version, you can download the core and set up authentication for free for an unlimited number of users. -![SuperTokens pricing](./supertokens_pricing.png) +![SuperTokens pricing plan](./supertokens_pricing.png) - **Self-Hosted:** - Free forever for unlimited users. @@ -94,5 +94,10 @@ At the time of writing this article, the SuperTokens feature set is completely f - Free for the first 5000 MAUs. - 2 cents / MAU post the first 5000 MAUs. +**Add-ons** + - Multi-tenancy + - Account Linking + - 2FA + ### Should you use SuperTokens? SuperToken’s feature set and pricing make it an excellent choice when compared to Okta’s Customer Identity solution but it does not have the feature set to compare with Okta’s Workforce Identity products. \ No newline at end of file