by flowerpot · 11y ago · 0 comments
1. Using AWS services where we can (DynamoDB)
2. Provisioning more "traditionally" to instances, and managing those independently of the Mesos scheduler
3. Experimenting with scheduler based solutions[1] (which are still pretty bleeding edge, but are promising)
As I mentioned, EMC are (to me) doing the most interesting stuff here[2] because they're leaning on a lot of existing production systems like EBS and Mesos' own scheduler.
[1]: https://github.com/mesos/elasticsearch
[2]: http://blog.emccode.com/2015/10/08/enabling-external-volume-...
So you can write a BOSH 'release' which is a script for setting up a database cluster with all the necessary, like this:
https://github.com/cloudfoundry/cf-mysql-release
However, you have to buy into BOSH and CF to make use of this
Also, most of the interesting and high-quality services are part of Pivotal's paid version of CF. Which might well be worth the money - many of the services are built by colleagues of mine, and i can assure you that they are of the finest quality! If not, there are a bunch of open-source contributed services. For example, a metrics service with InfluxDB and Grafana:
https://github.com/cloudfoundry-community/metrics-boshreleas...
A logging service with Logstash and Elasticsearch:
https://github.com/cloudfoundry-community/logstash-docker-bo...
PostgreSQL:
https://github.com/cloudfoundry-community/postgresql-docker-...
I have no idea how highly-available and resilient these are, though. It's much harder to write an HA service release than a normal one.
I'll be keeping on top of these developments, but for now, managing yourself or leaning on AWS services is definitely the pragmatic decision.
[1]: https://github.com/mesos/kafka