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.1.21¶
Region
x86 AMI ID
Launch x86
ARM AMI ID
Launch ARM
Asia Pacific (Hyderabad)
ami-016070e99ff6afd07
ami-0b670f946475eea46
Africa (Cape Town)
ami-0e021aa99a4cd0bcf
ami-012323a97a9ac22ed
Asia Pacific (Mumbai)
ami-00c07a2a40afb8002
ami-0e21393a696e44223
Europe (Stockholm)
ami-0147eda376022e635
ami-064e76d446532f339
Europe (Paris)
ami-00a74a19e142439ab
ami-0c42d31943fb4add2
Europe (Milan)
ami-06c2e02d952aee67b
ami-0ace75ec93a886373
Europe (London)
ami-032a563a2d22d0da1
ami-0f75221fc071405e7
Europe (Ireland)
ami-0e7629ce44e511e90
ami-0683c253ff1db1a5e
Asia Pacific (Osaka)
ami-01b81a854b625994f
ami-0cad5f6253b673271
Asia Pacific (Seoul)
ami-0c5c2cc198fe71cc6
ami-094480a8150a9d2b7
Middle East (Bahrain)
ami-00ed757c4e6a20112
ami-0c0093363e2c10745
Asia Pacific (Tokyo)
ami-028a70e563392bc11
ami-0919564c134394b87
Israel (Tel Aviv)
ami-0ab165b8044b76c96
ami-06f78a668c90d253d
Canada (Central)
ami-03cddc166628a9d01
ami-098603606c844c530
South America (Sao Paulo)
ami-0273ee341e51f3716
ami-0182aed7f6cfbf5ee
Asia Pacific (Hong Kong)
ami-004a46c5ef55c7d0a
ami-05d7be2a499cde136
Asia Pacific (Singapore)
ami-0e4b083ff95c32be2
ami-0ec66cb0307be4114
Asia Pacific (Sydney)
ami-035d56522c5bf4195
ami-06f78b1f6c5c4ba69
Europe (Frankfurt)
ami-079e2554a6e155493
ami-040e7be624da6908a
US East (N. Virginia)
ami-07bb579628dfedcd9
ami-0c4d6e4e29ff5ec67
US East (Ohio)
ami-0a8ece5310ee3cd91
ami-0e435ba4c8f793d00
US West (N. California)
ami-0c821c720e5da0e38
ami-0f0ddc16676eb2792
US West (Oregon)
ami-00cc8d0336e7dafae
ami-05aa0018dd1c91a46
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
seedsparameter - 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-ipThe default file paths:
The
scylla.yamlfile:/etc/scylla/scylla.yamlData:
/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