Big round of updates for OSCON 2016

This commit is contained in:
Jerome Petazzoni
2016-05-15 20:03:14 -07:00
parent 3be821fefb
commit 6b6d2c77ad
5 changed files with 1634 additions and 2884 deletions

View File

@@ -1,16 +1,8 @@
version: "2"
services:
rng1:
build: rng
rng2:
build: rng
rng3:
build: rng
rng:
image: jpetazzo/hamba
command: 80 rng1:80 rng2:80 rng3:80
build: rng
ports:
- "8001:80"

View File

@@ -194,7 +194,7 @@ sync_keys() {
}
suggest_amis() {
scripts/find-ubuntu-ami.sh -r $AWS_DEFAULT_REGION -a amd64 -v 15.10 -t hvm:ebs -N
scripts/find-ubuntu-ami.sh -r $AWS_DEFAULT_REGION -a amd64 -v 16.04 -t hvm:ebs -N
}
get_token() {
@@ -210,16 +210,19 @@ get_ami() {
#AMI=$(suggest_amis | grep -v ^REGION | head -1 | awk '{print $7}')
case $AWS_DEFAULT_REGION in
eu-central-1)
AMI=ami-74a4bc18
AMI=ami-f0eb089f
;;
eu-west-1)
AMI=ami-cda312be
;;
us-west-2)
AMI=ami-495bbd29
AMI=ami-3079f543
;;
us-east-1)
AMI=ami-1711387d
AMI=ami-840910ee
;;
us-west-1)
AMI=ami-d8e996b8
;;
us-west-2)
AMI=ami-fa82739a
;;
esac
echo $AMI
@@ -273,7 +276,7 @@ run_cli() {
scripts/find-ubuntu-ami.sh -r $AWS_DEFAULT_REGION $*
echo
echo "Protip:"
echo "trainer ami -a amd64 -v 15.10 -t hvm:ebs -N | grep -v ^REGION | cut -d\" \" -f15"
echo "trainer ami -a amd64 -v 16.04 -t hvm:ebs -N | grep -v ^REGION | cut -d\" \" -f15"
echo
echo "Suggestions:"
suggest_amis

View File

@@ -30,6 +30,6 @@ footer: >
url: http://container.training/
engine_version: get.docker.com
compose_version: 1.7.0
compose_version: 1.7.1
machine_version: 0.6.0
swarm_version: 1.2.0
swarm_version: 1.2.2

Binary file not shown.

After

Width:  |  Height:  |  Size: 137 KiB

File diff suppressed because it is too large Load Diff