Was this page helpful?
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.6¶
Region
x86 AMI ID
Launch x86
ARM AMI ID
Launch ARM
Asia Pacific (Hyderabad)
ami-088c1bbeafc555131
ami-00b35850fc3f08633
Africa (Cape Town)
ami-09044d67906c71dad
ami-074f2949d8e9d8802
Asia Pacific (Mumbai)
ami-0488c9cd994245f3a
ami-0a8290bb0bb777fcb
Europe (Stockholm)
ami-0c59f265f8bc9f572
ami-0f3e027597e73eac6
Europe (Paris)
ami-01df92b8953817b9c
ami-0e169485cfa91a6bf
Europe (Milan)
ami-09f566f9ddd554054
ami-0c28b3a0d223b4943
Europe (London)
ami-0291374ad50dd7635
ami-0f2ef5ae3cb2faf7e
Europe (Ireland)
ami-07ca85650d3e03620
ami-07de9a55b16d226cb
Asia Pacific (Osaka)
ami-0cdd408025d556885
ami-0594e3792d92c1dc5
Asia Pacific (Seoul)
ami-0d76fce2c710c61cd
ami-0811e7b27324de9bc
Middle East (Bahrain)
ami-0a384482d7273e8d3
ami-077105072b76ecd65
Asia Pacific (Tokyo)
ami-0471cc8f01e28454c
ami-08f70b5a6e0d66752
Israel (Tel Aviv)
ami-026f4ec88b171dda3
ami-078d713ac67e694b3
Canada (Central)
ami-0b13cc94d997098c3
ami-07db8813a9b88d444
South America (Sao Paulo)
ami-0fdf5d32fa1493f69
ami-0bd8b78be70b72fd1
Asia Pacific (Hong Kong)
ami-03c1984c1b1850593
ami-014fd81980ee8ca28
Asia Pacific (Singapore)
ami-0b4dc004ea0763a07
ami-024dc3b64cbfa45dd
Asia Pacific (Sydney)
ami-08fe2f990e6cd91b3
ami-05a6fff704c74da2f
Europe (Frankfurt)
ami-005cc9c2419b090f7
ami-00c1f71b47b898a19
Asia Pacific (Jakarta)
ami-0fc55af99dfb7da1c
ami-0d74aff224fb3892e
US East (N. Virginia)
ami-09f335edc26a97cc2
ami-046a642ec12377657
US East (Ohio)
ami-01abe9a79cfc82456
ami-030d5453138f0424e
US West (N. California)
ami-010e6e78044952ada
ami-0a701378430789f0f
US West (Oregon)
ami-0ad19e29d1c8e1d89
ami-02aa457480dceb71f
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