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.16¶
Region
x86 AMI ID
Launch x86
ARM AMI ID
Launch ARM
Asia Pacific (Hyderabad)
ami-000c6bc5b48b5da23
ami-0ff23498a5d733900
Africa (Cape Town)
ami-047fa071c1162cb51
ami-08004816296e28860
Asia Pacific (Mumbai)
ami-04e71c4ccf481e742
ami-09bf2a3d72b8d04e5
Europe (Stockholm)
ami-0794c248351a68a21
ami-0bf7a3503def2a04d
Europe (Paris)
ami-004e29054009005f7
ami-00550d0ad0b61802c
Europe (Milan)
ami-0bc7912f75f1cc268
ami-052934735a66cd9b0
Europe (London)
ami-04fc2211b0fd26091
ami-0fb26ba3bdf5f4894
Europe (Ireland)
ami-0e22094fd39de84f7
ami-04484a6b1108ffd40
Asia Pacific (Osaka)
ami-08dc66b7222d88a3c
ami-06b410a06ecd5a791
Asia Pacific (Seoul)
ami-02552b462efe56a05
ami-03b28d7ca5b9a1014
Middle East (Bahrain)
ami-07393df098dfc0bcd
ami-034dd2047329a9d91
Asia Pacific (Tokyo)
ami-068ed2ebe363a1862
ami-002a98f8aaa9e341d
Israel (Tel Aviv)
ami-0fd89711869cc6077
ami-0a7423eb8fa975684
Canada (Central)
ami-020cd749636ba48aa
ami-01364c7952e45b732
South America (Sao Paulo)
ami-02700eb68a94894f4
ami-0b42f49cd976e5883
Asia Pacific (Hong Kong)
ami-0222765dd4e58fb51
ami-07a07c1d5d30efcff
Asia Pacific (Singapore)
ami-04ca9db51746116be
ami-0f007f8b7b9a3a19a
Asia Pacific (Sydney)
ami-098cdd2e24344aaa0
ami-0cc394e9b8605d5e9
Europe (Frankfurt)
ami-0e84503d09651d278
ami-04c09704bf900de79
Asia Pacific (Jakarta)
ami-0ad5793d613e15946
ami-05262b4d9f9f1f583
US East (N. Virginia)
ami-071a2aeefeca74230
ami-0a2b506840e178553
US East (Ohio)
ami-00d7309bcfdf991a9
ami-056778d3d271b8ec9
US West (N. California)
ami-0fe39b395dabd282c
ami-03dc7453e3916d379
US West (Oregon)
ami-0cae8a5ae04029370
ami-0a861c0c936027cbd
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