# Can Kong do application-load-balancing also (I'm confused)?

**URL:** <https://discuss.konghq.com/t/can-kong-do-application-load-balancing-also-im-confused/876>\
**Category:** General\
**Tags:** kong-gateway\
**Created:** [April 23, 2018, 2:54pm UTC](https://discuss.konghq.com/t/can-kong-do-application-load-balancing-also-im-confused/876 "2018-04-23T14:54:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![cp10000](https://avatars.discourse-cdn.com/v4/letter/c/e0b2c6/32.png) [@cp10000](https://discuss.konghq.com/u/cp10000)\
**Post date:** [April 23, 2018, 2:54pm UTC](https://discuss.konghq.com/t/can-kong-do-application-load-balancing-also-im-confused/876/1 "2018-04-23T14:54:35Z")

</div>

I have a question because I am a little confused and I’m sure that others are just as confused as I am.

AWS has two separate products: 1) ALB for Application-Load-Balancing and 2) API Gateway.

These two products have some resemblance, not totally but some to the extent that network requests are taken as input and forwarded somewhere based on some internal logic.

My question is simple: We know that Kong is an API Gateway. Can Kong do ALB – Application Load Balancing also?

Any comments on the separation (or lack thereof) of these two functionalities would be appreciated.

---

<div class="post-metadata">

**Author:** ![bungle](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.konghq.com/bungle/32/13_2.png) [@bungle](https://discuss.konghq.com/u/bungle)\
**Post date:** [April 23, 2018, 6:15pm UTC](https://discuss.konghq.com/t/can-kong-do-application-load-balancing-also-im-confused/876/2 "2018-04-23T18:15:49Z")

</div>

Does Upstreams:

> **[Open-Source API Management and Microservice Management](https://docs.konghq.com/0.13.x/admin-api/)**
>
> Secure, Manage & Extend your APIs or Microservices with plugins for authentication, logging, rate-limiting, transformations and more.

And Targets:

> **[Open-Source API Management and Microservice Management](https://docs.konghq.com/0.13.x/admin-api/)**
>
> Secure, Manage & Extend your APIs or Microservices with plugins for authentication, logging, rate-limiting, transformations and more.

Answer your question?

See also:  
Load Balancing Reference:

> **[Open-Source API Management and Microservice Management](https://docs.konghq.com/0.13.x/loadbalancing/)**
>
> Secure, Manage & Extend your APIs or Microservices with plugins for authentication, logging, rate-limiting, transformations and more.

and Health Checks and Circuit Breakers Reference:

> **[Open-Source API Management and Microservice Management](https://docs.konghq.com/0.13.x/health-checks-circuit-breakers/)**
>
> Secure, Manage & Extend your APIs or Microservices with plugins for authentication, logging, rate-limiting, transformations and more.

---

<div class="post-metadata">

**Author:** ![bungle](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.konghq.com/bungle/32/13_2.png) [@bungle](https://discuss.konghq.com/u/bungle)\
**Post date:** [April 23, 2018, 6:17pm UTC](https://discuss.konghq.com/t/can-kong-do-application-load-balancing-also-im-confused/876/3 "2018-04-23T18:17:51Z")

</div>

You may also use other load-balancing products with Kong, such as Amazon’s. We do also support `proxy_protocol` in case you need that when using external load balancers.

---

<div class="post-metadata">

**Author:** ![Rahul\_Salunke](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.konghq.com/rahul_salunke/32/1404_2.png) [@Rahul\_Salunke](https://discuss.konghq.com/u/Rahul_Salunke)\
**Post date:** [June 19, 2020, 5:30am UTC](https://discuss.konghq.com/t/can-kong-do-application-load-balancing-also-im-confused/876/4 "2020-06-19T05:30:27Z")

</div>

Hi cp10000,

you found answer to your question? I am also looking for whether Kong can do ALB- Application Load Balancing also??

Please help me with this if you found answer.

Thanks,

---

<div class="post-metadata">

**Author:** ![111](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.konghq.com/111/32/2038_2.png) [@111](https://discuss.konghq.com/u/111)\
**Post date:** [June 19, 2020, 6:20am UTC](https://discuss.konghq.com/t/can-kong-do-application-load-balancing-also-im-confused/876/5 "2020-06-19T06:20:34Z")

</div>

I use “kong.response.exit(res.status, res.body)”  
when res.status=200，The interface is open ，no problem  
but when res.status!=200,have questions  
questions is No ‘Access-Control-Allow-Origin’ header is present on the requested resource.

Did I configure it right？  
thank you
