Permalink
Fetching contributors…
Cannot retrieve contributors at this time
206 lines (175 sloc) 4.18 KB
#
# Copyright (c) 2018 Cloudera, Inc. All rights reserved.
#
#
# Sample simple AWS Cloudera Altus Director configuration file
#
# 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: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html
#
awsRegion: region-REPLACE-ME
#
# Get AWS credentials from the OS environment
# See http://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 on an instance
# launched with an IAM role.
# awsAccessKeyId: ${?AWS_ACCESS_KEY_ID}
# awsSecretAccessKey: ${?AWS_SECRET_ACCESS_KEY}
#
# ID of the VPC subnet
# See: http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_Subnets.html
#
awsSubnetId: subnet-REPLACE-ME
#
# Comma separated list of security group IDs
# See: http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_SecurityGroups.html
#
# Default security group
# Multiple security groups may be specified as a comma-separated list. e.g., "sg-abc123,sg-def456"
#
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, rhel6.7, rhel7.2, rhel7.4
# Default: centos7.4
#
# os: centos7.4
#
# OPTIONAL: Cloudera Manager version
#
# Default: matches the default for the version of Cloudera Altus Director
#
# cmVersion: "6.0"
#
# OPTIONAL: CDH version
#
# Default: matches the default for the version of Cloudera Altus Director
#
# cdhVersion: "6.0"
#
# 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