-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Internal Load Balancer for egress #29
Comments
It goes through Cloud Nat by default.
There are a number of use cases for what people put behind the scaling group, so we leave that up to the end user. If it is useful though we could potentially add something in the future as an example. The following HA Active Passive uses egress through the FortiGates, but with no internal Load balancer, but it should give an idea of what the setup for egress looks like. https://github.com/fortinet/fortigate-terraform-deploy/tree/main/gcp/7.0/ha |
Hi @Joel-Cripps, thanks for the response. Looking at the terraform for the ha multi-zone configuration and the docs here the HA setup appears to be very different to this autoscaling config. I'm sure you know this better than me, but the HA configuration has one active host backed by a secondary when the primary is unavailable. Then there's some trickery to switch the backend route next hop when the primary changes. This autoscaling implementation shouldn't have this concept? All servers behind the LB should be available for use. So I was expecting really only one solution for egress via the fortigate hosts - another LB, this time internal, attached to the same managed instance group. This would then become the next hope reference for outgoing traffic. Are there other options for this set up? Thanks. |
Yes you are correct. In an A-P cluster there is an SDN connector which changes the routes/floating IP. They are very different setups. The point is that one has some instructions on getting egress from instances back through your FortiGates. In the case of GCP autoscaling you can do egress through a cloud nat, a single node or back through the cluster via an internal LB. We have a task for someone on our team to add the egress through the autoscale group as part of the default terraform script. But probably that won't be ready for a couple of weeks. |
Thanks for the confirmation @Joel-Cripps. I look forward to the updated terraform with egress autoscale group. :) I've not tried an internal LB along with an external LB on the same managed instance group (MIG). Is that the plan for your implementation, or just to have a separate MIG with internal LB dedicated to egress? |
Hi @Joel-Cripps, any update on the implementation of the egress autoscale group? |
Everyone got waylaid before the holidays. Someone from our team will be looking into it now that everyone is back. |
This project comes with an internal load balancer definition, which initially I was expecting to cater for egress traffic originating from behind the firewall. But on further inspection appears to complete the ingress path in front of a receiving instance group.
What's the expected method for egress traffic through the firewall to the internet originating from the instance group when autoscaling?
The text was updated successfully, but these errors were encountered: