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

Fixes for installing conda environment on EC2 #51

Merged
merged 7 commits into from
Jan 10, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
pre-commit-ci[bot] committed Jan 3, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 9f3dab44e7b663b7dedde8e3ef0f58901f2a029f
39 changes: 21 additions & 18 deletions covalent_ec2_plugin/ec2.py
Original file line number Diff line number Diff line change
@@ -51,27 +51,30 @@
}
)


class ExecutorPluginDefaults(BaseModel):
profile:str= ""
credentials_file:str = ""
region:str = ""
instance_type:str= "t2.micro"
volume_size:str= "8"
vpc:str= ""
subnet:str= ""
key_name:str= ""
conda_env:str= "covalent"
profile: str = ""
credentials_file: str = ""
region: str = ""
instance_type: str = "t2.micro"
volume_size: str = "8"
vpc: str = ""
subnet: str = ""
key_name: str = ""
conda_env: str = "covalent"


class ExecutorInfraDefaults(BaseModel):
profile:str= ""
credentials_file:str = ""
region:str = ""
instance_type:str= "t2.micro"
volume_size:str= "8"
vpc:str= ""
subnet:str= ""
key_name:str= ""
conda_env:str= "covalent"
profile: str = ""
credentials_file: str = ""
region: str = ""
instance_type: str = "t2.micro"
volume_size: str = "8"
vpc: str = ""
subnet: str = ""
key_name: str = ""
conda_env: str = "covalent"


EC2_KEYPAIR_NAME = "covalent-ec2-executor-keypair"
EC2_SSH_DIR = "~/.ssh/covalent"