AWS EC2
Properties
Name | Type | Description | Required |
---|---|---|---|
ami (AMI configuration) | object | yes | |
scaling (Scaling configuration) | object | no | |
storage (Storage configuration) | object | no | |
security (Security configuration) | object | yes |
Additional Properties: not allowed
Example
{
"ami": {
"id": "ami-0123456789abcdef0",
"gpu_id": "ami-0123456789abcdef0"
},
"scaling": {},
"storage": {
"parameters_bucket": "my-params-bucket",
"parameters_encryption_secret": "my-secret-name"
},
"security": {
"ssh_key": "my-ssh-key",
"iam_profile": "arn:aws:iam::123456789012:instance-profile/my-instance-profile"
}
}
ami: AMI configuration
Properties
Name | Type | Description | Required |
---|---|---|---|
id (AMI ID) | string | The ID of the Amazon Machine Image (AMI) to use for EC2 instances Pattern: ^ami-[a-f0-9]{8,17}$ | yes |
gpu_id (GPU AMI ID) | string | The ID of the GPU-enabled Amazon Machine Image (AMI) Pattern: ^ami-[a-f0-9]{8,17}$ | no |
Example
{
"id": "ami-0123456789abcdef0",
"gpu_id": "ami-0123456789abcdef0"
}
scaling: Scaling configuration
Properties
Name | Type | Description | Required |
---|---|---|---|
use_autoscaling_management (Auto Scaling) | boolean | Enable autoscaling management during deployments using scale in policies |
storage: Storage configuration
Properties
Name | Type | Description | Required |
---|---|---|---|
parameters_bucket (Parameters S3 Bucket) | string | The name of the S3 bucket used for storing parameters Minimal Length: 3 Maximal Length: 63 Pattern: ^[a-z0-9](?:[a-z0-9.-]{1,61}[a-z0-9])?$ | |
parameters_encryption_secret (Parameters Encryption Secret Name) | string | The name of the secret used for parameters encryption |
Example
{
"parameters_bucket": "my-params-bucket",
"parameters_encryption_secret": "my-secret-name"
}
security: Security configuration
Properties
Name | Type | Description | Required |
---|---|---|---|
ssh_key (SSH Key Name) | string | The name of the SSH key pair for EC2 instance access Pattern: ^[a-zA-Z0-9-_]+$ | no |
iam_profile (IAM Instance Profile ARN) | string | The ARN of the IAM instance profile to attach to EC2 instances Pattern: ^arn:aws:iam::[0-9]{12}:instance-profile/[a-zA-Z0-9+=,.@_-]+$ | yes |
Example
{
"ssh_key": "my-ssh-key",
"iam_profile": "arn:aws:iam::123456789012:instance-profile/my-instance-profile"
}