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.12¶
Region
x86 AMI ID
Launch x86
ARM AMI ID
Launch ARM
Asia Pacific (Hyderabad)
ami-059ca19d8a2b96a46
ami-0dbb91efb6130d041
Africa (Cape Town)
ami-01b4255af24c2cba3
ami-0cca66a4bdb463b66
Asia Pacific (Mumbai)
ami-01260c022c144e21a
ami-076c5dd71dc340464
Europe (Stockholm)
ami-0286f2638ba4a760e
ami-08e293c9d38757df5
Europe (Paris)
ami-0d25ba09e94ffd921
ami-00b0dcbdf6bc09fd1
Europe (Milan)
ami-0bfefdddf2c5bc484
ami-0e6faf70935e233f0
Europe (London)
ami-0eae3de5832fe7773
ami-021e2635e6edbb334
Europe (Ireland)
ami-0426d9639cca4fa38
ami-0378291657344c71c
Asia Pacific (Osaka)
ami-0304fb0f694cff0a2
ami-08fead06b41ea06cf
Asia Pacific (Seoul)
ami-0613a9e4e18a88e65
ami-0e025e044f0897590
Middle East (Bahrain)
ami-06dfa17b1b303a73a
ami-0bcf03c7799394cf9
Asia Pacific (Tokyo)
ami-035beb7e2234c9be5
ami-0d29f38ed4806138e
Israel (Tel Aviv)
ami-0e9c47ac330126358
ami-020c7d2b1c72ce516
Canada (Central)
ami-0775acffc2c5532bf
ami-0d99b701b54fe660f
South America (Sao Paulo)
ami-048d7c23fb1a94696
ami-0370d38c5a51686d3
Asia Pacific (Hong Kong)
ami-078b732ce781f1b7f
ami-0bdc3024002099da4
Asia Pacific (Singapore)
ami-09b88e539248bbcf3
ami-0b389cebe68eff6e2
Asia Pacific (Sydney)
ami-01ac6520fef5d0e56
ami-00be43e1a9db3dc33
Europe (Frankfurt)
ami-0f2ab06f94b386c64
ami-009622ce4666366e4
Asia Pacific (Jakarta)
ami-02b21b9c7885479be
ami-0e512b01a0e3f205d
US East (N. Virginia)
ami-04ebdf3f73c237cbb
ami-02384f5d98550556d
US East (Ohio)
ami-0b68927d8b1408522
ami-077b5c302e88e76ef
US West (N. California)
ami-00ee35f8fb49eb9ab
ami-0e6fcdd8cd3aefe92
US West (Oregon)
ami-01eda0b8331df1a7a
ami-0e753d1c7d8f3c6e6
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