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: README.md
+47-33Lines changed: 47 additions & 33 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,10 @@
2
2
3
3
# Terraform Provider Iterative
4
4
5
-
The Terraform Iterative provider is a plugin for Terraform that allows for the full lifecycle management of GPU or non GPU cloud resources with your favourite [vendor](#supported-vendors). The provider offers a simple and homogeneous way to deploy a GPU or a cluster of them reducing the complexity.
5
+
The Terraform Iterative provider is a plugin for Terraform that allows for the
6
+
full lifecycle management of GPU or non GPU cloud resources with your favourite
7
+
[vendor](#supported-vendors). The provider offers a simple and homogeneous way
8
+
to deploy a GPU or a cluster of them reducing the complexity.
|```region```|```us-west``````us-east``````eu-west``````eu-north```|```us-west```| Sets the collocation region |
35
-
|```instance_name```|| cml_{UID}| Sets the instance name and related resources like AWS key pair.|
36
-
|```instance_hdd_size```|| 10 | Sets the instance hard disk size in gb|
37
-
|```instance_type```|```m```, ```l```, ```xl```|```m```| Sets thee instance computing size. You can also specify vendor specific machines in AWS i.e. ```t2.micro```|
38
-
|```instance_gpu```|``````, ```testla```, ```k80```|``````| Sets the desired GPU if the ```instance_type``` is one of our types.|
39
-
|```key_public```||| Set up ssh access with your OpenSSH public key. If not provided one be automatically generated and returned in terraform.tfstate|
40
-
|aws_security_group ||```cml```| AWS specific variable to setup an specific security group. If specified the instance will be launched in with that sg within the vpc managed by the specified sg. If not a new sg called ```cml``` will be created under the default vpc|
|`region`|`us-west``us-east``eu-west``eu-north`|`us-west`| Sets the collocation region|
38
+
|`ami`||`iterative-cml`| Sets the ami to be used. For that the provider does a search in the cloud provider by image name not by id, taking the lastest version in case there are many with the same name. Defaults to [iterative-cml image](#iterative-cml-image)|
39
+
|`instance_name`|| cml\_{UID} | Sets the instance name and related resources like AWS key pair. |
40
+
|`instance_hdd_size`|| 10 | Sets the instance hard disk size in gb |
41
+
|`instance_type`|`m`, `l`, `xl`|`m`| Sets thee instance computing size. You can also specify vendor specific machines in AWS i.e. `t2.micro`|
42
+
|`instance_gpu`| ``, `testla`, `k80`| `` | Sets the desired GPU if the `instance_type` is one of our types. |
43
+
|`key_public`||| Set up ssh access with your OpenSSH public key. If not provided one be automatically generated and returned in terraform.tfstate |
44
+
| aws_security_group ||`cml`| AWS specific variable to setup an specific security group. If specified the instance will be launched in with that sg within the vpc managed by the specified sg. If not a new sg called `cml` will be created under the default vpc |
42
45
43
46
# Supported vendors
44
47
45
-
- AWS
46
-
48
+
- AWS
49
+
47
50
### AWS instance equivalences.
48
-
The instance type in AWS is calculated joining the ```instance_type``` and ```instance_gpu```
49
-
50
-
| type | gpu | aws |
51
-
| ------- | ------ | -------- |
52
-
| m || m5.2xlarge |
53
-
| l || m5.8xlarge |
54
-
| xl || m5.16xlarge |
55
-
| m | k80 | p2.xlarge |
56
-
| l | k80 | p2.8xlarge |
57
-
| xl | k80 | p2.16xlarge |
58
-
| m | tesla | p3.xlarge |
59
-
| l | tesla | p3.8xlarge |
60
-
| xl | tesla | p3.16xlarge |
61
-
62
-
| region | aws |
63
-
| ------- | ------ |
64
-
| us-west | us-west-1 |
65
-
| us-east | us-east-1 |
51
+
52
+
The instance type in AWS is calculated joining the `instance_type` and
53
+
`instance_gpu`
54
+
55
+
| type | gpu | aws |
56
+
| ---- | ----- | ----------- |
57
+
| m || m5.2xlarge |
58
+
| l || m5.8xlarge |
59
+
| xl || m5.16xlarge |
60
+
| m | k80 | p2.xlarge |
61
+
| l | k80 | p2.8xlarge |
62
+
| xl | k80 | p2.16xlarge |
63
+
| m | tesla | p3.xlarge |
64
+
| l | tesla | p3.8xlarge |
65
+
| xl | tesla | p3.16xlarge |
66
+
67
+
| region | aws |
68
+
| -------- | ---------- |
69
+
| us-west | us-west-1 |
70
+
| us-east | us-east-1 |
66
71
| eu-north | us-north-1 |
67
-
| eu-west | us-west-1 |
72
+
| eu-west | us-west-1 |
73
+
74
+
# Iterative CML image
75
+
76
+
It's a GPU ready image based on Ubuntu 18.04. It has the following stack already
0 commit comments