Skip to content

allxone/cheapgpu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cheapgpu

Terraform script to provision AWS EC2 Spot Instances with Deep Learning AMI (Amazon Linux) latest version.

Requirements

  • Terraform
  • AWS cli
  • Default Terraform backend state must be either customized or disabled

Example

# Provision
aws configure
terraform init
terraform apply \
    -var 'spot_price=1.1' \
    -var 'instance_type=p3.2xlarge' \
    -var 'region=us-east-1' \
    -var 'key_name=terraform'

# Cleanup
terraform destroy

About

Provisioning cheap VMs with GPU

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages