Skip to content

Instantly share code, notes, and snippets.

@przygode
Created October 21, 2012 21:36
Show Gist options
  • Save przygode/3928592 to your computer and use it in GitHub Desktop.
Save przygode/3928592 to your computer and use it in GitHub Desktop.
auto-scaling-loadbalancer
{
"app.stratalux.com": {
"Type": "AWS::ElasticLoadBalancing::LoadBalancer",
"Properties": {
"AvailabilityZones": {
"Fn::GetAZs": ""
},
"HealthCheck": {
"HealthyThreshold": "10",
"Interval": "15",
"Target": "HTTP:80/monitor/healthcheck",
"Timeout": "2",
"UnhealthyThreshold": "2"
},
"Listeners": [
{
"InstancePort": "80",
"LoadBalancerPort": "443",
"Protocol": "HTTPS",
"SSLCertificateId": "arn:aws:iam::1234567890:server-certificate/stratalux.com.2012",
"PolicyNames": []
},
{
"InstancePort": "80",
"LoadBalancerPort": "80",
"Protocol": "HTTP",
"PolicyNames": []
}
]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment