Skip to content

ajvb/InstaTorCloud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#InstaTorCloud

Launch a Tor Bridge running on an EC2 instance in a single command.

####Make sure to check out https://cloud.torproject.org

To run with the defaults,

python instatorcloud.py --access-key-id <ACCESS-KEY-ID> --secret-access-key <SECRET-ACCESS-KEY>

is all that is necessary.

This will create a Normal Bridge on a t1.micro instance type in the east-1 (Virginia) region, and will create (or use) a keypair and security-group, both called tor-cloud-server.


If you change the security group or the keypair to use, InstaTorCloud will check to see if it exists, and if it does not, it will create it for you.

python instatorcloud.py --access-key-id <ACCESS-KEY-ID> --secret-access-key <SECRET-ACCESS-KEY> --security-group 
mytorbridges --keypair ~/.ssh/mytorbridges

You can also change what region your bridge will be in, whether it will be a private or a normal bridge, and what instance type it will be on.

python instatorcloud.py --access-key-id <ACCESS-KEY-ID> --secret-access-key <SECRET-ACCESS-KEY> --eu-west-1 --private 
--medium

And if you want, you can add it all together and even throw in a script to run once the instance has started. (Refered to as 'user_data').

python instatorcloud.py --access-key-id <ACCESS-KEY-ID> --secret-access-key <SECRET-ACCESS-KEY> --security-group 
mytorbridges --keypair ~/.ssh/mytorbridges --eu-west-1 --private --medium --user-data myscript.sh

In full, the above command will create a Private bridge on a m1.medium instance type in the eu-west-1 (Ireland) region, use (or create) a key pair called mytorbridges in ~/.ssh, use (or create) a security group called mytorbridges, and run a shell script called myscript.sh once the instance has been successfully launched.

About

Launch a Tor Bridge on an EC2 Instance in a single command.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages