Networking [SOLVED]: Configure single, external IP address for outbound traffic in GCP

Networking [SOLVED]: Configure single, external IP address for outbound traffic in GCP

Home Forums Networking Networking [SOLVED]: Configure single, external IP address for outbound traffic in GCP

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #35841

    Anonymous

    QuestionQuestion

    Is there a way in GCP to have a single, external IP address for OUTBOUND traffic?
    I have to provide a static IP to a 3rd party API service so they can allow access to it and let my instances be able to access their API.

    In the future I will configure autoscaling to add or subtract instances based on specific rules and I want all these instances communicate with 3rd party API using the same static IP.

    I searched the web and I found someone that suggest to use a NAT gateway on GCE but this will create a single point of failure.
    Can anyone help me?
    Thanks a lot!

    #35842

    Anonymous

    Accepted AnswerAnswer

    The three approaches I can suggest are the following:

    • Ask the 3rd party for better authentication mechanisms than IP addresses.
    • Create 3 separate NAT gateways in 3 different GCE regions, each with their own static IP address. Get all 3 static IP addresses whitelisted with 3rd party. Have each of the NAT gateways health check connectivity to 3rd party and in case the active NAT gateway lose connectivity to 3rd party but another NAT gateway still has connectivity – automatically change which NAT gateway is active.
    • Contact GCE Support for advice.

    Source: https://serverfault.com/questions/887329/configure-single-external-ip-address-for-outbound-traffic-in-gcp
    Author: kasperd
    Creative Commons License
    This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.