Hello,
I have 2 EC2 instance which i setup Elasticsearch.
Now, I want to migrate to AWS Elasticsearch Service of AWS.
Please help me to migrate...
I read many articles, they suggest:
- Backup snapshot from Elasticsearch on EC2 to S3.
- Restore snapshot from S3 to AWS Elasticsearch Service.
But when I restore snapshot from S3 to AWS Elasticsearch Service, I got an issue:
[s3_repository] [[BV2WQeK0SwmVVyUl5UqITg, 'BlobStoreException[Failed to check if blob [master.dat] exists]; nested: AmazonS3Exception[Forbidden (Service: Amazon S3; Status Code: 403; Error Code: 403 Forbidden; Request ID: 111FA55AE6552692; S3 Extended Request ID: cfMuh5oCt0BfznYke8vkzZuWmOUAHyEGOgwqPfcumamUeEmNmlRy21NNTDRtp+UjLyO4G0vBnj4=)];'], [zqWMuQ8HR-CF-t72BLeMng, 'RemoteTransportException[[zqWMuQ8][x.x.x.x:9300][internal:admin/repository/verify]]; nested: BlobStoreException[Failed to check if blob [master.dat] exists]; nested: NotSerializableExceptionWrapper[amazon_s3_exception: Forbidden (Service: Amazon S3; Status Code: 403; Error Code: 403 Forbidden; Request ID: 1873B026CD272CC2; S3 Extended Request ID: oxVrIbRCOVrGV367qnisXGkQVeUqRSo4LG9pQguucOkarND8tibMqforW/HygA8c2BrpYY3mjW4=)];']]
and Mr. @rjernst say that: The error message means you have configured a different endpoint than the region the bucket exists in.