add datagrepper adam

This commit is contained in:
Mark O'Brien 2021-02-11 12:21:56 +00:00
parent 9ab19a942f
commit 2b1ea425ed
4 changed files with 37 additions and 0 deletions

View file

@ -0,0 +1,24 @@
ami_id: ami-0d1025d5e7588f2e6
ssh_key_name: 'mobrien'
instance_name: "arc-{{initiative_name}}"
disk_size: 3000
subnet_id: subnet-0ebb9d7d8e4db80df
security_group_name: "arc-datanommer-sg"
vpc_id: vpc-0fe7ead908f270a09
aws_region: us-east-1
open_ports: [22, 80, 443]
instance_type: r4.xlarge
initiative_name: datanommer
env: "production"
wsgi_wants_apache: True
# postgresql related vars
# kernel SHMMAX value
kernel_shmmax: 68719476736
shared_buffers: "4GB"
effective_cache_size: "12GB"
dns_name: datagrepper-adam

View file

@ -4,3 +4,5 @@ datanommer ansible_host=100.26.18.234
datanommer-test ansible_host=54.236.16.215
[datanommer-timescale]
datanommer-timescale ansible_host=54.146.95.101
[datanommer-adam]
datanommer-adam ansible_host=54.90.63.232

View file

@ -0,0 +1,2 @@
hosted_zone_address: arc.fedorainfracloud.org
route53_zone: "Z0348060UAGMJ5XDVVKD"

View file

@ -53,3 +53,12 @@
mode: 0666
state: present
backup: no
- name: create Route53 record
route53:
state: present
hosted_zone_id: "{{route53_zone}}"
record: "{{dns_name}}.{{hosted_zone_address}}"
type: A
value: "{{ec2_instance.instances[0].public_ip_address}}"
wait: yes