Once you have launched the CubeWerx Stratos AMI, you will have to perform
a few steps to use the application.

1. Log into the CubeWerx Stratos AMI using ssh and as the ec2-user.

2. Once you are logged in you have to run the setup script in the ec2-user’s
home directory to perform the inital setup of the CubeWerx Stratos
application. This setup program only needs to be run once.
To execute the program, do the following:

$ ./setup.sh

The first thing the program will ask for is the hostname of the instance. Our
application is a web application and its uses Keypairs for authentication.
We recommend that you set up a proper hostname with a proper DNS entry that
points to this instance. This should be done before running this script.
Our application can be used with an IP address but it is not the normal way a
client would access the application. You can hit enter to skip to the next step
which will prompt you for an IP address but you must specify one or the other or
both.

The next item it prompts you for is the IP Address. Here you should specify
the instance’s static IP address. You can associate an elastic IP to your
instance using the AWS EC2 console. If you did not specify a domain name
you will have to specify an IP address to continue. If you decide in the
future to change the domain name or your IP address of the instance, you can
use the cwauthadmin command tool to remove your old KeyPair and generate a new
one.

The next item it prompts you for is the admin’s account password for the
Stratos application. By default it is the instance ID and we recommend that
you change it to a more secure value. If you hit the enter key it will stay
as the current password previously set.

The next item it prompts you for is the admin’s account e-mail address. This
is a required field as notifications from the applications are sent to this
address.

The next item it prompts you for is the cubewerx’s MySQL/MariaDB account. By
default it is the instance ID and we recommend that you change it to a more
secure value. If you hit the enter key it will stay as the current password
previously set.

3. Once the above is done successfully you can go to the application’s
landing page by going to a web browser and entering:

http://<domain_name>/cubewerx

or

http://<static_id_address>/cubewerx

Notes:

– We recommend you install the mod_ssl package and set up an SSL certificate
to take advantage of secure web communication.

– The root password of the MySQL/MariaDB account is set to the instance ID
which should be changed to a more secure value.

– You will need to acquire a Google Maps API key in order to use the
OpenImageMap application. After you get the key, you can use Stratos to set
the googleMaps.apiKey configuration value.