local s3 storage
See original GitHub issueDescription
I have a local s3 running and I want to set --model-store
to the s3 bucket. However, I am not able to pass the credentials for my local s3.
TRTIS Information
What version of TRTIS are you using?
nvcr.io/nvidia/tensorrtserver:19.12-py3
Are you using the TRTIS container or did you build it yourself?
I am using the TRTIS container
To Reproduce Steps to reproduce the behavior:
- Create the aws config folder
.aws/
config
credentials
config:
[default]
s3 =
endpoint_url=http://minio:9000
signature_version = s3v4
[plugins]
endpoint = awscli_plugin_endpoint
credentials:
[default]
aws_access_key_id='foo'
aws_secret_access_key='bar'
- Create new image from TRTIS container by adding
awscli_plugin_endpoint
and.aws
to the container. Dockerfile:
FROM nvcr.io/nvidia/tensorrtserver:19.12-py3
RUN pip3 install awscli_plugin_endpoint
COPY .aws /root/.aws
- build
trtis
image from `Dockerfile - run server
docker run --rm trtis trtserver --model-store=s3://models
When I run TRTIS I get the following error:
E0113 20:41:25.707104 1 main.cc:1158] error: creating server: INTERNAL - Could not get MetaData for bucket with name models
Expected behavior
I expected it to use credentials and endpoint provided in the .aws
folder and connect to my s3 bucket
. What would be the proper way of using the local s3 storage? How to provide access key, secret and endpoints?
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Is there a server that provides an Amazon S3 style API locally?
I recently started using Skylable for my S3 needs, it's free (GPL). Their object storage supports ...
Read more >Running S3 Object Storage Locally with MinIO - Medium
In this article, I'll show you how to install MinIO using Docker and also on a Mac using homebrew.
Read more >7 Best Self-Hosted S3-Compatible Object Storage Software
7 Best Self-Hosted S3-Compatible Object Storage Software · MinIO · Ceph · Zenko · Riak S2 · Triton · LeoFS · HyperStore ·...
Read more >MinIO | High Performance, Kubernetes Native Object Storage
MinIO's High Performance Object Storage is Open Source, Amazon S3 compatible, Kubernetes Native and is designed for cloud native workloads like AI.
Read more >StoneFly Local S3 Object Storage Appliances
Highly scalable local S3 object storage appliance accessible via REST APIs with integration support for Rubrik, Commvault, Veeam, and other S3 applications.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
To be fixed with #1059, will close when merged into master
@deadeyegoodwin You are running your own S3-compatible server? Yes, I am running local S3 using MinIO More details: in
filesystem.cc
file insideS3FileSystem::S3FileSystem
wheres3client
is created we can add the endpoint url. If I am not wrong, it would look something like:I think if it works, than
endpointOverride
can be added as an option and used as:trtserver --endpointOverride="localhost:<minio-port>"