Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blog updates #202

Merged
merged 2 commits into from
Oct 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -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.

Expand Down
7 changes: 6 additions & 1 deletion content/auth0-pricing-the-complete-guide/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -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.
9 changes: 7 additions & 2 deletions content/cognito-pricing-the-complete-guide/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,20 @@ 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.
- **Managed Service:**
- 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.
14 changes: 7 additions & 7 deletions content/how-we-cut-our-aws-costs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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:
Expand All @@ -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.

Expand All @@ -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.

9 changes: 7 additions & 2 deletions content/okta-pricing-the-complete-guide/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,15 +84,20 @@ 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.
- **Managed Service:**
- 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.
Loading