Try new technologies and architectures

I'd like to test Elasticsearch with my app.

To test a new technology, start by making a new branch.

On the new branch, add the Elasticsearch service to
your services.yaml file.

The relationships in the file give your app access to the new Elasticsearch service.

Deploy these changes using git push.

Access the new cloud service locally via a tunnel.

Send a request to the ES server in the cloud using the local tunnel.

Your app will use the connection details in PLATFORM_RELATIONSHIPS to connect to the ES service.

Share the new environment URL with others.

When you're ready to go live, just merge into master and the application deploys with the new Elasticsearch service.

Infrastructure is code.
If you want to go back, just git revert
as you would for any other code.