This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AWSTemplateFormatVersion: '2010-09-09' | |
Description: 'Broker cloudformation template' | |
Parameters: | |
KeyName: | |
Description: 'For SSH access' | |
Type: 'AWS::EC2::KeyPair::KeyName' | |
MinimumInstances: | |
Description: Minimum number of instances for autoscaling group | |
Type: Number | |
AllowedValues: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AWSTemplateFormatVersion: '2010-09-09' | |
Description: 'Zookeeper cloudformation template' | |
Parameters: | |
MinimumInstances: | |
Description: Minimum number of instances for autoscaling group | |
Type: Number | |
AllowedValues: | |
- 3 | |
- 5 | |
InstanceType: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dataDir=/tmp/zookeeper | |
clientPort=2181 | |
# disable the per-ip limit on the number of connections since this is a non-production config | |
maxClientCnxns=10 | |
server.1=172.31.11.221:2888:3888 | |
server.2=172.31.7.161:2888:3888 | |
server.3=172.31.2.85:2888:3888 | |
initLimit=5 | |
syncLimit=2 |