Quickstart
Onboarding
S2 is available for preview. Apply now to get started!
Log in to the dashboard.
Create a new organization and generate a new authentication token.
Get started with the CLI
Install the S2 CLI
This method works on macOS and Linux distributions with Homebrew installed.
The binary should be installed as s2
.
Persist your authentication token
Create a new basin
Basin names must be globally unique. Try creating a basin with your
GitHub handle, something like my-username-basin
.
A basin name must be between 8 and 48 characters long and comprise lowecase letters, numbers and hyphens. It cannot begin or end with a hyphen.
Check if the basin is active. You should see your basin’s name in the list
with an active
status:
Grab your popcorn!
Nothing better than Star Wars to get us a good feeling 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
.
If you remember the good old days of ASCII art, some of you may have streamed
Star Wars from towel.blinkenlights.nl
on a telnet client!
We will do the same, except we will “append” the movie to our starwars
stream,
and read from the stream live.
Start by creating a read session like so:
Open another terminal and start an append session:
Go back to the previous terminal with 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