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
relationships in the
.platform.app.yaml file give your app access to the new Elasticsearch service.
Deploy these changes using
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
as you would for any other code.