How to configure AWS Load balancer?

Not applicable

How to configure AWS ELB for 5 node cluster? I'm running Router and Message Processor on nodes 2.

0 4 541
4 REPLIES 4

Not applicable
@Madhu if your question is specific to how to configure Load Balancer in AWS, you need to take a look at AWS documentation. For example:
http://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-getting-started.html

If your question is related to which items of Edge you register in the Load Balancer, the read below.

Edge uses Virtual Hosts as entry point for API calls to a given Environment. Each Environment created on Edge may contain one or more Virtual Host. Virtual Hosts are registered in the Load Balancer.

You can learn more about Virtual Hosts here:

http://docs.apigee.com/api-services/content/virtual-hosts

Virtual Hosts are typically created (initially) as you provision Organization and Environments. You can learn more about that process here:

http://docs.apigee.com/private-cloud/latest/onboard-organization

Hi,

I've configured ELB and created Virtual Host successfully, but when I attach (router, MP running instances) with ELB, status says instances out of service.

{
    "hostAliases": [
        "api.madhu-vg.com"
    ],
    "interfaces": [],
    "listenOptions": [],
    "name": "default",
    "port": "80"
}

Can you please guide me to which instances I should attach ELB to listen the port?

Maby Thanks,

Madhu

@Madhu how are you attaching the instances? btw you only need routers and not Mps.

@Madhu as Maruti mentioned above, you need a Load Balancer for the Routers. Specifically for the virtual hosts exposed by the Router.

Routers understand how to send traffic to MPs on same Pod and perform Load Balancing for those calls.