Created
October 22, 2016 11:49
-
-
Save allthingsclowd/c16b588d5bb61073f19270f7846cf647 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# AZ 1 Load Balancer | |
LAMP_Demo_AZ1_LBaaS: | |
type: FCX::ExpandableLoadBalancer::LoadBalancer | |
depends_on: [ server1,server2 ] | |
properties: | |
Subnets: [{get_resource: private_subnet_az1}] | |
Instances: [{get_resource: server1},{get_resource: server2}] | |
Listeners: | |
- {LoadBalancerPort: '80', | |
InstancePort: '80', | |
Protocol: 'HTTP', | |
InstanceProtocol: 'HTTP' } | |
HealthCheck: {Target: 'HTTP:80/healthcheck', | |
HealthyThreshold: '3', | |
UnhealthyThreshold: '5', | |
Interval: '30', | |
Timeout: '5'} | |
Version: 2014-09-30 | |
Scheme: public | |
LoadBalancerName: LBaaSAZ1 | |
SecurityGroups: [ {get_resource: server_security_group3} ] | |
# AZ 2 Load Balancer | |
LAMP_Demo_AZ2_LBaaS: | |
type: FCX::ExpandableLoadBalancer::LoadBalancer | |
depends_on: [ server1,server2 ] | |
properties: | |
Subnets: [{get_resource: private_subnet_az2}] | |
Instances: [{get_resource: server1},{get_resource: server2}] | |
Listeners: | |
- {LoadBalancerPort: '80', | |
InstancePort: '80', | |
Protocol: 'HTTP', | |
InstanceProtocol: 'HTTP' } | |
HealthCheck: {Target: 'HTTP:80/healthcheck', | |
HealthyThreshold: '3', | |
UnhealthyThreshold: '5', | |
Interval: '30', | |
Timeout: '5'} | |
Version: 2014-09-30 | |
Scheme: public | |
LoadBalancerName: LBaaSAZ2 | |
SecurityGroups: [ {get_resource: server_security_group4} ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment