I hereby claim:
- I am SaschaMoellering on github.
- I am sascha242 (https://keybase.io/sascha242) on keybase.
- I have a public key whose fingerprint is EE98 297B D830 D3E1 8A24 C839 2FDA B9BF 82A2 33F7
To claim this, I am signing this object:
package com.zanox.kinesis.dynamo; | |
import com.amazonaws.auth.DefaultAWSCredentialsProviderChain; | |
import com.amazonaws.regions.Region; | |
import com.amazonaws.regions.Regions; | |
import com.amazonaws.services.dynamodbv2.AmazonDynamoDBClient; | |
import com.amazonaws.services.dynamodbv2.datamodeling.*; | |
/** | |
* Created by sascha.moellering on 17/10/2014. |
def create_redis_cluster(region, infrastructure_name, security_groups, subnet_ids, availability_zones, | |
cache_node_type): | |
cluster_name = "{0}-cache-cluster".format(infrastructure_name) | |
replication_group = "{0}-rg".format(infrastructure_name) | |
cluster_subnet = "{0}-cluster-subnet".format(infrastructure_name) | |
print "Creating Redis cluster {0} using security groups {1} and subnet {2} in AZs {3} with cache node type {4}"\ | |
.format(cluster_name, security_groups, subnet_ids, availability_zones, cache_node_type) |
➜ vertx git:(master) kitchen version | |
/Library/Ruby/Gems/2.0.0/gems/safe_yaml-1.0.4/lib/safe_yaml/parse/date.rb:22:in `<class:Date>': uninitialized constant SafeYAML::Parse::Date::DateTime (NameError) | |
from /Library/Ruby/Gems/2.0.0/gems/safe_yaml-1.0.4/lib/safe_yaml/parse/date.rb:3:in `<class:Parse>' | |
from /Library/Ruby/Gems/2.0.0/gems/safe_yaml-1.0.4/lib/safe_yaml/parse/date.rb:2:in `<module:SafeYAML>' | |
from /Library/Ruby/Gems/2.0.0/gems/safe_yaml-1.0.4/lib/safe_yaml/parse/date.rb:1:in `<top (required)>' | |
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:69:in `require' | |
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:69:in `require' | |
from /Library/Ruby/Gems/2.0.0/gems/safe_yaml-1.0.4/lib/safe_yaml/load.rb:14:in `<top (required)>' | |
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:121:in `require' | |
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:121:in `require' |
I hereby claim:
To claim this, I am signing this object:
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "Stmt1431942256000", | |
"Effect": "Allow", | |
"Action": [ | |
"elasticache:*" | |
], | |
"Resource": [ |
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"lambda:InvokeFunction" | |
], | |
"Resource": [ | |
"*" |
#!/bin/bash -ex | |
yum -y update | |
yum install docker -y | |
service docker start | |
docker run autoscaling/ingestion-service |