### AWS EC2 Environment settings
|
|
### Route 53 Zone ID (AWS)
|
# This is the Route53 HostedZoneId where you will create your Public DNS entries
|
# This only needs to be defined if your CF template uses route53
|
HostedZoneId: Z3IHLWJZOU9SRT
|
|
# The region to be used, if not specified by -e in the command line
|
aws_region: us-east-1
|
|
# The key that is used to
|
key_name: "default_key_name"
|
|
## Networking (AWS)
|
subdomain_base_short: "{{ guid }}"
|
subdomain_base_suffix: ".example.opentlc.com"
|
subdomain_base: "{{subdomain_base_short}}{{subdomain_base_suffix}}"
|
|
## Environment Sizing
|
|
clientvm_instance_type: "t2.large"
|
clientvm_instance_image: RHELAMI
|
|
###### VARIABLES YOU SHOULD ***NOT*** CONFIGURE FOR YOUR DEPLOYEMNT
|
|
docker_device: /dev/xvdb
|
|
###### You can, but you usually wouldn't need to.
|
ansible_user: ec2-user
|
remote_user: ec2-user
|
|
### CLOUDFORMATIONS vars
|
|
zone_internal_dns: "{{guid}}.internal."
|
chomped_zone_internal_dns: "{{guid}}.internal"
|
|
bastion_public_dns: "bastion.{{subdomain_base}}."
|
bastion_public_dns_chomped: "bastion.{{subdomain_base}}"
|
vpcid_name_tag: "{{subdomain_base}}"
|
|
az_1_name: "{{ aws_region }}a"
|
az_2_name: "{{ aws_region }}b"
|
|
subnet_private_1_cidr_block: "192.168.2.0/24"
|
subnet_private_1_az: "{{ az_2_name }}"
|
subnet_private_1_name_tag: "{{subdomain_base}}-private"
|
|
subnet_private_2_cidr_block: "192.168.1.0/24"
|
subnet_private_2_az: "{{ az_1_name }}"
|
subnet_private_2_name_tag: "{{subdomain_base}}-private"
|
|
subnet_public_1_cidr_block: "192.168.10.0/24"
|
subnet_public_1_az: "{{ az_1_name }}"
|
subnet_public_1_name_tag: "{{subdomain_base}}-public"
|
|
subnet_public_2_cidr_block: "192.168.20.0/24"
|
subnet_public_2_az: "{{ az_2_name }}"
|
subnet_public_2_name_tag: "{{subdomain_base}}-public"
|
|
dopt_domain_name: "{{ aws_region }}.compute.internal"
|
|
rtb_public_name_tag: "{{subdomain_base}}-public"
|
rtb_private_name_tag: "{{subdomain_base}}-private"
|
|
cf_template_description: "{{ env_type }}-{{ guid }} template "
|
|
cloudformation_retries: 2
|
ocp_report: false
|
|
rootfs_size_clientvm: 200
|
|
instances:
|
- name: "clientvm"
|
count: "{{ num_users }}"
|
public_dns: true
|
floating_ip: true
|
image_id: "{{ clientvm_instance_image }}"
|
flavor:
|
ec2: "{{ clientvm_instance_type }}"
|
tags:
|
- key: "AnsibleGroup"
|
value: "bastions"
|
- key: "ostype"
|
value: "linux"
|
rootfs_size: "{{ rootfs_size_clientvm }}"
|
volumes:
|
- device_name: "{{docker_device}}"
|
volume_size: "{{ docker_size }}"
|
volume_type: gp2
|
security_groups:
|
- BastionSG
|