added encrypted disk templates
f8c8a002
Hari Sekhon
committed
3 changed files
centos7-12nodes-encrypted.json
/cloudformation/centos7-12nodes-encrypted.json+713
/cloudformation/centos7-12nodes-encrypted.json
Add comment 1 Plus  {
Add comment 2 Plus   "AWSTemplateFormatVersion": "2010-09-09",
Add comment 3 Plus   "Description": "MyCluster Description",
Add comment 4 Plus   "Parameters": {
Add comment 5 Plus   "MyInstanceType": {
Add comment 6 Plus   "Default": "m4.2xlarge",
Add comment 7 Plus   "Description": "Instance Type",
Add comment 8 Plus   "Type": "String"
Add comment 9 Plus   },
Add comment 10 Plus   "MyAMI": {
Add comment 11 Plus   "Default": "ami-33734044",
Add comment 12 Plus   "Description": "AMI (CentOS 7 by default)",
Add comment 13 Plus   "Type": "String"
Add comment 14 Plus   },
Add comment 15 Plus   "MySSHKeyPairName": {
Add comment 16 Plus   "Default": "hari",
Add comment 17 Plus   "Description": "SSH Key",
Add comment 18 Plus   "Type": "AWS::EC2::KeyPair::KeyName"
Add comment 19 Plus   },
Add comment 20 Plus   "MyAvailabilityZone": {
Add comment 21 Plus   "Default": "eu-west-1a",
Add comment 22 Plus   "Description": "Availability Zone",
Add comment 23 Plus   "Type": "AWS::EC2::AvailabilityZone::Name"
Add comment 24 Plus   },
Add comment 25 Plus   "MySecurityGroup": {
Add comment 26 Plus   "Default": "sg-XXXXXXXX",
Add comment 27 Plus   "Description": "Security Group ID",
Add comment 28 Plus   "Type": "String"
Add comment 29 Plus   },
Add comment 30 Plus   "MyPlacementGroup": {
Add comment 31 Plus   "Default": "MyExistingPlacementGroup",
Add comment 32 Plus   "Description": "Placement Group",
Add comment 33 Plus   "Type": "String"
Add comment 34 Plus   },
Add comment 35 Plus   "MyRootVolumeSize": {
Add comment 36 Plus   "Default": 50,
Add comment 37 Plus   "Description": "EBS Root Volume Size",
Add comment 38 Plus   "Type": "Number"
Add comment 39 Plus   },
Add comment 40 Plus   "MyDataVolumeSize": {
Add comment 41 Plus   "Default": 100,
Add comment 42 Plus   "Description": "EBS Data Volume Size",
Add comment 43 Plus   "Type": "Number"
Add comment 44 Plus   },
Add comment 45 Plus   "MyTag": {
Add comment 46 Plus   "Default": "MyHadoopCluster1",
Add comment 47 Plus   "Description": "Tag for convenience",
Add comment 48 Plus   "Type": "String"
Add comment 49 Plus   }
Add comment 50 Plus   },
Add comment 51 Plus   "Resources": {
Add comment 52 Plus   "instance01": {
Add comment 53 Plus   "Type": "AWS::EC2::Instance",
Add comment 54 Plus   "Properties": {
Add comment 55 Plus   "AvailabilityZone": { "Ref": "MyAvailabilityZone" },
Add comment 56 Plus   "DisableApiTermination": "false",
Add comment 57 Plus   "InstanceInitiatedShutdownBehavior": "stop",
Add comment 58 Plus   "EbsOptimized": "true",
Add comment 59 Plus   "ImageId": { "Ref": "MyAMI" },
Add comment 60 Plus   "InstanceType": { "Ref": "MyInstanceType" },
Add comment 61 Plus   "KeyName": { "Ref" : "MySSHKeyPairName" },
Add comment 62 Plus   "Monitoring": "false",
Add comment 63 Plus   "PlacementGroupName": { "Ref": "MyPlacementGroup" },
Add comment 64 Plus   "Tags": [
Add comment 65 Plus   {
Add comment 66 Plus   "Key": "Name",
Add comment 67 Plus   "Value": "hadoop-node01"
Add comment 68 Plus   },
Add comment 69 Plus   {
Add comment 70 Plus   "Key": "name",
Add comment 71 Plus   "Value": { "Ref": "MyTag" }
Add comment 72 Plus   }
Add comment 73 Plus   ],
Add comment 74 Plus   "BlockDeviceMappings": [
Add comment 75 Plus   {
Add comment 76 Plus   "DeviceName" : "/dev/sda1",
Add comment 77 Plus   "Ebs" : { "VolumeSize" : { "Ref": "MyRootVolumeSize" } }
Add comment 78 Plus   }
Add comment 79 Plus   ],
Add comment 80 Plus   "Volumes": [
Add comment 81 Plus   {
Add comment 82 Plus   "Device" : "/dev/sdb",
Add comment 83 Plus   "VolumeId": { "Ref": "volumeInstance01Data" }
Add comment 84 Plus   }
Add comment 85 Plus   ],
Add comment 86 Plus   "NetworkInterfaces": [
Add comment 87 Plus   {
Add comment 88 Plus   "DeleteOnTermination": "true",
Add comment 89 Plus   "Description": "Primary network interface",
Add comment 90 Plus   "DeviceIndex": 0,
Add comment 91 Plus   "SubnetId": "subnet-XXXXXXXX",
Add comment 92 Plus   "GroupSet": [ { "Ref": "MySecurityGroup" } ],
Add comment 93 Plus   "AssociatePublicIpAddress": "true"
Add comment 94 Plus   }
Add comment 95 Plus   ]
Add comment 96 Plus   }
Add comment 97 Plus   },
Add comment 98 Plus   "instance02": {
Add comment 99 Plus   "Type": "AWS::EC2::Instance",
Add comment 100 Plus   "Properties": {
Add comment 101 Plus   "AvailabilityZone": { "Ref": "MyAvailabilityZone" },
Add comment 102 Plus   "DisableApiTermination": "false",
Add comment 103 Plus   "InstanceInitiatedShutdownBehavior": "stop",
Add comment 104 Plus   "EbsOptimized": "true",
Add comment 105 Plus   "ImageId": { "Ref": "MyAMI" },
Add comment 106 Plus   "InstanceType": { "Ref": "MyInstanceType" },
Add comment 107 Plus   "KeyName": { "Ref" : "MySSHKeyPairName" },
Add comment 108 Plus   "Monitoring": "false",
Add comment 109 Plus   "PlacementGroupName": { "Ref": "MyPlacementGroup" },
Add comment 110 Plus   "Tags": [
Add comment 111 Plus   {
Add comment 112 Plus   "Key": "Name",
Add comment 113 Plus   "Value": "hadoop-node02"
Add comment 114 Plus   },
Add comment 115 Plus   {
Add comment 116 Plus   "Key": "name",
Add comment 117 Plus   "Value": { "Ref": "MyTag" }
Add comment 118 Plus   }
Add comment 119 Plus   ],
Add comment 120 Plus   "BlockDeviceMappings": [
Add comment 121 Plus   {
Add comment 122 Plus   "DeviceName" : "/dev/sda1",
Add comment 123 Plus   "Ebs" : { "VolumeSize" : { "Ref": "MyRootVolumeSize" } }
Add comment 124 Plus   }
Add comment 125 Plus   ],
Add comment 126 Plus   "Volumes": [
Add comment 127 Plus   {
Add comment 128 Plus   "Device" : "/dev/sdb",
Add comment 129 Plus   "VolumeId": { "Ref": "volumeInstance02Data" }
Add comment 130 Plus   }
Add comment 131 Plus   ],
Add comment 132 Plus   "NetworkInterfaces": [
Add comment 133 Plus   {
Add comment 134 Plus   "DeleteOnTermination": "true",
Add comment 135 Plus   "Description": "Primary network interface",
Add comment 136 Plus   "DeviceIndex": 0,
Add comment 137 Plus   "SubnetId": "subnet-XXXXXXXX",
Add comment 138 Plus   "GroupSet": [ { "Ref": "MySecurityGroup" } ],
Add comment 139 Plus   "AssociatePublicIpAddress": "true"
Add comment 140 Plus   }
Add comment 141 Plus   ]
Add comment 142 Plus   }
Add comment 143 Plus   },
Add comment 144 Plus   "instance03": {
Add comment 145 Plus   "Type": "AWS::EC2::Instance",
Add comment 146 Plus   "Properties": {
Add comment 147 Plus   "AvailabilityZone": { "Ref": "MyAvailabilityZone" },
Add comment 148 Plus   "DisableApiTermination": "false",
Add comment 149 Plus   "InstanceInitiatedShutdownBehavior": "stop",
Add comment 150 Plus   "EbsOptimized": "true",
Add comment 151 Plus   "ImageId": { "Ref": "MyAMI" },
Add comment 152 Plus   "InstanceType": { "Ref": "MyInstanceType" },
Add comment 153 Plus   "KeyName": { "Ref" : "MySSHKeyPairName" },
Add comment 154 Plus   "Monitoring": "false",
Add comment 155 Plus   "PlacementGroupName": { "Ref": "MyPlacementGroup" },
Add comment 156 Plus   "Tags": [
Add comment 157 Plus   {
Add comment 158 Plus   "Key": "Name",
Add comment 159 Plus   "Value": "hadoop-node03"
Add comment 160 Plus   },
Add comment 161 Plus   {
Add comment 162 Plus   "Key": "name",
Add comment 163 Plus   "Value": { "Ref": "MyTag" }
Add comment 164 Plus   }
Add comment 165 Plus   ],
Add comment 166 Plus   "BlockDeviceMappings": [
Add comment 167 Plus   {
Add comment 168 Plus   "DeviceName" : "/dev/sda1",
Add comment 169 Plus   "Ebs" : { "VolumeSize" : { "Ref": "MyRootVolumeSize" } }
Add comment 170 Plus   }
Add comment 171 Plus   ],
Add comment 172 Plus   "Volumes": [
Add comment 173 Plus   {
Add comment 174 Plus   "Device" : "/dev/sdb",
Add comment 175 Plus   "VolumeId": { "Ref": "volumeInstance03Data" }
Add comment 176 Plus   }
Add comment 177 Plus   ],
Add comment 178 Plus   "NetworkInterfaces": [
Add comment 179 Plus   {
Add comment 180 Plus   "DeleteOnTermination": "true",
Add comment 181 Plus   "Description": "Primary network interface",
Add comment 182 Plus   "DeviceIndex": 0,
Add comment 183 Plus   "SubnetId": "subnet-XXXXXXXX",
Add comment 184 Plus   "GroupSet": [ { "Ref": "MySecurityGroup" } ],
Add comment 185 Plus   "AssociatePublicIpAddress": "true"
Add comment 186 Plus   }
Add comment 187 Plus   ]
Add comment 188 Plus   }
Add comment 189 Plus   },
Add comment 190 Plus   "instance04": {
Add comment 191 Plus   "Type": "AWS::EC2::Instance",
Add comment 192 Plus   "Properties": {
Add comment 193 Plus   "AvailabilityZone": { "Ref": "MyAvailabilityZone" },
Add comment 194 Plus   "DisableApiTermination": "false",
Add comment 195 Plus   "InstanceInitiatedShutdownBehavior": "stop",
Add comment 196 Plus   "EbsOptimized": "true",
Add comment 197 Plus   "ImageId": { "Ref": "MyAMI" },
Add comment 198 Plus   "InstanceType": { "Ref": "MyInstanceType" },
Add comment 199 Plus   "KeyName": { "Ref" : "MySSHKeyPairName" },
Add comment 200 Plus   "Monitoring": "false",
Add comment 201 Plus   "PlacementGroupName": { "Ref": "MyPlacementGroup" },
Add comment 202 Plus   "Tags": [
Add comment 203 Plus   {
Add comment 204 Plus   "Key": "name",
Add comment 205 Plus   "Value": { "Ref": "MyTag" }
Add comment 206 Plus   },
Add comment 207 Plus   {
Add comment 208 Plus   "Key": "Name",
Add comment 209 Plus   "Value": "hadoop-node04"
Add comment 210 Plus   }
Add comment 211 Plus   ],
Add comment 212 Plus   "BlockDeviceMappings": [
Add comment 213 Plus   {
Add comment 214 Plus   "DeviceName" : "/dev/sda1",
Add comment 215 Plus   "Ebs" : { "VolumeSize" : { "Ref": "MyRootVolumeSize" } }
Add comment 216 Plus   }
Add comment 217 Plus   ],
Add comment 218 Plus   "Volumes": [
Add comment 219 Plus   {
Add comment 220 Plus   "Device" : "/dev/sdb",
Add comment 221 Plus   "VolumeId": { "Ref": "volumeInstance04Data" }
Add comment 222 Plus   }
Add comment 223 Plus   ],
Add comment 224 Plus   "NetworkInterfaces": [
Add comment 225 Plus   {
Add comment 226 Plus   "DeleteOnTermination": "true",
Add comment 227 Plus   "Description": "Primary network interface",
Add comment 228 Plus   "DeviceIndex": 0,
Add comment 229 Plus   "SubnetId": "subnet-XXXXXXXX",
Add comment 230 Plus   "GroupSet": [ { "Ref": "MySecurityGroup" } ],
Add comment 231 Plus   "AssociatePublicIpAddress": "true"
Add comment 232 Plus   }
Add comment 233 Plus   ]
Add comment 234 Plus   }
Add comment 235 Plus   },
Add comment 236 Plus   "instance05": {
Add comment 237 Plus   "Type": "AWS::EC2::Instance",
Add comment 238 Plus   "Properties": {
Add comment 239 Plus   "AvailabilityZone": { "Ref": "MyAvailabilityZone" },
Add comment 240 Plus   "DisableApiTermination": "false",
Add comment 241 Plus   "InstanceInitiatedShutdownBehavior": "stop",
Add comment 242 Plus   "EbsOptimized": "true",
Add comment 243 Plus   "ImageId": { "Ref": "MyAMI" },
Add comment 244 Plus   "InstanceType": { "Ref": "MyInstanceType" },
Add comment 245 Plus   "KeyName": { "Ref" : "MySSHKeyPairName" },
Add comment 246 Plus   "Monitoring": "false",
Add comment 247 Plus   "PlacementGroupName": { "Ref": "MyPlacementGroup" },
Add comment 248 Plus   "Tags": [
Add comment 249 Plus   {
Add comment 250 Plus   "Key": "name",
Add comment 251 Plus   "Value": { "Ref": "MyTag" }
Add comment 252 Plus   },
Add comment 253 Plus   {
Add comment 254 Plus   "Key": "Name",
Add comment 255 Plus   "Value": "hadoop-node05"
Add comment 256 Plus   }
Add comment 257 Plus   ],
Add comment 258 Plus   "BlockDeviceMappings": [
Add comment 259 Plus   {
Add comment 260 Plus   "DeviceName" : "/dev/sda1",
Add comment 261 Plus   "Ebs" : { "VolumeSize" : { "Ref": "MyRootVolumeSize" } }
Add comment 262 Plus   }
Add comment 263 Plus   ],
Add comment 264 Plus   "Volumes": [
Add comment 265 Plus   {
Add comment 266 Plus   "Device" : "/dev/sdb",
Add comment 267 Plus   "VolumeId": { "Ref": "volumeInstance05Data" }
Add comment 268 Plus   }
Add comment 269 Plus   ],
Add comment 270 Plus   "NetworkInterfaces": [
Add comment 271 Plus   {
Add comment 272 Plus   "DeleteOnTermination": "true",
Add comment 273 Plus   "Description": "Primary network interface",
Add comment 274 Plus   "DeviceIndex": 0,
Add comment 275 Plus   "SubnetId": "subnet-XXXXXXXX",
Add comment 276 Plus   "GroupSet": [ { "Ref": "MySecurityGroup" } ],
Add comment 277 Plus   "AssociatePublicIpAddress": "true"
Add comment 278 Plus   }
Add comment 279 Plus   ]
Add comment 280 Plus   }
Add comment 281 Plus   },
Add comment 282 Plus   "instance06": {
Add comment 283 Plus   "Type": "AWS::EC2::Instance",
Add comment 284 Plus   "Properties": {
Add comment 285 Plus   "AvailabilityZone": { "Ref": "MyAvailabilityZone" },
Add comment 286 Plus   "DisableApiTermination": "false",
Add comment 287 Plus   "InstanceInitiatedShutdownBehavior": "stop",
Add comment 288 Plus   "EbsOptimized": "true",
Add comment 289 Plus   "ImageId": { "Ref": "MyAMI" },
Add comment 290 Plus   "InstanceType": { "Ref": "MyInstanceType" },
Add comment 291 Plus   "KeyName": { "Ref" : "MySSHKeyPairName" },
Add comment 292 Plus   "Monitoring": "false",
Add comment 293 Plus   "PlacementGroupName": { "Ref": "MyPlacementGroup" },
Add comment 294 Plus   "Tags": [
Add comment 295 Plus   {
Add comment 296 Plus   "Key": "name",
Add comment 297 Plus   "Value": { "Ref": "MyTag" }
Add comment 298 Plus   },
Add comment 299 Plus   {
Add comment 300 Plus   "Key": "Name",
Add comment 301 Plus   "Value": "hadoop-node06"
Add comment 302 Plus   }
Add comment 303 Plus   ],
Add comment 304 Plus   "BlockDeviceMappings": [
Add comment 305 Plus   {
Add comment 306 Plus   "DeviceName" : "/dev/sda1",
Add comment 307 Plus   "Ebs" : { "VolumeSize" : { "Ref": "MyRootVolumeSize" } }
Add comment 308 Plus   }
Add comment 309 Plus   ],
Add comment 310 Plus   "Volumes": [
Add comment 311 Plus   {
Add comment 312 Plus   "Device" : "/dev/sdb",
Add comment 313 Plus   "VolumeId": { "Ref": "volumeInstance06Data" }
Add comment 314 Plus   }
Add comment 315 Plus   ],
Add comment 316 Plus   "NetworkInterfaces": [
Add comment 317 Plus   {
Add comment 318 Plus   "DeleteOnTermination": "true",
Add comment 319 Plus   "Description": "Primary network interface",
Add comment 320 Plus   "DeviceIndex": 0,
Add comment 321 Plus   "SubnetId": "subnet-XXXXXXXX",
Add comment 322 Plus   "GroupSet": [ { "Ref": "MySecurityGroup" } ],
Add comment 323 Plus   "AssociatePublicIpAddress": "true"
Add comment 324 Plus   }
Add comment 325 Plus   ]
Add comment 326 Plus   }
Add comment 327 Plus   },
Add comment 328 Plus   "instance07": {
Add comment 329 Plus   "Type": "AWS::EC2::Instance",
Add comment 330 Plus   "Properties": {
Add comment 331 Plus   "AvailabilityZone": { "Ref": "MyAvailabilityZone" },
Add comment 332 Plus   "DisableApiTermination": "false",
Add comment 333 Plus   "InstanceInitiatedShutdownBehavior": "stop",
Add comment 334 Plus   "EbsOptimized": "true",
Add comment 335 Plus   "ImageId": { "Ref": "MyAMI" },
Add comment 336 Plus   "InstanceType": { "Ref": "MyInstanceType" },
Add comment 337 Plus   "KeyName": { "Ref" : "MySSHKeyPairName" },
Add comment 338 Plus   "Monitoring": "false",
Add comment 339 Plus   "PlacementGroupName": { "Ref": "MyPlacementGroup" },
Add comment 340 Plus   "Tags": [
Add comment 341 Plus   {
Add comment 342 Plus   "Key": "Name",
Add comment 343 Plus   "Value": "hadoop-node07"
Add comment 344 Plus   },
Add comment 345 Plus   {
Add comment 346 Plus   "Key": "name",
Add comment 347 Plus   "Value": { "Ref": "MyTag" }
Add comment 348 Plus   }
Add comment 349 Plus   ],
Add comment 350 Plus   "BlockDeviceMappings": [
Add comment 351 Plus   {
Add comment 352 Plus   "DeviceName" : "/dev/sda1",
Add comment 353 Plus   "Ebs" : { "VolumeSize" : { "Ref": "MyRootVolumeSize" } }
Add comment 354 Plus   }
Add comment 355 Plus   ],
Add comment 356 Plus   "Volumes": [
Add comment 357 Plus   {
Add comment 358 Plus   "Device" : "/dev/sdb",
Add comment 359 Plus   "VolumeId": { "Ref": "volumeInstance07Data" }
Add comment 360 Plus   }
Add comment 361 Plus   ],
Add comment 362 Plus   "NetworkInterfaces": [
Add comment 363 Plus   {
Add comment 364 Plus   "DeleteOnTermination": "true",
Add comment 365 Plus   "Description": "Primary network interface",
Add comment 366 Plus   "DeviceIndex": 0,
Add comment 367 Plus   "SubnetId": "subnet-XXXXXXXX",
Add comment 368 Plus   "GroupSet": [ { "Ref": "MySecurityGroup" } ],
Add comment 369 Plus   "AssociatePublicIpAddress": "true"
Add comment 370 Plus   }
Add comment 371 Plus   ]
Add comment 372 Plus   }
Add comment 373 Plus   },
Add comment 374 Plus   "instance08": {
Add comment 375 Plus   "Type": "AWS::EC2::Instance",
Add comment 376 Plus   "Properties": {
Add comment 377 Plus   "AvailabilityZone": { "Ref": "MyAvailabilityZone" },
Add comment 378 Plus   "DisableApiTermination": "false",
Add comment 379 Plus   "InstanceInitiatedShutdownBehavior": "stop",
Add comment 380 Plus   "EbsOptimized": "true",
Add comment 381 Plus   "ImageId": { "Ref": "MyAMI" },
Add comment 382 Plus   "InstanceType": { "Ref": "MyInstanceType" },
Add comment 383 Plus   "KeyName": { "Ref" : "MySSHKeyPairName" },
Add comment 384 Plus   "Monitoring": "false",
Add comment 385 Plus   "PlacementGroupName": { "Ref": "MyPlacementGroup" },
Add comment 386 Plus   "Tags": [
Add comment 387 Plus   {
Add comment 388 Plus   "Key": "name",
Add comment 389 Plus   "Value": { "Ref": "MyTag" }
Add comment 390 Plus   },
Add comment 391 Plus   {
Add comment 392 Plus   "Key": "Name",
Add comment 393 Plus   "Value": "hadoop-node08"
Add comment 394 Plus   }
Add comment 395 Plus   ],
Add comment 396 Plus   "BlockDeviceMappings": [
Add comment 397 Plus   {
Add comment 398 Plus   "DeviceName" : "/dev/sda1",
Add comment 399 Plus   "Ebs" : { "VolumeSize" : { "Ref": "MyRootVolumeSize" } }
Add comment 400 Plus   }
Add comment 401 Plus   ],
Add comment 402 Plus   "Volumes": [
Add comment 403 Plus   {
Add comment 404 Plus   "Device" : "/dev/sdb",
Add comment 405 Plus   "VolumeId": { "Ref": "volumeInstance08Data" }
Add comment 406 Plus   }
Add comment 407 Plus   ],
Add comment 408 Plus   "NetworkInterfaces": [
Add comment 409 Plus   {
Add comment 410 Plus   "DeleteOnTermination": "true",
Add comment 411 Plus   "Description": "Primary network interface",
Add comment 412 Plus   "DeviceIndex": 0,
Add comment 413 Plus   "SubnetId": "subnet-XXXXXXXX",
Add comment 414 Plus   "GroupSet": [ { "Ref": "MySecurityGroup" } ],
Add comment 415 Plus   "AssociatePublicIpAddress": "true"
Add comment 416 Plus   }
Add comment 417 Plus   ]
Add comment 418 Plus   }
Add comment 419 Plus   },
Add comment 420 Plus   "instance09": {
Add comment 421 Plus   "Type": "AWS::EC2::Instance",
Add comment 422 Plus   "Properties": {
Add comment 423 Plus   "AvailabilityZone": { "Ref": "MyAvailabilityZone" },
Add comment 424 Plus   "DisableApiTermination": "false",
Add comment 425 Plus   "InstanceInitiatedShutdownBehavior": "stop",
Add comment 426 Plus   "EbsOptimized": "true",
Add comment 427 Plus   "ImageId": { "Ref": "MyAMI" },
Add comment 428 Plus   "InstanceType": { "Ref": "MyInstanceType" },
Add comment 429 Plus   "KeyName": { "Ref" : "MySSHKeyPairName" },
Add comment 430 Plus   "Monitoring": "false",
Add comment 431 Plus   "PlacementGroupName": { "Ref": "MyPlacementGroup" },
Add comment 432 Plus   "Tags": [
Add comment 433 Plus   {
Add comment 434 Plus   "Key": "Name",
Add comment 435 Plus   "Value": "hadoop-node09"
Add comment 436 Plus   },
Add comment 437 Plus   {
Add comment 438 Plus   "Key": "name",
Add comment 439 Plus   "Value": { "Ref": "MyTag" }
Add comment 440 Plus   }
Add comment 441 Plus   ],
Add comment 442 Plus   "BlockDeviceMappings": [
Add comment 443 Plus   {
Add comment 444 Plus   "DeviceName" : "/dev/sda1",
Add comment 445 Plus   "Ebs" : { "VolumeSize" : { "Ref": "MyRootVolumeSize" } }
Add comment 446 Plus   }
Add comment 447 Plus   ],
Add comment 448 Plus   "Volumes": [
Add comment 449 Plus   {
Add comment 450 Plus   "Device" : "/dev/sdb",
Add comment 451 Plus   "VolumeId": { "Ref": "volumeInstance09Data" }
Add comment 452 Plus   }
Add comment 453 Plus   ],
Add comment 454 Plus   "NetworkInterfaces": [
Add comment 455 Plus   {
Add comment 456 Plus   "DeleteOnTermination": "true",
Add comment 457 Plus   "Description": "Primary network interface",
Add comment 458 Plus   "DeviceIndex": 0,
Add comment 459 Plus   "SubnetId": "subnet-XXXXXXXX",
Add comment 460 Plus   "GroupSet": [ { "Ref": "MySecurityGroup" } ],
Add comment 461 Plus   "AssociatePublicIpAddress": "true"
Add comment 462 Plus   }
Add comment 463 Plus   ]
Add comment 464 Plus   }
Add comment 465 Plus   },
Add comment 466 Plus   "instance10": {
Add comment 467 Plus   "Type": "AWS::EC2::Instance",
Add comment 468 Plus   "Properties": {
Add comment 469 Plus   "AvailabilityZone": { "Ref": "MyAvailabilityZone" },
Add comment 470 Plus   "DisableApiTermination": "false",
Add comment 471 Plus   "InstanceInitiatedShutdownBehavior": "stop",
Add comment 472 Plus   "EbsOptimized": "true",
Add comment 473 Plus   "ImageId": { "Ref": "MyAMI" },
Add comment 474 Plus   "InstanceType": { "Ref": "MyInstanceType" },
Add comment 475 Plus   "KeyName": { "Ref" : "MySSHKeyPairName" },
Add comment 476 Plus   "Monitoring": "false",
Add comment 477 Plus   "PlacementGroupName": { "Ref": "MyPlacementGroup" },
Add comment 478 Plus   "Tags": [
Add comment 479 Plus   {
Add comment 480 Plus   "Key": "Name",
Add comment 481 Plus   "Value": "hadoop-node10"
Add comment 482 Plus   },
Add comment 483 Plus   {
Add comment 484 Plus   "Key": "name",
Add comment 485 Plus   "Value": { "Ref": "MyTag" }
Add comment 486 Plus   }
Add comment 487 Plus   ],
Add comment 488 Plus   "BlockDeviceMappings": [
Add comment 489 Plus   {
Add comment 490 Plus   "DeviceName" : "/dev/sda1",
Add comment 491 Plus   "Ebs" : { "VolumeSize" : { "Ref": "MyRootVolumeSize" } }
Add comment 492 Plus   }
Add comment 493 Plus   ],
Add comment 494 Plus   "Volumes": [
Add comment 495 Plus   {
Add comment 496 Plus   "Device" : "/dev/sdb",
Add comment 497 Plus   "VolumeId": { "Ref": "volumeInstance10Data" }
Add comment 498 Plus   }
Add comment 499 Plus   ],
centos7-1node-encrypted.json
/cloudformation/centos7-1node-encrypted.json+108
/cloudformation/centos7-1node-encrypted.json
Add comment 1 Plus  {
Add comment 2 Plus   "AWSTemplateFormatVersion": "2010-09-09",
Add comment 3 Plus   "Description": "MyCluster Description",
Add comment 4 Plus   "Parameters": {
Add comment 5 Plus   "MyInstanceType": {
Add comment 6 Plus   "Default": "m4.2xlarge",
Add comment 7 Plus   "Description": "Instance Type",
Add comment 8 Plus   "Type": "String"
Add comment 9 Plus   },
Add comment 10 Plus   "MyAMI": {
Add comment 11 Plus   "Default": "ami-33734044",
Add comment 12 Plus   "Description": "AMI (CentOS 7 by default)",
Add comment 13 Plus   "Type": "String"
Add comment 14 Plus   },
Add comment 15 Plus   "MySSHKeyPairName": {
Add comment 16 Plus   "Default": "hari",
Add comment 17 Plus   "Description": "SSH Key",
Add comment 18 Plus   "Type": "AWS::EC2::KeyPair::KeyName"
Add comment 19 Plus   },
Add comment 20 Plus   "MyAvailabilityZone": {
Add comment 21 Plus   "Default": "eu-west-1a",
Add comment 22 Plus   "Description": "Availability Zone",
Add comment 23 Plus   "Type": "AWS::EC2::AvailabilityZone::Name"
Add comment 24 Plus   },
Add comment 25 Plus   "MySecurityGroup": {
Add comment 26 Plus   "Default": "sg-XXXXXXXX",
Add comment 27 Plus   "Description": "Security Group ID",
Add comment 28 Plus   "Type": "String"
Add comment 29 Plus   },
Add comment 30 Plus   "MyPlacementGroup": {
Add comment 31 Plus   "Default": "MyExistingPlacementGroup",
Add comment 32 Plus   "Description": "Placement Group",
Add comment 33 Plus   "Type": "String"
Add comment 34 Plus   },
Add comment 35 Plus   "MyRootVolumeSize": {
Add comment 36 Plus   "Default": 50,
Add comment 37 Plus   "Description": "EBS Root Volume Size",
Add comment 38 Plus   "Type": "Number"
Add comment 39 Plus   },
Add comment 40 Plus   "MyDataVolumeSize": {
Add comment 41 Plus   "Default": 100,
Add comment 42 Plus   "Description": "EBS Data Volume Size",
Add comment 43 Plus   "Type": "Number"
Add comment 44 Plus   },
Add comment 45 Plus   "MyTag": {
Add comment 46 Plus   "Default": "MyHadoopCluster1",
Add comment 47 Plus   "Description": "Tag for convenience",
Add comment 48 Plus   "Type": "String"
Add comment 49 Plus   }
Add comment 50 Plus   },
Add comment 51 Plus   "Resources": {
Add comment 52 Plus   "instance01": {
Add comment 53 Plus   "Type": "AWS::EC2::Instance",
Add comment 54 Plus   "Properties": {
Add comment 55 Plus   "AvailabilityZone": { "Ref": "MyAvailabilityZone" },
Add comment 56 Plus   "DisableApiTermination": "false",
Add comment 57 Plus   "InstanceInitiatedShutdownBehavior": "stop",
Add comment 58 Plus   "EbsOptimized": "true",
Add comment 59 Plus   "ImageId": { "Ref": "MyAMI" },
Add comment 60 Plus   "InstanceType": { "Ref": "MyInstanceType" },
Add comment 61 Plus   "KeyName": { "Ref" : "MySSHKeyPairName" },
Add comment 62 Plus   "Monitoring": "false",
Add comment 63 Plus   "PlacementGroupName": { "Ref": "MyPlacementGroup" },
Add comment 64 Plus   "Tags": [
Add comment 65 Plus   {
Add comment 66 Plus   "Key": "Name",
Add comment 67 Plus   "Value": "hadoop-node01"
Add comment 68 Plus   },
Add comment 69 Plus   {
Add comment 70 Plus   "Key": "name",
Add comment 71 Plus   "Value": { "Ref": "MyTag" }
Add comment 72 Plus   }
Add comment 73 Plus   ],
Add comment 74 Plus   "BlockDeviceMappings": [
Add comment 75 Plus   {
Add comment 76 Plus   "DeviceName" : "/dev/sda1",
Add comment 77 Plus   "Ebs" : { "VolumeSize" : { "Ref": "MyRootVolumeSize" } }
Add comment 78 Plus   }
Add comment 79 Plus   ],
Add comment 80 Plus   "Volumes": [
Add comment 81 Plus   {
Add comment 82 Plus   "Device" : "/dev/sdb",
Add comment 83 Plus   "VolumeId": { "Ref": "volumeInstance01Data" }
Add comment 84 Plus   }
Add comment 85 Plus   ],
Add comment 86 Plus   "NetworkInterfaces": [
Add comment 87 Plus   {
Add comment 88 Plus   "DeleteOnTermination": "true",
Add comment 89 Plus   "Description": "Primary network interface",
Add comment 90 Plus   "DeviceIndex": 0,
Add comment 91 Plus   "SubnetId": "subnet-XXXXXXXX",
Add comment 92 Plus   "GroupSet": [ { "Ref": "MySecurityGroup" } ],
Add comment 93 Plus   "AssociatePublicIpAddress": "true"
Add comment 94 Plus   }
Add comment 95 Plus   ]
Add comment 96 Plus   }
Add comment 97 Plus   },
Add comment 98 Plus   "volumeInstance01Data": {
Add comment 99 Plus   "Type": "AWS::EC2::Volume",
Add comment 100 Plus   "Properties": {
Add comment 101 Plus   "AvailabilityZone": { "Ref": "MyAvailabilityZone" },
Add comment 102 Plus   "Encrypted": true,
Add comment 103 Plus   "Size": { "Ref": "MyDataVolumeSize" },
Add comment 104 Plus   "VolumeType": "gp2"
Add comment 105 Plus   }
Add comment 106 Plus   }
Add comment 107 Plus   }
Add comment 108 Plus  }
centos7-3nodes-encrypted.json
/cloudformation/centos7-3nodes-encrypted.json+218
/cloudformation/centos7-3nodes-encrypted.json
Add comment 1 Plus  {
Add comment 2 Plus   "AWSTemplateFormatVersion": "2010-09-09",
Add comment 3 Plus   "Description": "MyCluster Description",
Add comment 4 Plus   "Parameters": {
Add comment 5 Plus   "MyInstanceType": {
Add comment 6 Plus   "Default": "m4.2xlarge",
Add comment 7 Plus   "Description": "Instance Type",
Add comment 8 Plus   "Type": "String"
Add comment 9 Plus   },
Add comment 10 Plus   "MyAMI": {
Add comment 11 Plus   "Default": "ami-33734044",
Add comment 12 Plus   "Description": "AMI (CentOS 7 by default)",
Add comment 13 Plus   "Type": "String"
Add comment 14 Plus   },
Add comment 15 Plus   "MySSHKeyPairName": {
Add comment 16 Plus   "Default": "hari",
Add comment 17 Plus   "Description": "SSH Key",
Add comment 18 Plus   "Type": "AWS::EC2::KeyPair::KeyName"
Add comment 19 Plus   },
Add comment 20 Plus   "MyAvailabilityZone": {
Add comment 21 Plus   "Default": "eu-west-1a",
Add comment 22 Plus   "Description": "Availability Zone",
Add comment 23 Plus   "Type": "AWS::EC2::AvailabilityZone::Name"
Add comment 24 Plus   },
Add comment 25 Plus   "MySecurityGroup": {
Add comment 26 Plus   "Default": "sg-XXXXXXXX",
Add comment 27 Plus   "Description": "Security Group ID",
Add comment 28 Plus   "Type": "String"
Add comment 29 Plus   },
Add comment 30 Plus   "MyPlacementGroup": {
Add comment 31 Plus   "Default": "MyExistingPlacementGroup",
Add comment 32 Plus   "Description": "Placement Group",
Add comment 33 Plus   "Type": "String"
Add comment 34 Plus   },
Add comment 35 Plus   "MyRootVolumeSize": {
Add comment 36 Plus   "Default": 50,
Add comment 37 Plus   "Description": "EBS Root Volume Size",
Add comment 38 Plus   "Type": "Number"
Add comment 39 Plus   },
Add comment 40 Plus   "MyDataVolumeSize": {
Add comment 41 Plus   "Default": 100,
Add comment 42 Plus   "Description": "EBS Data Volume Size",
Add comment 43 Plus   "Type": "Number"
Add comment 44 Plus   },
Add comment 45 Plus   "MyTag": {
Add comment 46 Plus   "Default": "MyHadoopCluster1",
Add comment 47 Plus   "Description": "Tag for convenience",
Add comment 48 Plus   "Type": "String"
Add comment 49 Plus   }
Add comment 50 Plus   },
Add comment 51 Plus   "Resources": {
Add comment 52 Plus   "instance01": {
Add comment 53 Plus   "Type": "AWS::EC2::Instance",
Add comment 54 Plus   "Properties": {
Add comment 55 Plus   "AvailabilityZone": { "Ref": "MyAvailabilityZone" },
Add comment 56 Plus   "DisableApiTermination": "false",
Add comment 57 Plus   "InstanceInitiatedShutdownBehavior": "stop",
Add comment 58 Plus   "EbsOptimized": "true",
Add comment 59 Plus   "ImageId": { "Ref": "MyAMI" },
Add comment 60 Plus   "InstanceType": { "Ref": "MyInstanceType" },
Add comment 61 Plus   "KeyName": { "Ref" : "MySSHKeyPairName" },
Add comment 62 Plus   "Monitoring": "false",
Add comment 63 Plus   "PlacementGroupName": { "Ref": "MyPlacementGroup" },
Add comment 64 Plus   "Tags": [
Add comment 65 Plus   {
Add comment 66 Plus   "Key": "Name",
Add comment 67 Plus   "Value": "hadoop-node01"
Add comment 68 Plus   },
Add comment 69 Plus   {
Add comment 70 Plus   "Key": "name",
Add comment 71 Plus   "Value": { "Ref": "MyTag" }
Add comment 72 Plus   }
Add comment 73 Plus   ],
Add comment 74 Plus   "BlockDeviceMappings": [
Add comment 75 Plus   {
Add comment 76 Plus   "DeviceName" : "/dev/sda1",
Add comment 77 Plus   "Ebs" : { "VolumeSize" : { "Ref": "MyRootVolumeSize" } }
Add comment 78 Plus   }
Add comment 79 Plus   ],
Add comment 80 Plus   "Volumes": [
Add comment 81 Plus   {
Add comment 82 Plus   "Device" : "/dev/sdb",
Add comment 83 Plus   "VolumeId": { "Ref": "volumeInstance01Data" }
Add comment 84 Plus   }
Add comment 85 Plus   ],
Add comment 86 Plus   "NetworkInterfaces": [
Add comment 87 Plus   {
Add comment 88 Plus   "DeleteOnTermination": "true",
Add comment 89 Plus   "Description": "Primary network interface",
Add comment 90 Plus   "DeviceIndex": 0,
Add comment 91 Plus   "SubnetId": "subnet-XXXXXXXX",
Add comment 92 Plus   "GroupSet": [ { "Ref": "MySecurityGroup" } ],
Add comment 93 Plus   "AssociatePublicIpAddress": "true"
Add comment 94 Plus   }
Add comment 95 Plus   ]
Add comment 96 Plus   }
Add comment 97 Plus   },
Add comment 98 Plus   "instance02": {
Add comment 99 Plus   "Type": "AWS::EC2::Instance",
Add comment 100 Plus   "Properties": {
Add comment 101 Plus   "AvailabilityZone": { "Ref": "MyAvailabilityZone" },
Add comment 102 Plus   "DisableApiTermination": "false",
Add comment 103 Plus   "InstanceInitiatedShutdownBehavior": "stop",
Add comment 104 Plus   "EbsOptimized": "true",
Add comment 105 Plus   "ImageId": { "Ref": "MyAMI" },
Add comment 106 Plus   "InstanceType": { "Ref": "MyInstanceType" },
Add comment 107 Plus   "KeyName": { "Ref" : "MySSHKeyPairName" },
Add comment 108 Plus   "Monitoring": "false",
Add comment 109 Plus   "PlacementGroupName": { "Ref": "MyPlacementGroup" },
Add comment 110 Plus   "Tags": [
Add comment 111 Plus   {
Add comment 112 Plus   "Key": "Name",
Add comment 113 Plus   "Value": "hadoop-node02"
Add comment 114 Plus   },
Add comment 115 Plus   {
Add comment 116 Plus   "Key": "name",
Add comment 117 Plus   "Value": { "Ref": "MyTag" }
Add comment 118 Plus   }
Add comment 119 Plus   ],
Add comment 120 Plus   "BlockDeviceMappings": [
Add comment 121 Plus   {
Add comment 122 Plus   "DeviceName" : "/dev/sda1",
Add comment 123 Plus   "Ebs" : { "VolumeSize" : { "Ref": "MyRootVolumeSize" } }
Add comment 124 Plus   }
Add comment 125 Plus   ],
Add comment 126 Plus   "Volumes": [
Add comment 127 Plus   {
Add comment 128 Plus   "Device" : "/dev/sdb",
Add comment 129 Plus   "VolumeId": { "Ref": "volumeInstance02Data" }
Add comment 130 Plus   }
Add comment 131 Plus   ],
Add comment 132 Plus   "NetworkInterfaces": [
Add comment 133 Plus   {
Add comment 134 Plus   "DeleteOnTermination": "true",
Add comment 135 Plus   "Description": "Primary network interface",
Add comment 136 Plus   "DeviceIndex": 0,
Add comment 137 Plus   "SubnetId": "subnet-XXXXXXXX",
Add comment 138 Plus   "GroupSet": [ { "Ref": "MySecurityGroup" } ],
Add comment 139 Plus   "AssociatePublicIpAddress": "true"
Add comment 140 Plus   }
Add comment 141 Plus   ]
Add comment 142 Plus   }
Add comment 143 Plus   },
Add comment 144 Plus   "instance03": {
Add comment 145 Plus   "Type": "AWS::EC2::Instance",
Add comment 146 Plus   "Properties": {
Add comment 147 Plus   "AvailabilityZone": { "Ref": "MyAvailabilityZone" },
Add comment 148 Plus   "DisableApiTermination": "false",
Add comment 149 Plus   "InstanceInitiatedShutdownBehavior": "stop",
Add comment 150 Plus   "EbsOptimized": "true",
Add comment 151 Plus   "ImageId": { "Ref": "MyAMI" },
Add comment 152 Plus   "InstanceType": { "Ref": "MyInstanceType" },
Add comment 153 Plus   "KeyName": { "Ref" : "MySSHKeyPairName" },
Add comment 154 Plus   "Monitoring": "false",
Add comment 155 Plus   "PlacementGroupName": { "Ref": "MyPlacementGroup" },
Add comment 156 Plus   "Tags": [
Add comment 157 Plus   {
Add comment 158 Plus   "Key": "Name",
Add comment 159 Plus   "Value": "hadoop-node03"
Add comment 160 Plus   },
Add comment 161 Plus   {
Add comment 162 Plus   "Key": "name",
Add comment 163 Plus   "Value": { "Ref": "MyTag" }
Add comment 164 Plus   }
Add comment 165 Plus   ],
Add comment 166 Plus   "BlockDeviceMappings": [
Add comment 167 Plus   {
Add comment 168 Plus   "DeviceName" : "/dev/sda1",
Add comment 169 Plus   "Ebs" : { "VolumeSize" : { "Ref": "MyRootVolumeSize" } }
Add comment 170 Plus   }
Add comment 171 Plus   ],
Add comment 172 Plus   "Volumes": [
Add comment 173 Plus   {
Add comment 174 Plus   "Device" : "/dev/sdb",
Add comment 175 Plus   "VolumeId": { "Ref": "volumeInstance03Data" }
Add comment 176 Plus   }
Add comment 177 Plus   ],
Add comment 178 Plus   "NetworkInterfaces": [
Add comment 179 Plus   {
Add comment 180 Plus   "DeleteOnTermination": "true",
Add comment 181 Plus   "Description": "Primary network interface",
Add comment 182 Plus   "DeviceIndex": 0,
Add comment 183 Plus   "SubnetId": "subnet-XXXXXXXX",
Add comment 184 Plus   "GroupSet": [ { "Ref": "MySecurityGroup" } ],
Add comment 185 Plus   "AssociatePublicIpAddress": "true"
Add comment 186 Plus   }
Add comment 187 Plus   ]
Add comment 188 Plus   }
Add comment 189 Plus   },
Add comment 190 Plus   "volumeInstance01Data": {
Add comment 191 Plus   "Type": "AWS::EC2::Volume",
Add comment 192 Plus   "Properties": {
Add comment 193 Plus   "AvailabilityZone": { "Ref": "MyAvailabilityZone" },
Add comment 194 Plus   "Encrypted": true,
Add comment 195 Plus   "Size": { "Ref": "MyDataVolumeSize" },
Add comment 196 Plus   "VolumeType": "gp2"
Add comment 197 Plus   }
Add comment 198 Plus   },
Add comment 199 Plus   "volumeInstance02Data": {
Add comment 200 Plus   "Type": "AWS::EC2::Volume",
Add comment 201 Plus   "Properties": {
Add comment 202 Plus   "AvailabilityZone": { "Ref": "MyAvailabilityZone" },
Add comment 203 Plus   "Encrypted": true,
Add comment 204 Plus   "Size": { "Ref": "MyDataVolumeSize" },
Add comment 205 Plus   "VolumeType": "gp2"
Add comment 206 Plus   }
Add comment 207 Plus   },
Add comment 208 Plus   "volumeInstance03Data": {
Add comment 209 Plus   "Type": "AWS::EC2::Volume",
Add comment 210 Plus   "Properties": {
Add comment 211 Plus   "AvailabilityZone": { "Ref": "MyAvailabilityZone" },
Add comment 212 Plus   "Encrypted": true,
Add comment 213 Plus   "Size": { "Ref": "MyDataVolumeSize" },
Add comment 214 Plus   "VolumeType": "gp2"
Add comment 215 Plus   }
Add comment 216 Plus   }
Add comment 217 Plus   }
Add comment 218 Plus  }