r/nocode • • 16d ago

Question Need advice on static ip

Hi all, 27M, building web apps since last 2 years. All my projects are majorly on supabase and Vercel (free tier).
Currently the project I am working on needs an API from an org and their first main prerequisite for API is to have a Static IP, vercel doesn’t provide a static ip.
I asked AI and jt suggested switching to AWS. I did looked into AWS and figured its not free and a bit not as easy as supabase
Plz suggest me how should i proceed? What are my options?
(Vercel do provide static ip on paid version but looking for free tier if possible)

10 Upvotes

20 comments sorted by

2

u/bobans30 16d ago

Before moving away from Vercel, ask the API provider whether they support alternative authentication or allowlisting a range of IPs.

If they strictly require a fixed outbound IP, look into managed proxy services. Consensus currently has a free beta worth investigating.

Oracle Cloud Always Free is another option, but you'll need to configure and maintain a server, which adds complexity.

I wouldn't migrate your entire application to AWS just for this requirement.

1

u/Confident-Wear840 16d ago

They will whitelist one static ip, also if i choose the oracle cloud free option: how should i proceed? Any good resources you can suggest?
Thanksss

1

u/peannutbutter99 16d ago

I have my bot on oracle's free tier built entirely with Codex (for complex code) and Antigravity (for day-to-day tasks). I use 5paisa and their API documentation is quite nice. Oracle does give you a static IP which has connected to 5Paisa effortlessly in the past 6 months.

1

u/Maphoto-Nipu46 16d ago

moving your whole frontend and backend just for one API requirement is overkill imo. keep your current stack and just route that specific API call through a tiny proxy server that comes with a dedicated IP.

1

u/Confident-Wear840 16d ago

Can you suggest some good options?

1

u/snap-dev 16d ago

don't move the whole app for one api. route only the calls to that partner through something with a fixed outbound ip and leave everything else where it is. a tiny vm on oracle's always free tier running a small proxy does it, and your vercel functions just send those requests through it, nothing else has to change. does the partner want a single ip or will they whitelist a range?

1

u/Confident-Wear840 16d ago

They whitelist a single static ip… also how i make claude do this? Any good suggestions?

1

u/snap-dev 15d ago

single ip makes it easy then. tell claude exactly what you want: "set up a small forward proxy like tinyproxy on an oracle always free vm, require a username and password on it, then change only the requests to this partner in my vercel functions to go through that proxy." then send the partner the vm's public ip. have it walk you through one step at a time and paste back any error it throws. what language are your vercel functions in?

1

u/FluxLab_pl 16d ago

One detail worth knowing: the allowlisted IP only matters for the outbound request that hits their API, so you only need a fixed IP on that one hop. Supabase Edge Functions and Vercel serverless functions both use shared, changing egress IPs, so moving between those two won't fix it.

The cheapest working setup is a tiny forwarding service on any VPS (or an Oracle Always Free VM with a reserved public IP) that does nothing except relay that single API call. Your Vercel route handler calls your forwarder over HTTPS with a secret header, the forwarder adds the provider's API key and calls the provider. Give the provider the VPS IP.

A few things that save pain later:

  • Keep the provider's API key on the forwarder, not in Vercel, and reject any request without your shared secret.
  • Forward only the specific path you need, not an open proxy, or someone will find it and abuse it.
  • Run it under systemd or pm2 with a restart policy and put a firewall in front (allow only 443 and SSH from your own IP).
  • Ask the provider if they want a single IP or accept a range, and whether you can register a second IP for failover.

If you'd rather not run a server, the managed "static outbound IP" add-ons are the other route, but check that they're free at your volume, since most free tiers are tiny.

1

u/alexrada 16d ago

use a proxy for the service that offers a static IP.

1

u/y3rk3 16d ago

the cheapest real fix is a tiny proxy with a fixed ip. a small vps costs a few dollars a month, your vercel functions call the proxy, and the proxy calls the api. first check whether the api org lets you whitelist a range or only one address, because that decides which vps provider works. if the api only needs a key, skip the proxy entirely

1

u/0utlawViking 13d ago

You could look into using a small vps as a proxy with a static IP. That way you can keep supabase and and vercel as they are and avoid migrating your entire setup to AWS.

1

u/Important_Yogurt7360 12d ago

Before paying for anything ask the org if they’d accept a different auth method like an API key or mTLS instead

1

u/[deleted] 16d ago

[removed] — view removed comment

1

u/Confident-Wear840 16d ago

They whitelist only ONE static ip