rails example single #6

  • By charmers
  • Latest version (#6)
  • Stable, Edge

2 machines, 2 units

Rails Bundle

This bundle contains two rails deployments, a "single" deployment that deploys

and a multi instance scalable bundle intended for large scale deployment that deploys:

Usage

To deploy the single bundle:

 juju-quickstart bundle:rails/example-single

This bundle deploys a "sample-app" as mentioned in the Rails charm] README.
You can modify the charm to use your application by following the instructions in that document.

Scale out Usage

For the scalable bundle:

juju-quickstart bundle:rails/example-scalable

This bundle deploys a "sample-app" as mentioned in the Rails charm] README.
You can modify the charm to use your application by following the instructions in that document.

You can horizontally scale any of the services included in the bundle, since the sample-app is already behind a load
balancer you can scale out the rails app via:

juju add-unit sample-app

Check the PostgreSQL charm README for instructions on scaling out the
database layer.

Bundle configuration