Hi All,
Here's a sample LB Cartridge configuration. Let me know your thoughts.
{
"cartridgeDefinitionBean": {
"type": "lb",
"provider": "apache",
"displayName": "load balancer",
"description": "LB Cartridge",
"version": "4",
"multiTenant": "false",
"portMapping": [
{
"protocol": "http",
"port": "8280",
"proxyPort": "8280"
},
{
"protocol": "https",
"port": "8243",
"proxyPort": "8243"
}
],
"deployment": {
},
"iaasProvider": [
{
"type": "ec2",
"imageId": "ap-southeast-1/ami-efb2fcbd",
"maxInstanceLimit": "5",
"property": [
{
"name": "instanceType",
"value": "t1.micro"
}
]
}
],
"loadBalancer": {
},
"property": [
{
"name": "load.balancer",
"value": "true"
}
]
}
}
--
Best Regards,
Nirmal
Nirmal Fernando.
PPMC Member & Committer of Apache Stratos,
Senior Software Engineer, WSO2 Inc.
Blog: http://nirmalfdo.blogspot.com/