Was this page helpful?
Caution
You're viewing documentation for a previous version. Switch to the latest stable version.
Launch ScyllaDB on AWS¶
This article will guide you through self-managed ScyllaDB Enterprise 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.
2024.2.11¶
Region
x86 AMI ID
Launch x86
ARM AMI ID
Launch ARM
Asia Pacific (Hyderabad)
ami-09a2e0a230cdf8867
ami-094257f56bc5a1735
Africa (Cape Town)
ami-0e2d1fb483efb1211
ami-09d597c0976174468
Asia Pacific (Mumbai)
ami-0f5d3531f5f1d5401
ami-0aa851d6951631d9e
Europe (Stockholm)
ami-040270bfaa2ddb1a6
ami-0026f967d14eb9955
Europe (Paris)
ami-0f1b801fb78b02c32
ami-01ac6336f74521500
Europe (Milan)
ami-0774d6fa78ffc7473
ami-0015be124515486f0
Europe (London)
ami-00541e5c90cd77e36
ami-014cb349327ae1e94
Europe (Ireland)
ami-099f196fca6d4f2ea
ami-003d540db518dbe1d
Asia Pacific (Osaka)
ami-08bd441afd16a70e4
ami-0f69c8f9a5ea3421f
Asia Pacific (Seoul)
ami-0a452b65bef326baa
ami-050c1dc75c1cbae0a
Middle East (Bahrain)
ami-088d55b8dc5b97f14
ami-0c4991c87b8464b96
Asia Pacific (Tokyo)
ami-0399c9cbea19dc72f
ami-0161021a495a0baaf
Israel (Tel Aviv)
ami-0638626a02f06c610
ami-0da2cd4902f16d0fc
Canada (Central)
ami-03173fde45c63ffa0
ami-09df1d1326ac8eef2
South America (Sao Paulo)
ami-01db9d1e150c9e415
ami-07c6fdad861d258d9
Asia Pacific (Hong Kong)
ami-0b4d7bef19f88a7b2
ami-0c1d7815c7fc0c324
Asia Pacific (Singapore)
ami-0653d180cb6470cf8
ami-042e45a0b64358bd5
Asia Pacific (Sydney)
ami-052c000bfaf8bd871
ami-0585f6c9c381966a0
Europe (Frankfurt)
ami-085c0670aa6e506c3
ami-0c8ab958d004c0ed9
Asia Pacific (Jakarta)
ami-03242f636d74b8b55
ami-0b7053c5bee6cf634
US East (N. Virginia)
ami-06d3f70054194b951
ami-0ffc95542106e3611
US East (Ohio)
ami-0b44a6d919b59b8b2
ami-07e83835ba39ce159
US West (N. California)
ami-0189e19b79c855c43
ami-092e3576bdb55a4ea
US West (Oregon)
ami-03e44e5d7b59e5bcc
ami-0b4126ad2807abb4e
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
Configure Security Group. Make sure all ScyllaDB ports are open.
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