<p>You can find the IP addresses of the Travis build machines <a href="https://docs.travis-ci.com/user/ip-addresses/" rel="nofollow noreferrer">here</a>. If you add the IP addresses of the Travis infrastructure you use to your whitelisted IPs in Cloud SQL it should work. Keep in mind these IP addresses can change in the future though.</p>

CC BY-SA 4.0
2018-11-07T09:55:04.090Z
2018-11-07T09:55:04.090Z
user2877036
<p>I'm having trouble working out how exactly I can whitelist my TravisCI runner for testing a python adaptor talking to a Google Cloud SQL service. The Cloud SQL will only accept connections from IPs that have been whitelisted ahead of time, though I'm not sure how reserve one from Travis (if such a thing is even possible). How should I go about this?</p>

<google-cloud-platform><travis-ci>
Whitelist Travis CI to Google Cloud SQL
Madden
# Whitelist Travis CI to Google Cloud SQL

(Asked by: username_0 on 2018-04-21)

I'm having trouble working out how exactly I can whitelist my TravisCI runner for testing a python adaptor talking to a Google Cloud SQL service. The Cloud SQL will only accept connections from IPs that have been whitelisted ahead of time, though I'm not sure how reserve one from Travis (if such a thing is even possible). How should I go about this?

**Tags:** google-cloud-platform, travis-ci


---

## 1 answers

### Answer by username_1 on 2018-11-07. Score: 2

You can find the IP addresses of the Travis build machines [here](https://docs.travis-ci.com/user/ip-addresses/). If you add the IP addresses of the Travis infrastructure you use to your whitelisted IPs in Cloud SQL it should work. Keep in mind these IP addresses can change in the future though.


---

