Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Net & Scope versions to 1.9.4 and 1.3.0 respectively #123

Merged
merged 6 commits into from
Mar 29, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions aws/ecs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
## Weaveworks ECS Image (2017-03-29)

New features:
- Update base AMIs to 2016.09.g, Weave Scope to 1.3.0 and Weave Net version to 1.9.4
[#123](github.com/weaveworks/integrations/pull/123)

## Weaveworks ECS Image (2016-11-29)
New features [#117](github.com/weaveworks/integrations/pull/117):
- Update Weave Net to 1.8.1
- Update Weave Scope to 1.1.0
- Update Weave Net to 1.9.3

This comment was marked as abuse.

- Update Weave Scope to 1.2.1
- Enable Scope ECS views
- Add documentation for new actions required for Scope ECS views
- Update base ECS images (including new Ohio region)
Expand Down
28 changes: 15 additions & 13 deletions aws/ecs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ To make [Weave Net](http://weave.works/net) and
[Amazon ECS](http://docs.aws.amazon.com/AmazonECS/latest/developerguide/Welcome.html),
a set of Amazon Machine Images (AMIs) are provided. These AMIs are fully
compatible with the
[ECS-Optimized Amazon Linux AMI](https://aws.amazon.com/marketplace/pp/B00U6QTYI2).
[ECS-Optimized Amazon Linux AMI](https://aws.amazon.com/marketplace/pp/B06XS8WHGJ).

The following are the latest supported Weave AMIs for each region:

Expand All @@ -18,25 +18,27 @@ not remove it and respect the format! -->

| Region | AMI |
|----------------|--------------|
| us-east-1 | ami-c63709d1 |
| us-east-2 | ami-4788d222 |
| us-west-1 | ami-28e7b348 |
| us-west-2 | ami-c62f81a6 |
| eu-west-1 | ami-25adf356 |
| eu-central-1 | ami-7fd31410 |
| ap-northeast-1 | ami-cb1eafaa |
| ap-southeast-1 | ami-35822f56 |
| ap-southeast-2 | ami-06300965 |
| us-east-1 | ami-f560d8e3 |
| us-east-2 | ami-13e2c676 |
| us-west-1 | ami-95cc97f5 |
| us-west-2 | ami-4fe87c2f |
| eu-west-1 | ami-13c8f475 |
| eu-west-2 | ami-8a6276ee |
| eu-central-1 | ami-216dbc4e |
| ap-northeast-1 | ami-b2efb5d5 |
| ap-southeast-1 | ami-e152ee82 |
| ap-southeast-2 | ami-ac1b14cf |
| ca-central-1 | ami-8104b9e5 |


## What's in the Weave ECS AMIs?

These latest Weave ECS AMIs are based on Amazon's
[ECS-Optimized Amazon Linux AMI](https://aws.amazon.com/marketplace/pp/B00U6QTYI2),
version `2016.09.b` and also includes:
version `2016.09.g` and also includes:

* [Weave Net 1.8.1](https://github.com/weaveworks/weave/blob/master/CHANGELOG.md#release-181)
* [Weave Scope 1.1.0](https://github.com/weaveworks/scope/blob/master/CHANGELOG.md#release-110)
* [Weave Net 1.9.3](https://github.com/weaveworks/weave/blob/master/CHANGELOG.md#release-193)

This comment was marked as abuse.

* [Weave Scope 1.3.0](https://github.com/weaveworks/scope/blob/master/CHANGELOG.md#release-130)


## Deployment Requirements
Expand Down
28 changes: 17 additions & 11 deletions aws/ecs/cloudformation-identiorca.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,31 +55,37 @@
},
"WeaveworksEcsAmiIds": {
"us-east-1": {
"ImageId": "ami-eca289fb"
"ImageId": "ami-275ffe31"
},
"us-east-2": {
"ImageId": "ami-446f3521"
"ImageId": "ami-62745007"
},
"us-west-1": {
"ImageId": "ami-9fadf8ff"
"ImageId": "ami-689bc208"
},
"us-west-2": {
"ImageId": "ami-7abc111a"
"ImageId": "ami-62d35c02"
},
"eu-west-1": {
"ImageId": "ami-a1491ad2"
"ImageId": "ami-95f8d2f3"
},
"eu-west-2": {
"ImageId": "ami-bf9481db"
},
"eu-central-1": {
"ImageId": "ami-54f5303b"
"ImageId": "ami-085e8a67"
},
"ap-northeast-1": {
"ImageId": "ami-9cd57ffd"
"ImageId": "ami-f63f6f91"
},
"ap-southeast-1": {
"ImageId": "ami-a900a3ca"
"ImageId": "ami-b4ae1dd7"
},
"ap-southeast-2": {
"ImageId": "ami-5781be34"
"ImageId": "ami-fbe9eb98"
},
"ca-central-1": {
"ImageId": "ami-ee58e58a"
}
}
},
Expand Down Expand Up @@ -658,7 +664,7 @@
"/",
[
"https://github.com/weaveworks/weave/releases/download",
"v1.8.1",
"v1.9.4",
"weave"
]
]
Expand All @@ -671,7 +677,7 @@
"/",
[
"https://github.com/weaveworks/scope/releases/download",
"v1.1.0",
"v1.3.0",
"scope"
]
]
Expand Down
28 changes: 17 additions & 11 deletions aws/ecs/cloudformation-larger-app.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,31 +15,37 @@
},
"WeaveworksEcsAmiIds": {
"us-east-1": {
"ImageId": "ami-eca289fb"
"ImageId": "ami-275ffe31"
},
"us-east-2": {
"ImageId": "ami-446f3521"
"ImageId": "ami-62745007"
},
"us-west-1": {
"ImageId": "ami-9fadf8ff"
"ImageId": "ami-689bc208"
},
"us-west-2": {
"ImageId": "ami-7abc111a"
"ImageId": "ami-62d35c02"
},
"eu-west-1": {
"ImageId": "ami-a1491ad2"
"ImageId": "ami-95f8d2f3"
},
"eu-west-2": {
"ImageId": "ami-bf9481db"
},
"eu-central-1": {
"ImageId": "ami-54f5303b"
"ImageId": "ami-085e8a67"
},
"ap-northeast-1": {
"ImageId": "ami-9cd57ffd"
"ImageId": "ami-f63f6f91"
},
"ap-southeast-1": {
"ImageId": "ami-a900a3ca"
"ImageId": "ami-b4ae1dd7"
},
"ap-southeast-2": {
"ImageId": "ami-5781be34"
"ImageId": "ami-fbe9eb98"
},
"ca-central-1": {
"ImageId": "ami-ee58e58a"
}
}
},
Expand Down Expand Up @@ -113,12 +119,12 @@
"WeaveNetVersion": {
"Type": "String",
"Description": "Version of Weave Net to install",
"Default": "v1.8.1"
"Default": "v1.9.4"
},
"WeaveScopeVersion": {
"Type": "String",
"Description": "Version of Weave Scope to install",
"Default": "v1.1.0"
"Default": "v1.3.0"
}
},
"Conditions": {
Expand Down
28 changes: 17 additions & 11 deletions aws/ecs/cloudformation-no-app.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,31 +36,37 @@
},
"WeaveworksEcsAmiIds": {
"us-east-1": {
"ImageId": "ami-eca289fb"
"ImageId": "ami-275ffe31"
},
"us-east-2": {
"ImageId": "ami-446f3521"
"ImageId": "ami-62745007"
},
"us-west-1": {
"ImageId": "ami-9fadf8ff"
"ImageId": "ami-689bc208"
},
"us-west-2": {
"ImageId": "ami-7abc111a"
"ImageId": "ami-62d35c02"
},
"eu-west-1": {
"ImageId": "ami-a1491ad2"
"ImageId": "ami-95f8d2f3"
},
"eu-west-2": {
"ImageId": "ami-bf9481db"
},
"eu-central-1": {
"ImageId": "ami-54f5303b"
"ImageId": "ami-085e8a67"
},
"ap-northeast-1": {
"ImageId": "ami-9cd57ffd"
"ImageId": "ami-f63f6f91"
},
"ap-southeast-1": {
"ImageId": "ami-a900a3ca"
"ImageId": "ami-b4ae1dd7"
},
"ap-southeast-2": {
"ImageId": "ami-5781be34"
"ImageId": "ami-fbe9eb98"
},
"ca-central-1": {
"ImageId": "ami-ee58e58a"
}
}
},
Expand Down Expand Up @@ -542,7 +548,7 @@
"/",
[
"https://github.com/weaveworks/weave/releases/download",
"v1.8.1",
"v1.9.4",
"weave"
]
]
Expand All @@ -555,7 +561,7 @@
"/",
[
"https://github.com/weaveworks/scope/releases/download",
"v1.1.0",
"v1.3.0",
"scope"
]
]
Expand Down
28 changes: 17 additions & 11 deletions aws/ecs/cloudformation.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,31 +15,37 @@
},
"WeaveworksEcsAmiIds": {
"us-east-1": {
"ImageId": "ami-eca289fb"
"ImageId": "ami-275ffe31"
},
"us-east-2": {
"ImageId": "ami-446f3521"
"ImageId": "ami-62745007"
},
"us-west-1": {
"ImageId": "ami-9fadf8ff"
"ImageId": "ami-689bc208"
},
"us-west-2": {
"ImageId": "ami-7abc111a"
"ImageId": "ami-62d35c02"
},
"eu-west-1": {
"ImageId": "ami-a1491ad2"
"ImageId": "ami-95f8d2f3"
},
"eu-west-2": {
"ImageId": "ami-bf9481db"
},
"eu-central-1": {
"ImageId": "ami-54f5303b"
"ImageId": "ami-085e8a67"
},
"ap-northeast-1": {
"ImageId": "ami-9cd57ffd"
"ImageId": "ami-f63f6f91"
},
"ap-southeast-1": {
"ImageId": "ami-a900a3ca"
"ImageId": "ami-b4ae1dd7"
},
"ap-southeast-2": {
"ImageId": "ami-5781be34"
"ImageId": "ami-fbe9eb98"
},
"ca-central-1": {
"ImageId": "ami-ee58e58a"
}
}
},
Expand Down Expand Up @@ -113,12 +119,12 @@
"WeaveNetVersion": {
"Type": "String",
"Description": "Version of Weave Net to install",
"Default": "v1.8.1"
"Default": "v1.9.4"
},
"WeaveScopeVersion": {
"Type": "String",
"Description": "Version of Weave Scope to install",
"Default": "v1.1.0"
"Default": "v1.3.0"
}
},
"Conditions": {
Expand Down
20 changes: 11 additions & 9 deletions aws/ecs/packer/build-all-amis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,17 @@ if [ -z "${AWS_ACCESS_KEY_ID+x}" -a -z "${AWS_SECRET_ACCESS_KEY+x}" ]; then
fi

# Taken from http://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_container_instance.html
BASE_AMIS=('us-east-1:ami-eca289fb'
'us-east-2:ami-446f3521'
'us-west-1:ami-9fadf8ff'
'us-west-2:ami-7abc111a'
'eu-west-1:ami-a1491ad2'
'eu-central-1:ami-54f5303b'
'ap-northeast-1:ami-9cd57ffd'
'ap-southeast-1:ami-a900a3ca'
'ap-southeast-2:ami-5781be34'
BASE_AMIS=('us-east-1:ami-275ffe31'
'us-east-2:ami-62745007'
'us-west-1:ami-689bc208'
'us-west-2:ami-62d35c02'
'eu-west-1:ami-95f8d2f3'
'eu-west-2:ami-bf9481db'
'eu-central-1:ami-085e8a67'
'ap-northeast-1:ami-f63f6f91'
'ap-southeast-1:ami-b4ae1dd7'
'ap-southeast-2:ami-fbe9eb98'
'ca-central-1:ami-ee58e58a'
)

# Mimic associative arrays using ":" to compose keys and values,
Expand Down
6 changes: 3 additions & 3 deletions aws/ecs/packer/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@
"sudo yum -y install python-pip jq",
"sudo python-pip install awscli",

"sudo curl -L https://github.com/weaveworks/weave/releases/download/v1.8.1/weave -o /usr/local/bin/weave",
"sudo curl -L https://github.com/weaveworks/weave/releases/download/v1.9.4/weave -o /usr/local/bin/weave",
"sudo chmod +x /usr/local/bin/weave",
"sudo /usr/local/bin/weave setup",

"sudo curl -L https://github.com/weaveworks/scope/releases/download/v1.1.0/scope -o /usr/local/bin/scope",
"sudo curl -L https://github.com/weaveworks/scope/releases/download/v1.3.0/scope -o /usr/local/bin/scope",
"sudo chmod +x /usr/local/bin/scope",
"docker pull weaveworks/scope:1.1.0",
"docker pull weaveworks/scope:1.3.0",


"sudo mv /home/ec2-user/weave.conf /etc/init/weave.conf",
Expand Down