You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/aws.md
+12-3Lines changed: 12 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,10 @@ In order to use ClusterODM with AWS:
4
4
5
5
* Create an Amazon Web Services Account
6
6
* Select a region to run your instances in - `us-east-2` typically has the cheapest instance costs.
7
-
* Create a security group in this region which allows inbound access from your ClusterODM master instance on TCP port 3000.
7
+
* Note the zone selected for the region, e.g. 'a'. This will appear appended to the region in 'availability zone'.
8
+
* Select/Create a VPC in which the resources will operate.
9
+
* Select/Create a subnet within the VPC.
10
+
* Create a security group in this region, VPC, and subnet which allows inbound access from your ClusterODM master instance on TCP port 3000. Note the name of the security group not the ID.
8
11
* Create an S3 bucket in this region to handle results. Don't configure this bucket to block public access.
9
12
* Select an AMI (machine image) to run - Ubuntu has a [handy AMI finder](https://cloud-images.ubuntu.com/locator/ec2/).
10
13
* Create an IAM account for ClusterODM to use, which has EC2 and S3 permissions.
@@ -30,12 +33,15 @@ the on-demand instance cost - you'll always pay the current market price, not yo
30
33
"endpoint": "s3.us-west-2.amazonaws.com",
31
34
"bucket": "bucketname"
32
35
},
36
+
"vpc": "",
37
+
"subnet": "",
33
38
"securityGroup": "CHANGEME!",
34
39
35
40
"monitoring": false,
36
41
"maxRuntime": -1,
37
42
"maxUploadTime": -1,
38
43
"region": "us-west-2",
44
+
"zone": "a",
39
45
"tags": ["type,clusterodm"],
40
46
41
47
"ami": "ami-07b4f3c02c7f83d59",
@@ -63,14 +69,17 @@ the on-demand instance cost - you'll always pay the current market price, not yo
63
69
| accessKey | AWS Access Key |
64
70
| secretKey | AWS Secret Key |
65
71
| s3 | S3 bucket configuration. Note that the bucket should *not* be configured to block public access. |
72
+
| vpc | The virtual private cloud in which the instances operate. Not providing this assumes a default setting for VPC within the AWS environment. |
73
+
| subnet | The subnet supporting the instances. Not providing this assumes a default setting for the subnet within the AWS environment. |
66
74
| securityGroup | AWS Security Group name (not ID). Must exist and allow incoming connections from your ClusterODM host on port TCP/3000. |
67
-
| createRetries | Number of attempts to create a droplet before giving up. Defaults to 1.
75
+
| createRetries | Number of attempts to create a droplet before giving up. Defaults to 1.|
68
76
| maxRuntime | Maximum number of seconds an instance is allowed to run ever. Set to -1 for no limit. |
69
77
| maxUploadTime | Maximum number of seconds an instance is allowed to receive file uploads. Set to -1 for no limit. |
70
78
| monitoring | Set to true to enable detailed Cloudwatch monitoring for the instance. |
71
79
| region | Region identifier where the instances should be created. |
80
+
| zone | Zone identifier where the instances should be created. |
72
81
| ami | The AMI (machine image) to launch this instance from. |
73
-
| tags | Comma-separated list of key,value tags to associate to the instance. |
82
+
| tags | Comma-separated list of key,value tags to associate to the instance. |
74
83
| spot | Whether to request spot instances. If this is true, a `spotPrice` needs to be provided in the `imageSizeMapping`. |
75
84
| imageSizeMapping | Max images count to instance size mapping. (See below.) |
76
85
| addSwap | Optionally add this much swap space to the instance as a factor of total RAM (`RAM * addSwap`). A value of `1` sets a swapfile equal to the available RAM. |
0 commit comments