Google Cloud accessing API behind Cloudflare

I created a VM instance at East-4 (Ashburn, Northern Virginia, USA) calling APIs.
When I tried:

curl -s, it shows


shows that I am using ATL, instead of IAD.
How could I resolve this?

You would have to contact your ISP. They determine routing to Cloudflare networks.


What is the ping? GCloud peers with CF, so ping is probably <5ms (even to ATL).

1 Like

Just spun my own instance and the ping is ~15ms, not great compared to Akamai:

$ ping
PING ( 56(84) bytes of data.
64 bytes from ( icmp_seq=1 ttl=56 time=1.11 ms
64 bytes from ( icmp_seq=2 ttl=56 time=0.774 ms

$ ping
PING ( 56(84) bytes of data.
64 bytes from icmp_seq=1 ttl=53 time=15.5 ms
64 bytes from icmp_seq=2 ttl=53 time=14.9 ms

See the list of DCs on here:

It might not be peered, or the routing to ATL is backfiring.

I am getting real-time data and from the site, and connecting to IAD would minimize the latency between the data source and Cloudflare as well(Stated by the data provider).

@cheelongchow See the following article for how CF chooses datacenters (or rather, how they can’t directly affect how ‘fast’ or optimized routing is without peering)

This is an issue with the routes between CF and Google, and there’s not much that Cloudflare can do to improve this. 15ms is a reasonable amount of latency for non-peered connections.

It should be interconnected/peered at Ashburn, US, which is IAD I believe.

According to Cloudflare + Google Cloud Platform | Cloud Services

This topic was automatically closed after 31 days. New replies are no longer allowed.