4 "associate_public_ip_address": "true",
8 "aws_source_ami": "ami-031283ff8a43b021c",
9 "aws_ebs_autoscale": "",
10 "build_environment": "aws",
11 "public_key_file": "",
13 "nvidia_gpu_support": "",
22 "profile": "{{ user `aws_profile`}}",
23 "access_key": "{{user `aws_access_key`}}",
24 "secret_key": "{{user `aws_secret_key`}}",
25 "region": "{{user `aws_default_region`}}",
26 "ena_support": "true",
27 "source_ami": "{{user `aws_source_ami`}}",
28 "instance_type": "m4.large",
29 "vpc_id": "{{user `vpc_id`}}",
30 "subnet_id": "{{user `subnet_id`}}",
31 "associate_public_ip_address": "{{user `associate_public_ip_address`}}",
32 "ssh_username": "{{user `ssh_user`}}",
33 "ami_name": "arvados-{{user `arvados_cluster`}}-compute-{{isotime \"20060102150405\"}}",
34 "launch_block_device_mappings": [{
35 "device_name": "/dev/xvda",
38 "delete_on_termination": true
40 "ami_block_device_mappings": [
42 "device_name": "/dev/xvdb",
44 "virtual_name": "ephemeral0"
47 "device_name": "/dev/xvdc",
49 "virtual_name": "ephemeral1"
53 "Name": "arvados-{{user `arvados_cluster`}}-compute",
54 "creation_date": "{{isotime \"20060102150405\"}}",
58 "Name": "packer-arvados-{{user `arvados_cluster`}}-compute-builder",
59 "creation_date": "{{isotime \"20060102150405\"}}",
60 "environment": "development"
63 "Name": "packer-arvados-{{user `arvados_cluster`}}-compute-builder",
64 "creation_date": "{{isotime \"20060102150405\"}}",
65 "environment": "development"
70 "source": "1078ECD7.asc",
71 "destination": "/tmp/1078ECD7.asc"
74 "source": "scripts/etc-cloud-cloud.cfg.d-07_compute_arvados_dispatch_cloud.cfg",
75 "destination": "/tmp/etc-cloud-cloud.cfg.d-07_compute_arvados_dispatch_cloud.cfg"
78 "source": "scripts/usr-local-bin-ensure-encrypted-partitions.sh",
79 "destination": "/tmp/usr-local-bin-ensure-encrypted-partitions.sh"
82 "source": "scripts/usr-local-bin-ensure-encrypted-partitions-aws-ebs-autoscale.sh",
83 "destination": "/tmp/usr-local-bin-ensure-encrypted-partitions-aws-ebs-autoscale.sh"
86 "source": "scripts/create-ebs-volume-nvme.patch",
87 "destination": "/tmp/create-ebs-volume-nvme.patch"
90 "source": "{{user `public_key_file`}}",
91 "destination": "/tmp/crunch-authorized_keys"
94 "execute_command": "sudo -S env {{ .Vars }} /bin/bash '{{ .Path }}'",
95 "script": "scripts/base.sh",
96 "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`}}"]