Docker image which runs cronjob for provisioning of memcached clusters on AWS ElastiCache
The cronjob makes sure that there are always 3 unclaimed small clusters, 1 unclaimed medium, and 1 unclaimed large
- "fmt"
- "strings"
- "database/sql"
- "github.com/lib/pq"
- "github.com/aws/aws-sdk-go/aws"
- "github.com/aws/aws-sdk-go/aws/session"
- "github.com/aws/aws-sdk-go/service/elasticache"
- "github.com/nu7hatch/gouuid"
- "os"
go
aws creds
- LARGE_INSTANCE_TYPE
- BROKER_DB
- SMALL_INSTANCE_TYPE
- MEDIUM_INSTANCE_TYPE
- ELASTICACHE_SECURITY_GROUP