Hi @simofacc , absolutely, it’s possible if you want to:
- Connect Qovery to an AWS OpenSearch instance via AWS VPC Peering.
- Connect Qovery to an Elastic Cloud instance via AWS VPC Peering.
- Deploy an Elasticsearch container.
AWS OpenSearch or Elastic Cloud
You can take a look at this thread, which is exactly the same as for MongoDB Atlas.
In a nutshell, you need:
- Choose between
AWS OpenSearch
orElastic Cloud
(It’s up to you). - Create your
AWS OpenSearch
orElastic Cloud
instance. - Connect Qovery and your
AWS OpenSearch
orElastic Cloud
instance via VPC Peering.
Check out this thread (with MongoDB Atlas) because it’s very similar.
Elasticsearch DB Container
Deploying an existing container image with Qovery will be available for Q3 2022. At the time of this response, you will need to follow the instructions below.
To deploy an Elasticsearch DB container you can do the following:
- Create a repository
elasticsearch
on your GitHub, GitLab, or Bitbucket account. - Put at the root of your project a
Dockerfile
with the following content
FROM elasticsearch:8.3.2
- Commit and push your Dockerfile
- Create your
elasticsearch
repository like a regular Qovery application (check out here). - Set your CPU to
1
and RAM to2GB
at least. (Elasticsearch consumes a good amount of CPU and RAM) - Add local block storage to your instance if you don’t want to lose the data across restarts.
- Add local port
9200
, uncheckexpose publicly
and save your changes.
- Deploy your
elasticsearch
application.
I hope it helps