Just to clarify the question.
Is solr S3 backup contrib providing authentication using roles attached to
EC2 instance?



On Fri, 14 Jan 2022 at 10:10, Sergio García Maroto <[email protected]>
wrote:

> Hi. thanks for replies.
>
> 1) Yes I have tried both things.
> I created bucket manually and still same issue.
>
> 2) I added required jars and section to solr.xml
>
> I am running this from a linux server which doesn't have credentials file.
> Instead has a role attached to the EC2 instance.
> It's supposed to work to validate against S3 if Solr used AWS SDK but I
> have the problem that's not available.
>
> Can anyone confirm that way of authentication is available?
>
> Thanks
>
>
>
> On Thu, 13 Jan 2022 at 17:47, Shawn Heisey <[email protected]> wrote:
>
>> On 1/13/22 9:09 AM, Sergio García Maroto wrote:
>> > I am trying to utilize new AWS S3 bucket backup contrib.
>> > Using the collection API I am getting the following error
>> >
>> > API CALL
>> >
>> http://servername:8983/solr/admin/collections?action=BACKUP&name=personbackup&collection=person&repository=s3&location=s3://bucketname/backupfolder
>>
>> I recently did a test using the s3 backup repo, to help somebody figure
>> it out.  I had it working.
>>
>> I believe that the "location" parameter should be a directory name
>> inside the bucket, not a URL.  I do not recall whether I had to create
>> that directory in the bucket before it would work, or whether it created
>> the directory for me.  If it were me, I would create the directory in
>> AWS prior to running the API call.
>>
>> I am assuming that you have taken steps to define the AWS access keys on
>> the startup command, and that you also took steps to add the required
>> jars?
>>
>> Thanks,
>> Shawn
>>
>>
>>

Reply via email to