Last active
June 28, 2022 09:04
-
-
Save dbathgate/5db5259769cdfceec2dc to your computer and use it in GitHub Desktop.
Quick start install of ScyllaDB for Amazon Web Services
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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?