forked from cloudera/director-scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaws.simple_setup.conf
213 lines (184 loc) · 4.65 KB
/
aws.simple_setup.conf
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
#
# Copyright (c) 2018-2019 Cloudera, Inc. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#
# Sample Cloudera Altus Director configuration file for simple setup in AWS
#
# This is a template for use in simple cluster setup for an AWS cluster.
#
#
# Required basic information
#
#
# Cluster name
#
name: simple-cluster
#
# The environment and deployment name will be generated by default based on the cluster
# name. Another cluster can be bootstrapped under the same deployment by specifying the
# existing environment and deployment name along with a new cluster name. If an existing
# environment is specified, then other information noted in this template should be
# omitted.
#
# environmentName: simple-cluster Environment
# deploymentName: simple-cluster Deployment
#
# The cloud provider: "aws" for AWS
#
providerType: aws
#
# The cluster type: basic, data_engineering, analytic_database, operational_database,
# or edh
#
clusterType: basic
#
# AWS configuration
#
# If an existing environment is specified above, this information is ignored
# and should be omitted.
#
#
# ID of the Amazon AWS region to use
# See: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html
#
awsRegion: region-REPLACE-ME
#
# Get AWS credentials from the OS environment
# See https://docs.aws.amazon.com/general/latest/gr/aws-security-credentials.html
#
# If specifying the access keys directly and not through variables, make sure to enclose
# them in double quotes.
#
# Leave the accessKeyId and secretAccessKey fields blank when running Altus Director on an instance
# launched with an IAM role.
# awsAccessKeyId: ${?AWS_ACCESS_KEY_ID}
# awsSecretAccessKey: ${?AWS_SECRET_ACCESS_KEY}
#
# ID of the VPC subnet
# See: https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html
#
awsSubnetId: subnet-REPLACE-ME
#
# Comma separated list of security group IDs
# See: https://docs.aws.amazon.com/vpc/latest/userguide/VPC_SecurityGroups.html
#
awsSecurityGroupsIds: sg-REPLACE-ME
#
# SSH credentials to use to connect to the instances
#
# If an existing environment is specified above, this information is ignored
# and should be omitted.
#
#
# The username for SSH connections to instances
#
sshUsername: ec2-user
#
# The private key for SSH connections to instances
#
# The value must be a string containing the private key file contents.
#
sshPrivateKey: """-----BEGIN RSA PRIVATE KEY-----
REPLACE-ME
-----END RSA PRIVATE KEY-----
"""
#
# Other SSH credentials properties supported:
#
# sshPort: 22
# sshPassword: password-REPLACE-ME
#
#
# Simple cluster setup configuration properties
#
# Most other configuration properties are decided for you, but some properties
# must be specified. Others are optional.
#
#
# REQUIRED: Instance type for worker nodes (YARN node manager, HDFS datanode, etc.)
#
workerInstanceType: m4.REPLACE-ME
#
# OPTIONAL: Tags to apply to all instances
#
#instanceTags {
# purpose: proof-of-concept
#}
#
# OPTIONAL: AMI for all instances
#
# If not specified, an AMI is selected based on the chosen operating system and
# region.
#
# NOTE: Automatic AMI selection is not available in the eu-west-3 region for
# CentOS before version 7.4.
#
# instanceImage: ami-REPLACE-ME
#
# OPTIONAL: Prefix for all instance names
#
# Default: simple
#
# instanceNamePrefix: simple
#
# OPTIONAL: Operating system for all instances. Must match with instanceImage
# if specified.
#
# Supported for AWS: centos6.7, centos7.2, centos7.4, centos7.5, centos7.6, rhel6.7, rhel7.2, rhel7.4, rhel7.5, rhel7.6
# Default: centos7.5
#
# os: centos7.5
#
# OPTIONAL: Cloudera Manager version
#
# Default: matches the default for the version of Cloudera Altus Director
#
# cmVersion: "6.3"
#
# OPTIONAL: CDH version
#
# Default: matches the default for the version of Cloudera Altus Director
#
# cdhVersion: "6.3"
#
# OPTIONAL: Number of master nodes
#
# Default: 1
#
# masterCount: 1
#
# OPTIONAL: Number of worker nodes
#
# Default: 3
#
# workerCount: 3
#
# OPTIONAL: Minimum number of worker nodes
#
# Default: 3
#
# workerMinCount: 3
#
# OPTIONAL: Number of gateway nodes
#
# Default: 1
#
# gatewayCount: 1
#
# OPTIONAL: Minimum number of gateway nodes
#
# Default: 1
#
# gatewayMinCount: 1