Skip to main content

Deploy proxy servers to cloud providers with ease

Project description

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cwhite_simple_proxy-0.2.0.tar.gz (21.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cwhite_simple_proxy-0.2.0-py3-none-any.whl (25.4 kB view details)

Uploaded Python 3

File details

Details for the file cwhite_simple_proxy-0.2.0.tar.gz.

File metadata

  • Download URL: cwhite_simple_proxy-0.2.0.tar.gz
  • Upload date:
  • Size: 21.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for cwhite_simple_proxy-0.2.0.tar.gz
Algorithm Hash digest
SHA256 415a7e2ca389ef76e803750c5ee202eef9dae8450efa3d1d793746af2ac2ae50
MD5 7cf328386324339a2af56e66e3c77bea
BLAKE2b-256 596b82597f4b9d850cb687e2144ed61aa94216dc31e2805df11efbc04035b8fb

See more details on using hashes here.

File details

Details for the file cwhite_simple_proxy-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for cwhite_simple_proxy-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dca986ecc26d41088d49461cc5c1068248cc4b148f5cd0dccb2e07396439b88e
MD5 c7145e8052a15164aef7e5689ec753ba
BLAKE2b-256 a45b83b8602e1b53c5fc017305b3bc1513ec992b30fa7d7661d665d3b614a8bd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page