Skip to content

ikosyanenko/terraform-aws-ec2-dask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Provisioning a dask cluster on EC2 spot instances with Terraform

Download and install next HashiCorp tools

Step by step tutorial

Create the base AMI with packer (install docker and build container):

packer build images/dask_base_cpu.json

Note: add argument --force to re-create an existing AMI.

Create the cluster with terraform:

terraform plan
terraform apply

Create SSH tunnel to access the dask scheduler:

ssh -N \
    -L 8786:localhost:8786 \
    -L 8787:localhost:8787 \
    ubuntu@[scheduler.public_ip]

Check the DASK scheduler UI: localhost:8787/status

Destroy all DASK cluster:

terraform destroy

This project based on dask-terraform-recipes

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published