Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hardcoded AWS region #218

Open
masonlr opened this issue Dec 18, 2019 · 0 comments
Open

Hardcoded AWS region #218

masonlr opened this issue Dec 18, 2019 · 0 comments

Comments

@masonlr
Copy link

masonlr commented Dec 18, 2019

When making docker submissions the AWS region is hardcoded to us-east-1:

ecr_client = boto3.client(
"ecr",
region_name="us-east-1",
aws_access_key_id=AWS_SERVER_PUBLIC_KEY,
aws_secret_access_key=AWS_SERVER_SECRET_KEY,
aws_session_token=SESSION_TOKEN,
)

It remains possible to set arbitrary AWS_REGION values in eval-ai though:

https://github.com/Cloud-CV/EvalAI/blob/master/apps/challenges/utils.py#L66-L89

The issue specific to https://github.com/Cloud-CV/evalai-cli is:

  1. How do you make a submission to a non us-east-1 region?

A question that might need to be asked at https://github.com/Cloud-CV/EvalAI is:

  1. If challenge.use_host_credentials is True, why are the challenge credentials used? My expectation was the host credentials referred to those stored in os.environ.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant