Skip to content

Instantly share code, notes, and snippets.

@dbathgate
Last active June 28, 2022 09:04
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dbathgate/5db5259769cdfceec2dc to your computer and use it in GitHub Desktop.
Save dbathgate/5db5259769cdfceec2dc to your computer and use it in GitHub Desktop.
Quick start install of ScyllaDB for Amazon Web Services
# Quick start install of ScyllaDB for Amazon Web Services
# Tested using AMI 'CentOS 7 (x86_64) with Updates HVM' available on the AWS Marketplace
# Script should be run as 'root' user
# Need a file system formatted in XFS
# Assumes device is set to '/dev/xvdb'
umount /dev/xvdb
mkfs.xfs -f -K /dev/xvdb
mkdir /var/lib/scylla
mount /dev/xvdb /var/lib/scylla
yum install epel-release -y
curl http://downloads.scylladb.com/rpm/centos/scylla.repo -s -o /etc/yum.repos.d/scylla.repo
yum install scylla-server scylla-jmx scylla-tools -y
# Adding private IP to /etc/hosts for JMX
echo "$(curl http://169.254.169.254/latest/meta-data/local-ipv4 -s) $(hostname)" >> /etc/hosts
systemctl start scylla-server
systemctl start scylla-jmx
@shahnikba
Copy link

Hi, a silly question. Do we need to pay anything to Scylla or AWS except the cost of a simple server by installing it via your description?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment