Skip to content

Commit 913a7be

Browse files
authored
Adding DEMO UI app to the docs site (#21)
* add demo ui app to the docs * minor changes
1 parent fa4cbfa commit 913a7be

File tree

5 files changed

+73
-12
lines changed

5 files changed

+73
-12
lines changed

docs/source/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
master_doc = "index"
4545

4646
# General information about the project.
47-
project = "ScyllaDB 1M ops/sec benchmark demo"
47+
project = "ScyllaDB DEMOs"
4848
copyright = str(date.today().year) + ", ScyllaDB. All rights reserved."
4949
author = u"ScyllaDB Project Contributors"
5050

docs/source/demo-ui.md

+51
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# DEMO UI: ScyllaDB in different cloud environments
2+
3+
<p><iframe width="560" height="315" src="https://www.youtube.com/embed/-nPO9KeNydM?si=wkCRK5ZJ0cfz9h4u" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe></p>
4+
5+
Currently supported DEMOs:
6+
* ScyllaDB Cloud 1 million operations/second (AWS and ScyllaDB Cloud account needed)
7+
* ScyllaDB Enterprise 1 million operations/second (AWS account needed)
8+
* Scaling from 3 to 6 nodes (AWS account needed)
9+
10+
11+
## Prerequisites
12+
* [AWS CLI](https://aws.amazon.com/cli/)
13+
* [Docker](https://docker.com)
14+
* [ScyllaDB Cloud API key](https://cloud.scylladb.com/)
15+
16+
## Usage
17+
1. Clone the repository
18+
```
19+
git clone https://github.com/scylladb/1m-ops-demo.git
20+
cd 1m-ops-demo/
21+
```
22+
1. Make sure AWS CLI is configured properly, and know the location of the credentials file (e.g. `~/.aws/credentials`)
23+
1. Edit `config.py`
24+
```json
25+
{
26+
"aws_creds_file": "/home/user/.aws/credentials",
27+
"region": "us-east-1",
28+
"scylla_cloud_token": "API-TOKEN",
29+
"running_in_docker": true
30+
}
31+
```
32+
* `aws_creds_file`: the location (absolute path) of your AWS credentials file
33+
* `region`: AWS region you want to use for the demo
34+
* `scylla_cloud_token`: You can generate an API token in ScyllaDB Cloud
35+
* `running_in_docker`: Normally this should be `true`
36+
1. Run the web app (by default, it uses port 5000)
37+
```bash
38+
./build_and_run.sh
39+
```
40+
This will spin up a Docker container and run the web app on the `5000` port. You can stop the container with `docker stop scylla-demo`
41+
1. Open DEMO UI application
42+
43+
Go to http://0.0.0.0:5000
44+
1. Select a demo you want to try (this will run `terraform init` under the hood)
45+
![demo ui](_static/img/demo_ui.jpg)
46+
1. (Optional) Configure cluster size and workload settings on the left side
47+
![demo ui workload](_static/img/demo_ui2.jpg)
48+
1. Hit `APPLY` (this runs `terraform apply`)
49+
1. Keep an eye on the console output to see when Terraform finishes
50+
1. Click on the different dashboard tabs to monitor the cluster.
51+
1. If you are done, don't forget to run `DESTROY` to remove infrastructure elements and avoid unnecessary costs.

docs/source/getting-started-enterprise.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Get started
1+
# Get started with ScyllaDB Enterprise on AWS
22

33
Follow along this video to get started:
44

docs/source/getting-started.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Get started
1+
# Get started with ScyllaDB Cloud
22

33
Follow along this video to get started:
44

docs/source/index.rst

+19-9
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@
66
:hide-pre-content:
77
:hide-post-content:
88

9-
.. title:: 1 million ops/sec Terraform demo
9+
.. title:: ScyllaDB DEMO toolkit
1010

1111
.. hero-box::
12-
:title: 1 million ops/sec ScyllaDB demos with Terraform
12+
:title: Automation tools for ScyllaDB DEMO and PoC projects
1313
:image: /_static/img/mascots-2/cloud.svg
1414
:button_icon: icon-github
1515
:button_style: bold
1616
:button_url: https://github.com/scylladb/1m-ops-demo
17-
:button_text: Source code
17+
:button_text: GitHub
1818

19-
Test and benchmark ScyllaDB under a 1 million operations per second workload.
19+
Test and benchmark ScyllaDB under custom workloads in different cloud environments using our Terraform and Ansible templates
2020

2121
.. raw:: html
2222

@@ -29,7 +29,16 @@
2929
<div class="grid-x grid-margin-x">
3030

3131
.. topic-box::
32-
:title: ScyllaDB Cloud 1M ops/sec
32+
:title: DEMO UI: ScyllaDB in different cloud environments
33+
:link: demo-ui
34+
:icon: icon-rocket
35+
:class: large-4
36+
:anchor: Get started
37+
38+
Try our web app and launch ScyllaDB clusters and workloads in different cloud environments.
39+
40+
.. topic-box::
41+
:title: Terraform: ScyllaDB Cloud 1M ops/sec
3342
:link: getting-started
3443
:icon: icon-cloud
3544
:class: large-4
@@ -38,7 +47,7 @@
3847
Set up 1 million operations/second demo with ScyllaDB Cloud
3948

4049
.. topic-box::
41-
:title: ScyllaDB Enterprise 1M ops/sec
50+
:title: Terraform: ScyllaDB Enterprise 1M ops/sec
4251
:link: getting-started-enterprise
4352
:icon: icon-instance
4453
:class: large-4
@@ -47,13 +56,13 @@
4756
Set up 1 million operations/second demo with ScyllaDB Enterprise
4857

4958
.. topic-box::
50-
:title: Set Up Your Own 1M OPS Benchmark - blog
59+
:title: Blog: Set Up Your Own 1M OPS Benchmark
5160
:icon: icon-edit
5261
:link: https://www.scylladb.com/2023/11/29/set-up-your-own-1m-ops-benchmark-with-scylladb-cloud-terraform
5362
:class: large-4,small-12
5463
:anchor: Read the article
5564

56-
To learn more details about the instance types and scripts used for the Cloud version read our blog post.
65+
To learn more about the instance types and scripts used for the ScyllaDB Cloud 1M ops/sec Terraform project.
5766

5867
.. raw:: html
5968

@@ -62,7 +71,8 @@
6271
.. toctree::
6372
:maxdepth: 3
6473
:hidden:
65-
74+
75+
DEMO UI <demo-ui>
6676
Getting started with Cloud <getting-started>
6777
Getting started with Enterprise <getting-started-enterprise>
6878
Blogpost - Set Up Your Own 1M OPS Benchmark <https://www.scylladb.com/2023/11/29/set-up-your-own-1m-ops-benchmark-with-scylladb-cloud-terraform/>

0 commit comments

Comments
 (0)