Has there been any support for using the oci (oracle cloud infrastructure) bucket to perform snapshot and restore? I thought oci bucket uses similar s3 configuration and would be compatible to use with the aws s3 plugin but it doesn't seem to work for me.
I have generated access and security keys and store on the elasticsearch nodes. I was able to curl the bucket from the elasticsearch instances so they are reachable.
When I try to use verification status on the kibana page, it looks like it is going to "sdk_client_exception: The requested metadata is not found at http://.,./latest/meta-data/iam/security-credentials/" which looks like it might be referring to AWS endpoint.
I am assuming that the aws s3 plugin isn't compatible with the oci bucket configuration, is that correct? Is there a solution to allow me to snapshot to an oci bucket storage?
Are you using Elasticsearch on Elastic Cloud or self-hosted?
If I'm not wrong, Elasticsearch on Elastic Cloud only supports AWS S3, but the self-hosted version supports S3-compatible services .
Never used OCI buckets and I'm not sure if it is compatible with S3, but if they are, you will need to change the endpoint setting while creating the repository and pass the endpoint of the bucket API in OCI.
From the documentation:
There are a number of storage systems that provide an S3-compatible API, and the repository-s3 type allows you to use these systems in place of AWS S3. To do so, you should set the s3.client.CLIENT_NAME.endpoint setting to the system’s endpoint.
In elasticsearch.yml you just need to add s3.client.default.endpoint, there is no need to add s3.client.default.protocol because the default is already https.
You will need to check how to get the object_storage_namespace value for your account and the location will also depend on your account, this needed to be check within Oracle documentation.
After you set it in all your nodes and restart them, you may then add the repository and the values in the keystore.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.