forked from hortonworks/ansible-hortonworks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
all
64 lines (61 loc) · 2.47 KB
/
all
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
---
cloud_config:
region: 'eu-west-1'
zone: 'eu-west-1a'
vpc_name: "{{ cluster_name }}-vpc"
vpc_cidr: '10.0.0.0/16'
subnet_name: '{{ cluster_name }}-subnet'
subnet_cidr: '10.0.10.0/24'
internet_gateway: true # Only set to false if using local repos (node will be without Internet access)
admin_username: ubuntu # Depends on the image, usually can be set to ubuntu, centos or ec2-user
ssh:
keyname: "{{ cluster_name }}-key"
publickey: '~/.ssh/id_rsa.pub'
privatekey: '~/.ssh/id_rsa'
security_groups:
- name: ambari_access
rules:
- {"proto":"tcp", "from_port":"8080", "to_port":"8080", "cidr_ip":"0.0.0.0/0"}
description: "Ambari access - {{ cluster_name }}"
- name: default_cluster_access
rules:
- {"proto":"tcp", "from_port":"22", "to_port":"22", "cidr_ip":"0.0.0.0/0"}
- {"proto":"all", "group_name":"default_cluster_access"}
description: "SSH and inter-nodes access - {{ cluster_name }}"
nodes:
- host_group: "hdp-master"
count: 1
image: ami-0773391ae604c49a4 # Ubuntu 16.04 AMI in eu-west-1 only (change this ID if using a different region)
type: r4.xlarge
spot: false
spot_price: "0.1"
public_ip: true
security_groups: default_cluster_access,ambari_access
root_volume:
ebs: true # non-EBS root volumes are not supported at the moment
type: gp2
size: 25
- host_group: "hdp-slave"
count: 3
image: ami-0773391ae604c49a4 # Ubuntu 16.04 AMI in eu-west-1 only (change this ID if using a different region)
type: m5.xlarge
spot: false
spot_price: "0.1"
public_ip: true
security_groups: default_cluster_access
root_volume:
ebs: true # non-EBS root volumes are not supported at the moment
type: gp2
size: 25
- host_group: "hdp-edge"
count: 0
image: ami-0773391ae604c49a4 # Ubuntu 16.04 AMI in eu-west-1 only (change this ID if using a different region)
type: m4.large
spot: true
spot_price: "0.05"
public_ip: true
security_groups: default_cluster_access
root_volume:
ebs: true # non-EBS root volumes are not supported at the moment
type: gp2
size: 20