Skip to content

Reserve and use a static IP address for the load balancer#21

Merged
emlys merged 1 commit intomainfrom
feature/12
Mar 3, 2026
Merged

Reserve and use a static IP address for the load balancer#21
emlys merged 1 commit intomainfrom
feature/12

Conversation

@emlys
Copy link
Copy Markdown
Member

@emlys emlys commented Mar 3, 2026

Adding the terraform config for the static IP address.

@emlys emlys requested a review from phargogh March 3, 2026 20:06
@emlys emlys self-assigned this Mar 3, 2026
@phargogh
Copy link
Copy Markdown
Member

phargogh commented Mar 3, 2026

Interesting! So we don't actually define the static IP in the terraform code, we just state that one exists?

@emlys
Copy link
Copy Markdown
Member Author

emlys commented Mar 3, 2026

Yeah, it's not super intuitive but I followed this documentation: https://docs.cloud.google.com/vpc/docs/reserve-static-external-ip-address

It just assigns an IP from google's pool to the "static IP address" resource with the given name. And keeps that IP reserved unless you choose to release it. You can also bring your own IP, if you already have one reserved from a different provider.

@emlys emlys merged commit 29f37e1 into main Mar 3, 2026
2 checks passed
@emlys emlys deleted the feature/12 branch March 4, 2026 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants