Skip to content

Instantly share code, notes, and snippets.

@jacobtomlinson
Created August 26, 2021 10:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jacobtomlinson/d6dbf2122b21fc7fd740f577ac7785c0 to your computer and use it in GitHub Desktop.
Save jacobtomlinson/d6dbf2122b21fc7fd740f577ac7785c0 to your computer and use it in GitHub Desktop.
Dask Cloudprovider AWS docs rst-to-myst

Amazon Web Services (AWS)

.. currentmodule:: dask_cloudprovider.aws
.. autosummary::
   EC2Cluster
   ECSCluster
   FargateCluster

Overview

Authentication

In order to create clusters on AWS you need to set your access key, secret key and region. The simplest way is to use the aws command line tool.

$ pip install awscli
$ aws configure

Credentials

In order for your Dask workers to be able to connect to other AWS resources such as S3 they will need credentials.

This can be done by attaching IAM roles to individual resources or by passing credentials as environment variables. See each cluster manager docstring for more information.

Elastic Compute Cloud (EC2)

.. autoclass:: EC2Cluster
   :members:

Elastic Container Service (ECS)

.. autoclass:: ECSCluster
   :members:

Fargate

.. autoclass:: FargateCluster
   :members:

Amazon Web Services (AWS)

dask_cloudprovider.aws

EC2Cluster ECSCluster FargateCluster

Overview

Authentication

In order to create clusters on AWS you need to set your access key, secret key and region. The simplest way is to use the aws command line tool.

$ pip install awscli
$ aws configure

Credentials

In order for your Dask workers to be able to connect to other AWS resources such as S3 they will need credentials.

This can be done by attaching IAM roles to individual resources or by passing credentials as environment variables. See each cluster manager docstring for more information.

Elastic Compute Cloud (EC2)

EC2Cluster

Elastic Container Service (ECS)

ECSCluster

Fargate

FargateCluster

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment