Quickstart
Onboarding
S2 is available for sign-up in preview. We are not charging in this period.
If your usage is significant e.g. sustained throughput of tens to hundreds of MiBps, we will get in touch. You can also reach out to us by email or Discord.
Log in to the dashboard.
Create a new organization and generate a new access token.
Get started with the CLI
Install the S2 CLI
This method works on macOS and Linux distributions with Homebrew installed.
This method works on macOS and Linux distributions with Homebrew installed.
Check out the S2 CLI Releases for prebuilt binaries for many different architectures and operating systems.
Linux and macOS users can download the release binary using:
The script will install the binary in ~/.s2/bin
and modify
the shell profile file to add it to the path. Make sure to
reload the shell or open up a new terminal after completing
the installation.
The binary should be installed as s2
.
Persist your access token
Create a new basin
Basin names must be globally unique. Try creating a basin with your
GitHub handle, something like username-first-basin
.
A basin name must be between 8 and 48 characters long and comprise lowercase letters, numbers and hyphens. It cannot begin or end with a hyphen.
Let’s double-check that the new basin is active. You should see its name in the list with an active
status:
Grab your popcorn!
Nothing better than Star Wars to give us a good sense of how we can exercise append
and read
sessions, and see what data in motion looks like.
We will start by creating a new stream called starwars
.
Some of you may have watched the movie in ASCII over telnet from towel.blinkenlights.nl
!
We will do the same, except we will “append” the movie to our starwars
stream while we also tail it.
Start by creating a read session like so:
Open another terminal and start an append session:
Go back to the previous terminal with the read session to enjoy the movie:
Estimate your end-to-end latency
Create a new stream in a basin with a storage class you intend to use
Run the ping test
Basins are regional in scope, and currently they are always created in aws:us-east-1
. So depending on where you are in the world, your latency will vary. More info.