|
|
|
|
|
by prgk
3429 days ago
|
|
Since most of the solutions mentioned here are container based, I will provide something different. Started using Juju[1]. Basically, Juju handles bootstrapping/creating instances you need in the public clouds and you can use Juju Charms to specify how to deploy your services. So our deployment looks like this: - juju bootstrap google # Get instance in GCE
- juju deploy my-app # My app is deployed to GCE
You can actually try this with already publicly available apps. Example, You can deploy Wikimedia[2] by just doing: juju deploy wiki-simple
This will install Wikimedia, MySQL and creates the relationship needed between the Wikimedia and the database.In our case, we have a production and development environments. Both are actually running in clouds in different regions - juju bootstrap google/us-east1-a production
- juju deploy my-app
- juju bootstrap google/europe-west1-c development
- juju deploy my-app
In addition to running in different regions, development looks at any changes to development branch in our GitHub repo.We don't use any containers. Juju allows us to deploy our services in any clouds (aws, gce, azure, maas ...) including local using lxd. [1] https://www.ubuntu.com/cloud/juju [2] https://jujucharms.com/wiki-simple |
|