X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/e2dcac3a5cb4488848f4ea4ca12f78cd57c3a40d..0b4945244d55214b331adabce38e33800b55b3e1:/tools/compute-images/arvados-images-aws.json diff --git a/tools/compute-images/arvados-images-aws.json b/tools/compute-images/arvados-images-aws.json index 23b7832fcb..c030ea6aff 100644 --- a/tools/compute-images/arvados-images-aws.json +++ b/tools/compute-images/arvados-images-aws.json @@ -6,10 +6,12 @@ "aws_profile": "", "aws_secret_key": "", "aws_source_ami": "ami-031283ff8a43b021c", + "aws_ebs_autoscale": "", "build_environment": "aws", "public_key_file": "", "mksquashfs_mem": "", "nvidia_gpu_support": "", + "goversion": "", "reposuffix": "", "resolver": "", "ssh_user": "admin", @@ -24,7 +26,7 @@ "region": "{{user `aws_default_region`}}", "ena_support": "true", "source_ami": "{{user `aws_source_ami`}}", - "instance_type": "m4.large", + "instance_type": "m5.large", "vpc_id": "{{user `vpc_id`}}", "subnet_id": "{{user `subnet_id`}}", "associate_public_ip_address": "{{user `associate_public_ip_address`}}", @@ -33,7 +35,7 @@ "launch_block_device_mappings": [{ "device_name": "/dev/xvda", "volume_size": 20, - "volume_type": "gp2", + "volume_type": "gp3", "delete_on_termination": true }], "ami_block_device_mappings": [ @@ -76,6 +78,14 @@ "type": "file", "source": "scripts/usr-local-bin-ensure-encrypted-partitions.sh", "destination": "/tmp/usr-local-bin-ensure-encrypted-partitions.sh" + },{ + "type": "file", + "source": "scripts/usr-local-bin-ensure-encrypted-partitions-aws-ebs-autoscale.sh", + "destination": "/tmp/usr-local-bin-ensure-encrypted-partitions-aws-ebs-autoscale.sh" + },{ + "type": "file", + "source": "scripts/create-ebs-volume-nvme.patch", + "destination": "/tmp/create-ebs-volume-nvme.patch" },{ "type": "file", "source": "{{user `public_key_file`}}", @@ -84,6 +94,6 @@ "type": "shell", "execute_command": "sudo -S env {{ .Vars }} /bin/bash '{{ .Path }}'", "script": "scripts/base.sh", - "environment_vars": ["RESOLVER={{user `resolver`}}","REPOSUFFIX={{user `reposuffix`}}","MKSQUASHFS_MEM={{user `mksquashfs_mem`}}","NVIDIA_GPU_SUPPORT={{user `nvidia_gpu_support`}}","CLOUD=aws"] + "environment_vars": ["RESOLVER={{user `resolver`}}","REPOSUFFIX={{user `reposuffix`}}","MKSQUASHFS_MEM={{user `mksquashfs_mem`}}","NVIDIA_GPU_SUPPORT={{user `nvidia_gpu_support`}}","CLOUD=aws","AWS_EBS_AUTOSCALE={{user `aws_ebs_autoscale`}}","GOVERSION={{user `goversion`}}"] }] }