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.7¶
Region
x86 AMI ID
Launch x86
ARM AMI ID
Launch ARM
Asia Pacific (Hyderabad)
ami-0a1e80691dc43fd79
ami-07a77025382514fb7
Africa (Cape Town)
ami-0aaf37bf5362658c9
ami-0fde8651cbaf16422
Asia Pacific (Mumbai)
ami-08ad93c84924c8c97
ami-01fa6c2c89b3451bb
Europe (Stockholm)
ami-0342074615cbd445b
ami-0a3c4620630c92268
Europe (Paris)
ami-06015ee0aff35235d
ami-0a3ec9148522ba819
Europe (Milan)
ami-0dcc42db11b42ba98
ami-0e3aab1ef7d939a5e
Europe (London)
ami-022a607e4ee3d2a5b
ami-0cbf21a0b655afa21
Europe (Ireland)
ami-0ed1e518d493ab998
ami-0feed670a7926f566
Asia Pacific (Osaka)
ami-09b84b8594bf0fa82
ami-0b60c428dde3c56f9
Asia Pacific (Seoul)
ami-04711106e369f85ae
ami-0284d3085402fb32d
Middle East (Bahrain)
ami-09ba514d02272aa19
ami-0b2e75810c4c6a71b
Asia Pacific (Tokyo)
ami-0d12b1dafdca3553c
ami-0feccb34736198d06
Israel (Tel Aviv)
ami-03686f022525c642f
ami-0dfb0d27135408193
Canada (Central)
ami-09a75fb01bbf7056a
ami-0bd7885a5bf27e2bc
South America (Sao Paulo)
ami-0090b7113a294df2f
ami-0de6be06052517817
Asia Pacific (Hong Kong)
ami-0053624e4c71874c0
ami-0721b37387f2a3a05
Asia Pacific (Singapore)
ami-015cd07027a5869d1
ami-02f9f74b21ecc1a2b
Asia Pacific (Sydney)
ami-08624b6cecf9dabda
ami-046fbdc8bf9b4de4e
Europe (Frankfurt)
ami-0c1a0c6e58f88b648
ami-0cbb9acb49979379c
Asia Pacific (Jakarta)
ami-0b253d6828571bea0
ami-06a2c2e5acdbadc4f
US East (N. Virginia)
ami-0dc701eaaab6f478f
ami-00fd3ffc7e94c432b
US East (Ohio)
ami-0efcf6510ef137678
ami-03dbfe2baea8edf8e
US West (N. California)
ami-09709c2dd1f9a913e
ami-0c001d2b3d58c4973
US West (Oregon)
ami-0996d99d36db5c4e3
ami-031ca66cc0ce64970
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