What IP Addresses Does Pipedream Call From When Accessing an API?

This topic was automatically generated from Slack. You can find the original thread here.

Hello!
I am calling from Pipedream to an own API and I need to know from which IPs can Pipedream call to my API to add it in the security groups and that my api accepts requests from pipedream.

Do any of you know them? Thanks!

Hello , you can refer to this doc for Pipedream IP range here.

Here’s another doc for IP range of HTTP requests

I pasted the important part below:


By default, any network request (e.g. an HTTP request or a connection to a database) you make from Pipedream will originate from the us-east-1 region of AWS. AWS publishes the IP address range
(opens new window)
for all regions


When you make an HTTP request using $.send.http(), the traffic will come from one of the following IP addresses:

3.208.254.105
3.212.246.173
3.223.179.131
3.227.157.189
3.232.105.55
3.234.187.126
18.235.13.182
34.225.84.31
52.2.233.8
52.23.40.208
52.202.86.9
52.207.145.190
54.86.100.50
54.88.18.81
54.161.28.250
107.22.76.172

Thank you very much, you have been a great help!

I did some more tests, and it seems two out of three of the IP addresses are not in the ranges that belong to any of the services from AWS:

b'{"addr":"3.236.50.58","ua":"python-requests/2.27.1","ts":1712064992219}'
b'{"addr":"3.236.149.16","ua":"python-requests/2.27.1","ts":1712069582951}'

The one that belongs to the ranges was the following:

b'{"addr":"54.82.153.147","ua":"python-requests/2.27.1","ts":1712070281880}'

When doing a WHOIS on all IPs, all belong to Amazon, obviously. They just aren’t on the list provided by Amazon. Weird…

Hi.

I just tested my external IP from a Python code task using the web service https://whatsmyip.dev/api/ip.

my code

import requests

def handler(pd: "pipedream"):
    response = requests.get("https://whatsmyip.dev/api/ip")
    print(response.content)

results in

b'{"addr":"3.238.98.236","ua":"python-requests/2.27.1","ts":1712064062585}'

Unfortunately, this IP doesn’t exist in the list from AWS, which I just downloaded. The first range is 3.238.166.0/24, and the last is 3.238.216.128/25.

In addition, this IP does not seem to be on the list of IPs mentioned in relation to HTTP requests.

Therefore, the question remains, what are the external IP addresses for such requests?

Hi Stefan, are you trying to add specific IPs to an allow-list? If you need to know the IPs that your workflow will be using to make requests, you can configure a VPC, and we’re also about to roll out support for static IPs for database connections for MySQL, PostgreSQL, and Snowflake.

Hi @danny . Thank you for your reply. I also figured out that upgrading the plan to have a VPC is probably the best option. I just need to find the money to do that :sweat_smile: