# TCP/UDP services for gen2

**URL:** <https://community.convox.com/t/tcp-udp-services-for-gen2/402>\
**Category:** Feature Requests\
**Created:** [February 18, 2019, 3:36pm UTC](https://community.convox.com/t/tcp-udp-services-for-gen2/402 "2019-02-18T15:36:28Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![idris](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.convox.com/idris/32/21_2.png) [@idris](https://community.convox.com/u/idris)\
**Post date:** [February 18, 2019, 3:36pm UTC](https://community.convox.com/t/tcp-udp-services-for-gen2/402/1 "2019-02-18T15:36:28Z")

</div>

Currently our non-http/https services must live on Convox gen1. I believe if gen2 supported [Network Load Balancers](https://docs.aws.amazon.com/elasticloadbalancing/latest/network/introduction.html), we could move those services over to gen2 and drop gen1 altogether.

---

<div class="post-metadata">

**Author:** ![eanderson](https://avatars.discourse-cdn.com/v4/letter/e/5f9b8f/32.png) [@eanderson](https://community.convox.com/u/eanderson)\
**Post date:** [June 28, 2019, 3:21pm UTC](https://community.convox.com/t/tcp-udp-services-for-gen2/402/2 "2019-06-28T15:21:21Z")

</div>

I second this request. I’m trying to run a rabbitmq service and need to to expose both 5672 (TCP) and 15672 (HTTPS).

I believe that in order to make this possible Convox will need to be able to create Network Load Balancers and not just Application Load Balancers.

Unrelated, but another option may be the addition of a rabbitmq resource?

---

<div class="post-metadata">

**Author:** ![vincent](https://avatars.discourse-cdn.com/v4/letter/v/e9bcb4/32.png) [@vincent](https://community.convox.com/u/vincent)\
**Post date:** [July 2, 2019, 8:11am UTC](https://community.convox.com/t/tcp-udp-services-for-gen2/402/3 "2019-07-02T08:11:56Z")

</div>

We’re facing the same situation. So I agree with OP.

---

<div class="post-metadata">

**Author:** ![julian](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.convox.com/julian/32/35_2.png) [@julian](https://community.convox.com/u/julian)\
**Post date:** [September 19, 2019, 3:01pm UTC](https://community.convox.com/t/tcp-udp-services-for-gen2/402/4 "2019-09-19T15:01:20Z")

</div>

+1 for either TCP connections on Gen2 or a RabbitMQ resource type

---

<div class="post-metadata">

**Author:** ![eanderson](https://avatars.discourse-cdn.com/v4/letter/e/5f9b8f/32.png) [@eanderson](https://community.convox.com/u/eanderson)\
**Post date:** [December 19, 2019, 7:30pm UTC](https://community.convox.com/t/tcp-udp-services-for-gen2/402/5 "2019-12-19T19:30:44Z")

</div>

What’s the status on this. Is there a workaround? This is a serious limitation that requires an official response.

---

<div class="post-metadata">

**Author:** ![ddollar](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.convox.com/ddollar/32/3_2.png) [@ddollar](https://community.convox.com/u/ddollar)\
**Post date:** [December 19, 2019, 8:02pm UTC](https://community.convox.com/t/tcp-udp-services-for-gen2/402/6 "2019-12-19T20:02:35Z")

</div>

TCP/UDP load balancing will not be coming to existing Gen 2 applications.

The new Kubernetes-based Racks have the ability to create custom load balancers which do support arbitrary TCP.

[Custom Load Balancers](https://github.com/convox/convox/blob/master/docs/guides/load-balancing.md#custom-load-balancers)

[Kubernetes Installation](https://github.com/convox/convox/tree/master/install)

---

<div class="post-metadata">

**Author:** ![scott1](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.convox.com/scott1/32/131_2.png) [@scott1](https://community.convox.com/u/scott1)\
**Post date:** [August 6, 2020, 3:32am UTC](https://community.convox.com/t/tcp-udp-services-for-gen2/402/7 "2020-08-06T03:32:43Z")

</div>

I’m guessing the answer is no, but can we expose ports to containers in Gen 2 racks? I’d like to cluster my elixir nodes but I need to open port 4369 and 9000 to internal traffic. Is this possible with Gen 2 racks?

I’d love this feature in Gen 2 racks:

> **[Convox Platform as a Service](https://docs.convox.com/configuration/load-balancers#custom-load-balancers)**
>
> Convox makes it easy to deploy and manage your applications in the cloud. Built on Docker and Kubernetes, Convox provides a complete solution for local development, CI/CD, and autoscaling

![image](https://canada1.discourse-cdn.com/flex029/uploads/convox1/original/1X/8d4792e49765c7a7efcdf6139876d00453a4e37c.png)

---

<div class="post-metadata">

**Author:** ![alon](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.convox.com/alon/32/49_2.png) [@alon](https://community.convox.com/u/alon)\
**Post date:** [September 23, 2021, 1:28am UTC](https://community.convox.com/t/tcp-udp-services-for-gen2/402/8 "2021-09-23T01:28:12Z")

</div>

@scott1 - did you ever find a way to do this?

---

<div class="post-metadata">

**Author:** ![alon](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.convox.com/alon/32/49_2.png) [@alon](https://community.convox.com/u/alon)\
**Post date:** [September 23, 2021, 1:29am UTC](https://community.convox.com/t/tcp-udp-services-for-gen2/402/9 "2021-09-23T01:29:03Z")

</div>

@eanderson did you ever find a solution, specifically for RabbitMQ?

---

<div class="post-metadata">

**Author:** ![eravelo](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.convox.com/eravelo/32/22_2.png) [@eravelo](https://community.convox.com/u/eravelo)\
**Post date:** [October 6, 2021, 2:33pm UTC](https://community.convox.com/t/tcp-udp-services-for-gen2/402/10 "2021-10-06T14:33:21Z")

</div>

Just for curiosity: what are the main reasons why people don’t move from Rack gen2 to Rack gen3 yet?

---

<div class="post-metadata">

**Author:** ![scott1](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.convox.com/scott1/32/131_2.png) [@scott1](https://community.convox.com/u/scott1)\
**Post date:** [October 6, 2021, 9:17pm UTC](https://community.convox.com/t/tcp-udp-services-for-gen2/402/11 "2021-10-06T21:17:36Z")

</div>

@eravelo

1. Price. Gen 3 has 3 NLB which add up.
2. Metrics. With Gen 2, I can see the metrics at the load balancer in AWS, so I can see if AWS is sending back 50x before they even reach my app server. NLB don’t provide the same metrics. Instead, I have to hook up Datadog which is an added cost.
3. No subdomain wildcard support

@alon Sadly, I never figured it out. I wish I could!
