FlashDrive can create and provision datastores automatically when you launch your app. The databases currently supported are :
Apache Kafka (coming soon)
Note: Datastores can also be created manually from the Marketplace as standalone apps. In that case you will have to add manually all the environment variables required for your app to access the database. See this article for more information
When a datastore is added to a stack, FlashDrive automatically populates credentials to your app using datastore-specific environment variables :
|Datastore||Environment variables used to populate credentials|
|MySQL / MariaDB|
|Apache Kafka||Coming soon|
All datastores are not reachable from outside the FlashDrive cluster and are running on an encrypted local network. Therefore, it’s not possible to reach a FlashDrive datastore from another cloud or another cluster. You can install a database management tool by visiting the app setting of your datastore.
Redis runs with the protected mode deactivated as it’s running locally on the cluster only. No password is required to access the Redis database from inside your stack.
Make sure your app uses those environment variables inside your code, never store datastore credentials directly into your code as FlashDrive can rotate those credentials automatically and will update the environment variables of any attached database automatically.
Was this helpful?
0 / 0