Add support to expose both in internal and external loadbalancer #3764
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What is the feature/update/fix?
Feature: Dual Load Balancer Support for Services
We've added the ability to expose services through both internal and external load balancers simultaneously. This new feature provides greater flexibility in service accessibility, allowing you to make a service available both within your VPC and to the public internet.
Previously, services could only be exposed through either an internal or external load balancer, but not both. This enhancement enables hybrid access patterns where certain services need to be accessible from both internal resources and external clients.
How to use it?
To enable dual load balancer access for a service, set the
internalAndExternalattribute totruein yourconvox.yml:Important Prerequisites:
Internalparameter set toYes:This is particularly useful for:
Does it have a breaking change?
There are no breaking changes introduced with this feature. Existing services will continue to work as before. The
internalAndExternalattribute is optional and defaults tofalsewhen not specified.Requirements
To use this feature, you must:
20250822114342Internalrack parameter set toYesYou can check your rack's version with the command
convox rack.Update your rack to the latest version with the command
convox rack update.