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.
In my defence, the Cloud Foundry services are the only serious attempt I'm aware of to package highly available database setups for deployment on your own infrastructure, and that's something I really want to see become commonplace. I'd be even happier if some other group came along and did it in a way not tied to Cloud Foundry or BOSH, Ansible playbooks or something. But as yet, as far as I know, they haven't.
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