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.9¶
Region
x86 AMI ID
Launch x86
ARM AMI ID
Launch ARM
Asia Pacific (Hyderabad)
ami-01e7120eac20d0cfa
ami-0ee16a3de0eaa6b3d
Africa (Cape Town)
ami-075b44601aee859b2
ami-02f3ba8c39ea752b0
Asia Pacific (Mumbai)
ami-0eab885ba9f1f993c
ami-09c3c4301710374da
Europe (Stockholm)
ami-034c04afd41e45ded
ami-0dc27ea411c7c025e
Europe (Paris)
ami-0f17faa27372e8222
ami-0de5204ef3d86dd20
Europe (Milan)
ami-05f36c86c493de839
ami-08ef601fae34884c1
Europe (London)
ami-00e445f5add6fdf2b
ami-017d69b97aa55bc83
Europe (Ireland)
ami-0119e44a807d69413
ami-05ae9a0b00a8880f6
Asia Pacific (Osaka)
ami-051088e3d514830e1
ami-01da8abc0185d1114
Asia Pacific (Seoul)
ami-098f3fb19670a43c8
ami-053eb0cbf7c2f21e6
Middle East (Bahrain)
ami-068c63543286e8f3e
ami-053f2a931f82f7bc7
Asia Pacific (Tokyo)
ami-0081b754d1749fc8b
ami-05688948eab3d7892
Israel (Tel Aviv)
ami-0746b8885a759a0c3
ami-09334c494f7953b33
Canada (Central)
ami-066331a6be03ca59c
ami-0b835c9d19691bdcd
South America (Sao Paulo)
ami-0f669f83ca91cd1cb
ami-07bc961079521d157
Asia Pacific (Hong Kong)
ami-0735d8d806c3f8fa4
ami-0c1cb15f4cd376b15
Asia Pacific (Singapore)
ami-09002b7fa1257f3ac
ami-0927f01aa38e0589d
Asia Pacific (Sydney)
ami-08f8032e182589d51
ami-07f37daa2c6c5db25
Europe (Frankfurt)
ami-0ab9dd672616d6856
ami-07453bcb9492602f0
Asia Pacific (Jakarta)
ami-0670eb4563069be49
ami-01625e44c149f2877
US East (N. Virginia)
ami-0aaadc9d29a3fc324
ami-0b40d9a9b22024134
US East (Ohio)
ami-075b1ab5f16b2f165
ami-06488c6b591a13717
US West (N. California)
ami-0f193da50f79d1bfb
ami-0a9825f443a43d613
US West (Oregon)
ami-00cfe33ba9b8a1d66
ami-09e3c7fd5b57bd916
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