Commit fa8ac917 by Feanil Patel

Correctly reference instance type in server names.

parent 2261e372
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
"Description":"Name of an existing EC2 KeyPair to enable SSH access to the web server", "Description":"Name of an existing EC2 KeyPair to enable SSH access to the web server",
"Default":"deployment" "Default":"deployment"
}, },
"InstanceType":{ "EdxappInstanceType":{
"Description":"WebServer EC2 instance type", "Description":"WebServer EC2 instance type",
"Type":"String", "Type":"String",
"Default":"m1.small", "Default":"m1.small",
...@@ -131,6 +131,52 @@ ...@@ -131,6 +131,52 @@
], ],
"ConstraintDescription":"must be a valid EC2 instance type." "ConstraintDescription":"must be a valid EC2 instance type."
}, },
"XserverInstanceType":{
"Description":"RabbitMQ server EC2 instance type",
"Type":"String",
"Default":"m1.small",
"AllowedValues":[
"t1.micro",
"m1.small",
"m1.medium",
"m1.large",
"m1.xlarge",
"m2.xlarge",
"m2.2xlarge",
"m2.4xlarge",
"m3.xlarge",
"m3.2xlarge",
"c1.medium",
"c1.xlarge",
"cc1.4xlarge",
"cc2.8xlarge",
"cg1.4xlarge"
],
"ConstraintDescription":"must be a valid EC2 instance type."
},
"XqueueInstanceType":{
"Description":"RabbitMQ server EC2 instance type",
"Type":"String",
"Default":"m1.small",
"AllowedValues":[
"t1.micro",
"m1.small",
"m1.medium",
"m1.large",
"m1.xlarge",
"m2.xlarge",
"m2.2xlarge",
"m2.4xlarge",
"m3.xlarge",
"m3.2xlarge",
"c1.medium",
"c1.xlarge",
"cc1.4xlarge",
"cc2.8xlarge",
"cg1.4xlarge"
],
"ConstraintDescription":"must be a valid EC2 instance type."
},
"SSHLocation":{ "SSHLocation":{
"Description":"The IP address range that can be used to SSH to the EC2 instances", "Description":"The IP address range that can be used to SSH to the EC2 instances",
"Type":"String", "Type":"String",
...@@ -2475,7 +2521,7 @@ ...@@ -2475,7 +2521,7 @@
"Fn::FindInMap":[ "Fn::FindInMap":[
"AWSInstanceType2Arch", "AWSInstanceType2Arch",
{ {
"Ref":"InstanceType" "Ref":"EdxappInstanceType"
}, },
"Arch" "Arch"
] ]
...@@ -2522,7 +2568,7 @@ ...@@ -2522,7 +2568,7 @@
"Ref":"KeyName" "Ref":"KeyName"
}, },
"InstanceType":{ "InstanceType":{
"Ref":"InstanceType" "Ref":"EdxappInstanceType"
}, },
"BlockDeviceMappings":[ "BlockDeviceMappings":[
{ {
...@@ -2830,7 +2876,7 @@ ...@@ -2830,7 +2876,7 @@
"Fn::FindInMap":[ "Fn::FindInMap":[
"AWSInstanceType2Arch", "AWSInstanceType2Arch",
{ {
"Ref":"InstanceType" "Ref":"XqueueInstanceType"
}, },
"Arch" "Arch"
] ]
...@@ -2873,7 +2919,7 @@ ...@@ -2873,7 +2919,7 @@
"Ref":"KeyName" "Ref":"KeyName"
}, },
"InstanceType":{ "InstanceType":{
"Ref":"InstanceType" "Ref":"XqueueInstanceType"
}, },
"BlockDeviceMappings":[ "BlockDeviceMappings":[
{ {
...@@ -3207,7 +3253,7 @@ ...@@ -3207,7 +3253,7 @@
"Ref":"KeyName" "Ref":"KeyName"
}, },
"InstanceType":{ "InstanceType":{
"Ref":"InstanceType" "Ref":"RabbitInstanceType"
}, },
"BlockDeviceMappings":[ "BlockDeviceMappings":[
{ {
...@@ -3534,7 +3580,7 @@ ...@@ -3534,7 +3580,7 @@
"Fn::FindInMap":[ "Fn::FindInMap":[
"AWSInstanceType2Arch", "AWSInstanceType2Arch",
{ {
"Ref":"InstanceType" "Ref":"XserverInstanceType"
}, },
"Arch" "Arch"
] ]
...@@ -3577,7 +3623,7 @@ ...@@ -3577,7 +3623,7 @@
"Ref":"KeyName" "Ref":"KeyName"
}, },
"InstanceType":{ "InstanceType":{
"Ref":"InstanceType" "Ref":"XserverInstanceType"
}, },
"BlockDeviceMappings":[ "BlockDeviceMappings":[
{ {
...@@ -4040,7 +4086,7 @@ ...@@ -4040,7 +4086,7 @@
"Ref":"KeyName" "Ref":"KeyName"
}, },
"InstanceType":{ "InstanceType":{
"Ref":"InstanceType" "Ref":"WorkerInstanceType"
}, },
"BlockDeviceMappings":[ "BlockDeviceMappings":[
{ {
...@@ -4289,7 +4335,7 @@ ...@@ -4289,7 +4335,7 @@
"Ref":"KeyName" "Ref":"KeyName"
}, },
"InstanceType":{ "InstanceType":{
"Ref":"InstanceType" "Ref":"ForumInstanceType"
}, },
"BlockDeviceMappings":[ "BlockDeviceMappings":[
{ {
...@@ -4664,7 +4710,7 @@ ...@@ -4664,7 +4710,7 @@
"Ref":"KeyName" "Ref":"KeyName"
}, },
"InstanceType":{ "InstanceType":{
"Ref":"InstanceType" "Ref":"MongoInstanceType"
}, },
"BlockDeviceMappings":[ "BlockDeviceMappings":[
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment