From 24ed0245026eff8f7d07f68ef4d28cfae9c04b5f Mon Sep 17 00:00:00 2001 From: Amanda Capella Date: Tue, 21 Jan 2020 19:09:18 -0500 Subject: [PATCH 1/4] ami-updates updating ami --- aws/cloudformation/elasticsearch.cloudformation.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/aws/cloudformation/elasticsearch.cloudformation.json b/aws/cloudformation/elasticsearch.cloudformation.json index 368fddc..d689d73 100644 --- a/aws/cloudformation/elasticsearch.cloudformation.json +++ b/aws/cloudformation/elasticsearch.cloudformation.json @@ -107,8 +107,8 @@ "Mappings" : { "AMI": { - "us-west-2": { "Value": "ami-0aa51c6b209594418" }, - "us-east-2": { "Value": "ami-066c85f9c48e28947" } + "us-west-2": { "Value": "ami-01c52ef1a99946f59" }, + "us-east-2": { "Value": "ami-0bdac1933dbdac310" } }, "Ec2Endpoint": { "us-west-2": { "Value": "ec2.us-west-2.amazonaws.com" }, @@ -414,11 +414,11 @@ "echo discovery.ec2.endpoint: \"", { "Fn::FindInMap" : [ "Ec2Endpoint", { "Ref": "AWS::Region"}, "Value" ]}, "\" >> /etc/elasticsearch/elasticsearch.yml\n", "echo discovery.ec2.groups: \"", { "Ref": "ElasticSearchSecurityGroup" }, "\" >> /etc/elasticsearch/elasticsearch.yml\n", - "ip=$(/sbin/ifconfig eth0|grep inet|head -1|sed 's/\\:/ /'|awk '{print $3}')\n", + "ip=$(/sbin/ifconfig eth0|grep inet|head -1|sed 's/:/ /'|awk '{print $2}')\n", "echo network.publish_host: $ip >> /etc/elasticsearch/elasticsearch.yml\n", "service docker stop || true\n", "service docker start\n", - "start ecs" + "systemctl enable --now --no-block ecs.service" ] ] } } } From ffab723a009e731c318b1c5dec573608564e0156 Mon Sep 17 00:00:00 2001 From: Amanda Capella Date: Wed, 22 Jan 2020 22:10:23 -0500 Subject: [PATCH 2/4] ami-updates east west ami updates --- aws/cloudformation/elasticsearch.cloudformation.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aws/cloudformation/elasticsearch.cloudformation.json b/aws/cloudformation/elasticsearch.cloudformation.json index d689d73..a3c55e3 100644 --- a/aws/cloudformation/elasticsearch.cloudformation.json +++ b/aws/cloudformation/elasticsearch.cloudformation.json @@ -107,8 +107,8 @@ "Mappings" : { "AMI": { - "us-west-2": { "Value": "ami-01c52ef1a99946f59" }, - "us-east-2": { "Value": "ami-0bdac1933dbdac310" } + "us-west-2": { "Value": "ami-07b95939fdab1a771" }, + "us-east-2": { "Value": "ami-0f2917310a52d5da4" } }, "Ec2Endpoint": { "us-west-2": { "Value": "ec2.us-west-2.amazonaws.com" }, From 7ec12fee3cf983a39475c98655a16f20ab5cd4a3 Mon Sep 17 00:00:00 2001 From: Amanda Capella Date: Thu, 23 Jan 2020 15:54:43 -0500 Subject: [PATCH 3/4] ami-updates east ami update after brad's changes --- aws/cloudformation/elasticsearch.cloudformation.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aws/cloudformation/elasticsearch.cloudformation.json b/aws/cloudformation/elasticsearch.cloudformation.json index a3c55e3..95333f7 100644 --- a/aws/cloudformation/elasticsearch.cloudformation.json +++ b/aws/cloudformation/elasticsearch.cloudformation.json @@ -108,7 +108,7 @@ "Mappings" : { "AMI": { "us-west-2": { "Value": "ami-07b95939fdab1a771" }, - "us-east-2": { "Value": "ami-0f2917310a52d5da4" } + "us-east-2": { "Value": "ami-07234141bcbd691db" } }, "Ec2Endpoint": { "us-west-2": { "Value": "ec2.us-west-2.amazonaws.com" }, From 9414db54ef59577391bcbe5a3adaefb03e92412e Mon Sep 17 00:00:00 2001 From: Amanda Capella Date: Fri, 24 Jan 2020 09:11:37 -0800 Subject: [PATCH 4/4] ami-updates west ami update after brad cw change --- aws/cloudformation/elasticsearch.cloudformation.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aws/cloudformation/elasticsearch.cloudformation.json b/aws/cloudformation/elasticsearch.cloudformation.json index 95333f7..10ca613 100644 --- a/aws/cloudformation/elasticsearch.cloudformation.json +++ b/aws/cloudformation/elasticsearch.cloudformation.json @@ -107,7 +107,7 @@ "Mappings" : { "AMI": { - "us-west-2": { "Value": "ami-07b95939fdab1a771" }, + "us-west-2": { "Value": "ami-0e3b95337a3010ee5" }, "us-east-2": { "Value": "ami-07234141bcbd691db" } }, "Ec2Endpoint": {