ScyllaDB University Live | Free Virtual Training Event
Learn more
ScyllaDB Documentation Logo Documentation
  • Server
  • Cloud
  • Tools
    • ScyllaDB Manager
    • ScyllaDB Monitoring Stack
    • ScyllaDB Operator
  • Drivers
    • CQL Drivers
    • DynamoDB Drivers
  • Resources
    • ScyllaDB University
    • Community Forum
    • Tutorials
Download
ScyllaDB Docs ScyllaDB Cloud Getting Started Documentation Getting Started with ScyllaDB Cloud + DynamoDB Compatible API: A sample Media Player App with Alternator

Getting Started with ScyllaDB Cloud + DynamoDB Compatible API: A sample Media Player App with Alternator¶

1. Introduction¶

This guide will show you how to create a Cluster into ScyllaDB Cloud, create an Media Player app from scratch and configure it to use Scylla as the backend datastore. It’ll walk you through all the stages of the development process, from gathering requirements to building and running the application.

As an example, you will use an application called Media Player. Media Player stores all the tracks that you want to listen and count how many times you listened to. The application consists of three parts:

  • Validate if you have the Keyspace and Table needed to start storing your tracks/songs;

  • Access to an REPL with commands to store/list/delete songs;

  • Run a simple stresser into ScyllaDB Cloud.

2. Requirements¶

Before start your first project with Scylla Alternator API, we need to setup your environment.

2.1 Create a ScyllaDB Cloud account¶

Before you start coding the project, you should create an account at ScyllaDB Cloud or login if you already have one.

ScyllaDB Cloud Registration Page

2.2 Create a Sandbox Cluster¶

After create and login into your ScyllaDB Cloud account, click on “New Cluster” tab. There, you should:

  • Give your cluster a cool name for this project;

  • Select “ScyllaDB Alternator - DynamoDB API “ on the Scylla Version;

  • Select the nearest region for your cluster.

ScyllaDB Creating a new instance

After that, check the “t3.micro” model (Sandbox) and click in “Next”.

ScyllaDB Cloud Registration Page

On the network tab, just make sure that your IP Address is correct and click in “Launch Cluster”.

Cluster creating in progress page

3. Connecting into your cluster¶

Now that you have the ScyllaDB Alternator running, you will see a panel like the picture below. It will be a three node cluster.

Cluster Overview page

As you can see on the first node, the ip “18.231.92.93” will be used to connect on the “Endpoint URL” at any DynamoDB SDK or API.

Examples:

# Python Example
import boto3

alternator_client = boto3.resource('dynamodb',endpoint_url='http://localhost:8000',
                region_name='None', aws_access_key_id='None', aws_secret_access_key='None')
// PHP with AWS SDK
use Aws\DynamoDb\DynamoDbClient;

$alternatorClient = new DynamoDbClient([  
    'endpoint' => "18.231.92.93:8000", // Alternator
    'credentials' => ['key' => 'None', 'secret' => 'None'],  
    'region' => 'None'  
]);

Now you are able to send requests to your ScyllaDB Alternator instance! Select the SDK on the language of your preference and happy coding!

4. Next Steps¶

Now that you have everything ready, let’s move to the project Design and Data Model with DynamoDB spectations!

Was this page helpful?

PREVIOUS
Quick Start: Golang
NEXT
ScyllaDB Alternator: PHP Example
  • Create an issue
  • Edit this page

On this page

  • Getting Started with ScyllaDB Cloud + DynamoDB Compatible API: A sample Media Player App with Alternator
    • 1. Introduction
    • 2. Requirements
      • 2.1 Create a ScyllaDB Cloud account
      • 2.2 Create a Sandbox Cluster
    • 3. Connecting into your cluster
    • 4. Next Steps
ScyllaDB Cloud Getting Started Documentation
  • Getting Started
  • Design and Data Model
  • Build with JavaScript
  • Build with Java
  • Build with Elixir
  • Build with Python
  • Build with Ruby
  • Build with Rust
  • Build with Csharp
  • Build with Golang
  • Getting Started GitHub Repository
  • Alternator: Getting Started
  • Alternator: Build with PHP
  • Alternator: Build with Python
  • Getting Started GitHub Repository
Docs Tutorials University Contact Us About Us
© 2025, ScyllaDB. All rights reserved. | Terms of Service | Privacy Policy | ScyllaDB, and ScyllaDB Cloud, are registered trademarks of ScyllaDB, Inc.
Last updated on 05 May 2025.
Powered by Sphinx 7.4.7 & ScyllaDB Theme 1.8.6