Was this page helpful?
Launch ScyllaDB on AWS¶
This article will guide you through self-managed ScyllaDB deployment on AWS. For a fully-managed deployment of ScyllaDB as-a-service, see ScyllaDB Cloud documentation.
Launching Instances from ScyllaDB AMI¶
Choose your region, and click the Node link to open the EC2 instance creation wizard.
The following table shows the latest patch release. See AWS Images for earlier releases.
6.2.2¶
Region
x86 AMI ID
Launch x86
ARM AMI ID
Launch ARM
Asia Pacific (Hyderabad)
ami-0e39f522da779a494
ami-065d9161792142687
Africa (Cape Town)
ami-09ccad7c6e591b807
ami-0275c35145d0abe3c
Asia Pacific (Mumbai)
ami-0319efa19fe93fa22
ami-0c18bee1e5e0e4fcd
Europe (Stockholm)
ami-0d579d7135bb47d3e
ami-06df2ac17c550ae1e
Europe (Paris)
ami-0083024b73fcf8b4c
ami-07b81fb80feba7963
Europe (Milan)
ami-04a7539aa627b76b5
ami-0ffecc753ba2bae5f
Europe (London)
ami-020450b9f12ebde57
ami-0b42d65880e5c69bc
Europe (Ireland)
ami-04541afe5ffea0038
ami-03dae9909de35247a
Asia Pacific (Osaka)
ami-00fe76cc251e6bf42
ami-02124faec329fefb4
Asia Pacific (Seoul)
ami-02f833f2c58e8fcef
ami-0e37bcd0856b26a1b
Middle East (Bahrain)
ami-03d8ee3c6162b0131
ami-0da79536e64f95919
Asia Pacific (Tokyo)
ami-0c16ada0621856b4f
ami-0ddc63011d20e5aad
Israel (Tel Aviv)
ami-016828b74820eddd3
ami-05fe25136fb87dfcc
Canada (Central)
ami-01fc0b04e9a46883a
ami-0c9e43ca8a205f613
South America (Sao Paulo)
ami-012e523926c478c79
ami-05b0275a237182203
Asia Pacific (Hong Kong)
ami-0e843e7989451309b
ami-0c426794b60a5658c
Asia Pacific (Singapore)
ami-05ecdf35102f83853
ami-07c0d8468c86e94a6
Asia Pacific (Sydney)
ami-0cae1c25e1d1d0ae1
ami-004f8baacfd413dbf
Europe (Frankfurt)
ami-04d893f7db37773b4
ami-0742ee9715bc8f5fa
Asia Pacific (Jakarta)
ami-0a9b9fc8d86c4f83c
ami-0341fa1f21de83fa3
US East (N. Virginia)
ami-01431b9bf2e7cc148
ami-0825a518ab80e05bf
US East (Ohio)
ami-02393764f1aa1b85b
ami-0cd9a909ca4a47f9d
US West (N. California)
ami-07c1994abdc982adb
ami-0cc8e1f3259410889
US West (Oregon)
ami-0d31a68f80d06c304
ami-0ebc7169ec1c3436d
Choose the instance type. See Cloud Instance Recommendations for AWS for the list of recommended instances.
Other instance types will work, but with lesser performance. If you choose an instance type other than the recommended ones, make sure to run the scylla_setup script.
Configure your instance details.
Number of instances – If you are launching more than one instance, make sure to correctly set the IP of the first instance with the
seeds
parameter - either in the User Data (see below) or after launch.Network – Configure the network settings.
Select your VPC.
Configure the security group. Ensure that all ScyllaDB ports are open.
Advanced Details> User Data – Here, you can add ScyllaDB configuration options in the JSON format. See scylla.yaml for information about supported options.
The following example shows a configuration using the most popular options.
cluster_name
- The name of the cluster.seed_provider
- The IP of the first node. New nodes will use the IP of this seed node to connect to the cluster and learn the cluster topology and state. See ScyllaDB Seed Nodes.post_configuration_script
- A base64 encoded bash script that will be executed after the configuration is completed.start_scylla_on_first_boot
- Starts ScyllaDB once the configuration is completed.
Example:
{ "scylla_yaml": { "cluster_name": "test-cluster", "seed_provider": [{"class_name": "org.apache.cassandra.locator.SimpleSeedProvider", "parameters": [{"seeds": "10.0.219.209"}]}], }, "post_configuration_script": "#! /bin/bash\nyum install cloud-init-cfn", "start_scylla_on_first_boot": true }
For full documentation of ScyllaDB AMI user data, see the ScyllaDB Image documentation.
Add storage.
ScyllaDB AMI requires XFS to work. You must attach at least one drive for ScyllaDB to use as XFS for the data directory. When attaching more than one drive, the AMI setup will install RAID0 on all of them.
The ScyllaDB AMI requires at least two instance store volumes. The ScyllaDB data directory will be formatted with XFS when the instance first boots. ScyllaDB will fail to start if only one volume is configured.
Tag your instance.
Click Launch Cluster. You now have a running ScyllaDB cluster on EC2.
Connect to the servers using the username
scyllaadm
.ssh -i your-key-pair.pem scyllaadm@ec2-public-ip
The default file paths:
The
scylla.yaml
file:/etc/scylla/scylla.yaml
Data:
/var/lib/scylla/
To check that the ScyllaDB server is running, run:
nodetool status
Next Steps¶
Manage your clusters with ScyllaDB Manager
Monitor your cluster and data with ScyllaDB Monitoring
Get familiar with ScyllaDB’s command line reference guide.
Learn about ScyllaDB at ScyllaDB University