From ff814c041e08fe30c61cfd68644f089052454d79 Mon Sep 17 00:00:00 2001 From: Rail Aliiev Date: Mon, 1 Jun 2015 13:25:25 -0400 Subject: [PATCH] Add signingworker type --- configs/signingworker | 48 ++++++++++++++++++++++++++++++++ configs/signingworker.cloud-init | 14 ++++++++++ 2 files changed, 62 insertions(+) create mode 100644 configs/signingworker create mode 100644 configs/signingworker.cloud-init diff --git a/configs/signingworker b/configs/signingworker new file mode 100644 index 00000000..02524fb6 --- /dev/null +++ b/configs/signingworker @@ -0,0 +1,48 @@ +{ + "us-east-1": { + "type": "signing-worker", + "domain": "srv.releng.use1.mozilla.com", + "ami": "ami-58246f30", + "subnet_ids": ["subnet-957710cc"], + "security_group_ids": ["sg-cf1027ab"], + "instance_type": "t2.micro", + "distro": "centos", + "ssh_key": "aws-releng", + "use_public_ip": true, + "instance_profile_name": "signing-worker", + "device_map": { + "/dev/xvda": { + "delete_on_termination": true, + "skip_resize": true, + "volume_type": "gp2", + "instance_dev": "/dev/xvda1" + } + }, + "tags": { + "moz-type": "signing-worker" + } + }, + "us-west-2": { + "type": "signing-worker", + "domain": "srv.releng.usw2.mozilla.com", + "ami": "ami-eb89acdb", + "subnet_ids": ["subnet-d50cb6a2"], + "security_group_ids": ["sg-ff8b939a"], + "instance_type": "t2.micro", + "distro": "centos", + "ssh_key": "aws-releng", + "use_public_ip": true, + "instance_profile_name": "signing-worker", + "device_map": { + "/dev/xvda": { + "delete_on_termination": true, + "skip_resize": true, + "volume_type": "gp2", + "instance_dev": "/dev/xvda1" + } + }, + "tags": { + "moz-type": "signing-worker" + } + } +} diff --git a/configs/signingworker.cloud-init b/configs/signingworker.cloud-init new file mode 100644 index 00000000..427f09ac --- /dev/null +++ b/configs/signingworker.cloud-init @@ -0,0 +1,14 @@ +#cloud-config + +fqdn: {fqdn} +hostname: {fqdn} +package_update: false +resize_rootfs: true +manage_etc_hosts: true +disable_root: false +ssh_pwauth: true +moz_instance_type: {moz_instance_type} +mounts: false +rsyslog: + - filename: log_aggregator_client.conf + content: "*.* @@log-aggregator.srv.releng.{region_dns_atom}.mozilla.com:1514"