Skip to end of metadata
Go to start of metadata
The following is intended to be a basic set up guide and may not be appropriate for production usage.  Please follow your organizations best practices for production.

Launch and configure Scalr server:

After launching your Scalr server, update scalr-server.rb with new info and the following fields:

app[:mysql_scalr_host] = 'rds endpoint'
app[:mysql_scalr_port] = 3306

app[:mysql_analytics_host] = 'rds endpoint'
app[:mysql_analytics_port] = 3306


Add the following to scalr-server-local.rb.  Note: this example is for the case of one scalr-server and the rds server.:

proxy[:enable] = true
memcached[:enable] = true
web[:enable] = true
cron[:enable] = true
service[:enable] = true
rrd[:enable] = true

Once RDS is Created:

Log in and create users.  You will obtain the password from scalr-server-secrets.json:

CREATE USER 'root'@'%' IDENTIFIED BY 'pass';
CREATE USER 'scalr'@'%' IDENTIFIED BY 'pass';
CREATE USER 'repl'@'%' IDENTIFIED BY 'pass';

create database scalr;
create database analytics;

GRANT ALL PRIVILEGES ON analytics.* TO 'scalr'@'%' WITH GRANT OPTION;
GRANT ALL PRIVILEGES ON scalr.* TO 'scalr'@'%' WITH GRANT OPTION;
GRANT ALL PRIVILEGES ON analytics.* TO 'root'@'%' WITH GRANT OPTION;
GRANT ALL PRIVILEGES ON scalr.* TO 'root'@'%' WITH GRANT OPTION;
GRANT ALL PRIVILEGES ON analytics.* TO 'repl'@'%' WITH GRANT OPTION;
GRANT ALL PRIVILEGES ON scalr.* TO 'repl'@'%' WITH GRANT OPTION;

Finalize configuration:

Complete this configuration and make your changes active by running: scalr-server-ctl reconfigure