You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@usergrid.apache.org by to...@apache.org on 2014/11/07 21:49:25 UTC

incubator-usergrid git commit: Fixes missing zones. Just repeats zones for regions that don't have 4 zones. Done because we ran out of zones with c3.4xlarge with only 2 zones in east.

Repository: incubator-usergrid
Updated Branches:
  refs/heads/es-type-updates eef2b70bf -> 3495001a8


Fixes missing zones.  Just repeats zones for regions that don't have 4 zones.  Done because we ran out of zones with c3.4xlarge with only 2 zones in east.


Project: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/commit/3495001a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/tree/3495001a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/diff/3495001a

Branch: refs/heads/es-type-updates
Commit: 3495001a80b1c5b286630be1409a87dc176efca7
Parents: eef2b70
Author: Todd Nine <tn...@apigee.com>
Authored: Fri Nov 7 13:49:22 2014 -0700
Committer: Todd Nine <tn...@apigee.com>
Committed: Fri Nov 7 13:49:22 2014 -0700

----------------------------------------------------------------------
 stack/awscluster/ugcluster-cf.json | 232 ++++++++++++++++++++++++--------
 1 file changed, 173 insertions(+), 59 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/3495001a/stack/awscluster/ugcluster-cf.json
----------------------------------------------------------------------
diff --git a/stack/awscluster/ugcluster-cf.json b/stack/awscluster/ugcluster-cf.json
index c432923..345b5a1 100644
--- a/stack/awscluster/ugcluster-cf.json
+++ b/stack/awscluster/ugcluster-cf.json
@@ -212,18 +212,24 @@
                 "64": "ami-194a0429"
             }
         },
-        "TwoAZs": {
+        "FourAZs": {
             "ap-southeast-2": {
                 "AZ1": "ap-southeast-2a",
-                "AZ2": "ap-southeast-2b"
+                "AZ2": "ap-southeast-2b",
+                "AZ3": "ap-southeast-2a",
+                "AZ4": "ap-southeast-2b"
             },
             "us-east-1": {
                 "AZ1": "us-east-1b",
-                "AZ2": "us-east-1c"
+                "AZ2": "us-east-1c",
+                "AZ3": "us-east-1d",
+                "AZ4": "us-east-1e"
             },
             "us-west-2": {
                 "AZ1": "us-west-2a",
-                "AZ2": "us-west-2b"
+                "AZ2": "us-west-2b",
+                "AZ3": "us-west-2c",
+                "AZ4": "us-west-2a"
             }
         }
     },
@@ -375,7 +381,7 @@
                 "AvailabilityZones": [
                     {
                         "Fn::FindInMap": [
-                            "TwoAZs",
+                            "FourAZs",
                             {
                                 "Ref": "AWS::Region"
                             },
@@ -384,13 +390,31 @@
                     },
                     {
                         "Fn::FindInMap": [
-                            "TwoAZs",
+                            "FourAZs",
                             {
                                 "Ref": "AWS::Region"
                             },
                             "AZ2"
                         ]
-                    }
+                    },
+                    {
+                         "Fn::FindInMap": [
+                             "FourAZs",
+                             {
+                                 "Ref": "AWS::Region"
+                             },
+                             "AZ3"
+                         ]
+                     },
+                    {
+                         "Fn::FindInMap": [
+                             "FourAZs",
+                             {
+                                 "Ref": "AWS::Region"
+                             },
+                             "AZ4"
+                         ]
+                     }
                 ],
                 "LaunchConfigurationName": {
                     "Ref": "GraphiteAutoScalingLaunchConfiguration"
@@ -573,10 +597,10 @@
                         "Type": "AWS::AutoScaling::AutoScalingGroup",
                         "Version": "2014-07-24",
                         "Properties": {
-                            "AvailabilityZones": [
+                          "AvailabilityZones": [
                                 {
                                     "Fn::FindInMap": [
-                                        "TwoAZs",
+                                        "FourAZs",
                                         {
                                             "Ref": "AWS::Region"
                                         },
@@ -585,13 +609,31 @@
                                 },
                                 {
                                     "Fn::FindInMap": [
-                                        "TwoAZs",
+                                        "FourAZs",
                                         {
                                             "Ref": "AWS::Region"
                                         },
                                         "AZ2"
                                     ]
-                                }
+                                },
+                                {
+                                     "Fn::FindInMap": [
+                                         "FourAZs",
+                                         {
+                                             "Ref": "AWS::Region"
+                                         },
+                                         "AZ3"
+                                     ]
+                                 },
+                                {
+                                     "Fn::FindInMap": [
+                                         "FourAZs",
+                                         {
+                                             "Ref": "AWS::Region"
+                                         },
+                                         "AZ4"
+                                     ]
+                                 }
                             ],
                             "LaunchConfigurationName": {
                                 "Ref": "OpsCenterAutoScalingLaunchConfiguration"
@@ -827,10 +869,10 @@
             "Type": "AWS::AutoScaling::AutoScalingGroup",
             "Version": "2009-05-15",
             "Properties": {
-                "AvailabilityZones": [
+              "AvailabilityZones": [
                     {
                         "Fn::FindInMap": [
-                            "TwoAZs",
+                            "FourAZs",
                             {
                                 "Ref": "AWS::Region"
                             },
@@ -839,13 +881,31 @@
                     },
                     {
                         "Fn::FindInMap": [
-                            "TwoAZs",
+                            "FourAZs",
                             {
                                 "Ref": "AWS::Region"
                             },
                             "AZ2"
                         ]
-                    }
+                    },
+                    {
+                         "Fn::FindInMap": [
+                             "FourAZs",
+                             {
+                                 "Ref": "AWS::Region"
+                             },
+                             "AZ3"
+                         ]
+                     },
+                    {
+                         "Fn::FindInMap": [
+                             "FourAZs",
+                             {
+                                 "Ref": "AWS::Region"
+                             },
+                             "AZ4"
+                         ]
+                     }
                 ],
                 "LaunchConfigurationName": {
                     "Ref": "CassAutoScalingLaunchConfiguration"
@@ -988,26 +1048,44 @@
             "Type": "AWS::AutoScaling::AutoScalingGroup",
             "Version": "2009-05-15",
             "Properties": {
-                "AvailabilityZones": [
-                    {
-                        "Fn::FindInMap": [
-                            "TwoAZs",
-                            {
-                                "Ref": "AWS::Region"
-                            },
-                            "AZ1"
-                        ]
-                    },
-                    {
-                        "Fn::FindInMap": [
-                            "TwoAZs",
-                            {
-                                "Ref": "AWS::Region"
-                            },
-                            "AZ2"
-                        ]
-                    }
-                ],
+              "AvailabilityZones": [
+                      {
+                          "Fn::FindInMap": [
+                              "FourAZs",
+                              {
+                                  "Ref": "AWS::Region"
+                              },
+                              "AZ1"
+                          ]
+                      },
+                      {
+                          "Fn::FindInMap": [
+                              "FourAZs",
+                              {
+                                  "Ref": "AWS::Region"
+                              },
+                              "AZ2"
+                          ]
+                      },
+                      {
+                           "Fn::FindInMap": [
+                               "FourAZs",
+                               {
+                                   "Ref": "AWS::Region"
+                               },
+                               "AZ3"
+                           ]
+                       },
+                      {
+                           "Fn::FindInMap": [
+                               "FourAZs",
+                               {
+                                   "Ref": "AWS::Region"
+                               },
+                               "AZ4"
+                           ]
+                       }
+                  ],
                 "LaunchConfigurationName": {
                     "Ref": "ESAutoScalingLaunchConfiguration"
                 },
@@ -1151,26 +1229,44 @@
             "Type": "AWS::AutoScaling::AutoScalingGroup",
             "Version": "2009-05-15",
             "Properties": {
-                "AvailabilityZones": [
-                    {
-                        "Fn::FindInMap": [
-                            "TwoAZs",
-                            {
-                                "Ref": "AWS::Region"
-                            },
-                            "AZ1"
-                        ]
-                    },
-                    {
-                        "Fn::FindInMap": [
-                            "TwoAZs",
-                            {
-                                "Ref": "AWS::Region"
-                            },
-                            "AZ2"
-                        ]
-                    }
-                ],
+              "AvailabilityZones": [
+                      {
+                          "Fn::FindInMap": [
+                              "FourAZs",
+                              {
+                                  "Ref": "AWS::Region"
+                              },
+                              "AZ1"
+                          ]
+                      },
+                      {
+                          "Fn::FindInMap": [
+                              "FourAZs",
+                              {
+                                  "Ref": "AWS::Region"
+                              },
+                              "AZ2"
+                          ]
+                      },
+                      {
+                           "Fn::FindInMap": [
+                               "FourAZs",
+                               {
+                                   "Ref": "AWS::Region"
+                               },
+                               "AZ3"
+                           ]
+                       },
+                      {
+                           "Fn::FindInMap": [
+                               "FourAZs",
+                               {
+                                   "Ref": "AWS::Region"
+                               },
+                               "AZ4"
+                           ]
+                       }
+                  ],
                 "LaunchConfigurationName": {
                     "Ref": "RestAutoScalingLaunchConfiguration"
                 },
@@ -1277,10 +1373,10 @@
         "RestElasticLoadBalancer": {
             "Type": "AWS::ElasticLoadBalancing::LoadBalancer",
             "Properties": {
-                "AvailabilityZones": [
+              "AvailabilityZones": [
                     {
                         "Fn::FindInMap": [
-                            "TwoAZs",
+                            "FourAZs",
                             {
                                 "Ref": "AWS::Region"
                             },
@@ -1289,13 +1385,31 @@
                     },
                     {
                         "Fn::FindInMap": [
-                            "TwoAZs",
+                            "FourAZs",
                             {
                                 "Ref": "AWS::Region"
                             },
                             "AZ2"
                         ]
-                    }
+                    },
+                    {
+                         "Fn::FindInMap": [
+                             "FourAZs",
+                             {
+                                 "Ref": "AWS::Region"
+                             },
+                             "AZ3"
+                         ]
+                     },
+                    {
+                         "Fn::FindInMap": [
+                             "FourAZs",
+                             {
+                                 "Ref": "AWS::Region"
+                             },
+                             "AZ4"
+                         ]
+                     }
                 ],
                 "Listeners": [
                     {