Simple Proxy
Most proxy services limit your concurrency to ~80 connections, and either charge you per-ip or per-traffic, both of which are wildly expensive for short-lived, bandwidth intensive jobs.
Simple proxy allows you to pay at-cost for datacenter proxies on your own cloud account.
Pricing Example
1TB download, 1 hour, 1000 IPs
Pay-per-ip pricing: $750 (source)
Pay-per-traffic pricing: $460 (source)
Simple Proxy: $15 ($0.015/hr x 1000, 3TB of bandwidth included for 1 hour)
The advantage here is that you wanted to fan out massively for a short period of time and suck down a ton of data. Off-the-shelf proxy solutions simply don't accomodate this.
Usage
$ python3 -m cwhite-simple-proxy --count 3 --region us-east-1 --provider aws_fargate --username default --password MY_PASSWORD
After you're done,
$ python3 -m cwhite-simple-proxy cleanup --provider aws_fargate --region us-east-1
Testing
There is a short test script to ensure your proxy is both working and sending requests from a different ip than your own. You can run this test with:
$ pytest
Note that you must first set the value of your remote server in .test.env (see the template provided in this repository).
Notes
Vultr VKE
I use the nodetype vc2-1c-2gb, however there are a few node types cheaper than that, such as vc2-1c-1gb, or the ipv6 limited vc2-1c-0.5gb-v6. The problem is that these two node types are not supported in VKE (to my knowledge). Supporting them would require writing a provider that provisions the machines with the simpleproxy docker container (or just run it bare metal). This is doable, but requires extra effort. Feel free to open a PR for this and add cost savings of $0.008/hr/server (which works out to ~$8/hr if you are running 1000 machines)
Release files for cwhite-simple-proxy 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cwhite_simple_proxy-0.2.0.tar.gz | 21.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cwhite_simple_proxy-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 46.7 kB
Release files / cwhite_simple_proxy-0.2.0.tar.gz
| Download URL | cwhite_simple_proxy-0.2.0.tar.gz |
|---|---|
| Size | 21.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
415a7e2ca389ef76e803750c5ee202eef9dae8450efa3d1d793746af2ac2ae50
|
|
BLAKE2b-256 checksum How to use checksums |
596b82597f4b9d850cb687e2144ed61aa94216dc31e2805df11efbc04035b8fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Release files / cwhite_simple_proxy-0.2.0-py3-none-any.whl
| Download URL | cwhite_simple_proxy-0.2.0-py3-none-any.whl |
|---|---|
| Size | 25.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dca986ecc26d41088d49461cc5c1068248cc4b148f5cd0dccb2e07396439b88e
|
|
BLAKE2b-256 checksum How to use checksums |
a45b83b8602e1b53c5fc017305b3bc1513ec992b30fa7d7661d665d3b614a8bd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|