Deployment

This page provides an overview about the cloud deployment of Educama as well as how to deploy Educama "locally" on the pcf-dev.

Spaces on Bluemix

Currently, we have two spaces on our IBM Bluemix account:

  • Development
  • Sandbox.

The deployment is the same on both. Sandbox can be used for testing purposes and development will only be deployed by travis and always contains the master branch.

Deployment Overview (on IBM Bluemix and other Clouds)

IBM Bluemix

The apps all run in the data centre on IBM Bluemix (currently this is US South, due to restricted availability of services in other data centres).

MongoDB Atlas Cloud

We use small, free instances of MongoDB offered by Atlas, the Cloud DBaas (Database-as-a-Service) offering from MongoDB themself. Since they are not offered via the service broker on IBM Bluemix, we created user-provided services to bind them to our apps.

MySQL

The backend application uses a MySQL provided by Bluemix (Compose). To connect to it via command line fetch the connection from the service details in the web UI and use the password shown for the HTTPS Connection, e.g.


mysql -u admin -p --host sl-us-south-1-portal.1.dblayer.com --port 15586 --ssl-mode=REQUIRED
...
mysql> use compose;
...
mysql> show tables;
...


CloudAMQP

The messaging bus RabbitMQ is provided via IBM Bluemix marketplace but offered from CloudAMQP (A third-party service on IBM Bluemix). The services are automatically provisioned and provided to the apps via the service broker but run on the data centres of CloudAMQP.