Cloud-CV / Cloud-CV/evalai-cli

Hardcoded AWS region

Open
#218 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
57
Forks
70
PR merge metrics
No merged PRs in 30d

Description

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

https://github.com/Cloud-CV/evalai-cli/blob/20fe1e61aa263aa8d16f93f67b24fefa6367c868/evalai/submissions.py#L124-L130

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:

2. 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`.

Contributor guide

Open the contributing guide

Research direction

Start with evalai/submissions.py lines 124-130 in evalai-cli to trace the Docker submission region, then compare credential handling with apps/challenges/utils.py lines 66-89 in EvalAI. Done means the issue’s non-us-east-1 submission behavior and the use_host_credentials question are resolved and documented by the relevant tests or behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, docker, python
Domain
cli, cloud
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.