Opened 8 years ago

Closed 8 years ago

#3606 closed task (fixed)

Experiment with change-my-IP interface

Reported by: runa Owned by: runa
Priority: Medium Milestone:
Component: Archived/Tor Cloud Version:
Severity: Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

From an email between Roger, Karsten and me;

We should perform experiments on cloud providers, e.g., using the change-my-IP interface. Does it work? What does it cost? Are there other interesting issues with it?

Child Tickets

Change History (4)

comment:1 Changed 8 years ago by arma

Another question might be: what sort of diversity do we get in the IP addresses? When you ask for a new IP address do you get one on the same /24 as the last one? Or is it in a totally different /8?

comment:2 Changed 8 years ago by runa

Amazon EC2 public IP ranges
New IP ranges for Amazon EC2 are added all the time (I don't know if they ever remove a range). Below is a list of available IP ranges as of 2011/04/21 (source can be found here):

US East (Northern Virginia):

216.182.224.0/20
72.44.32.0/19
67.202.0.0/18
75.101.128.0/17
174.129.0.0/16
204.236.192.0/18
184.73.0.0/16
184.72.128.0/17
184.72.64.0/18
50.16.0.0/15
50.19.0.0/16

After booting my instance for the first time, I was assigned 107.20.61.253. I don't know what the full range is, though, but it seems that at least one new range was added after 2011/04/21.

US West (Northern California):

204.236.128.0/18
184.72.0.0/18
50.18.0.0/17

EU (Ireland):

79.125.0.0/17
46.51.128.0/18
46.51.192.0/20
46.137.0.0/17 

Asia Pacific (Singapore):

175.41.128.0/18
122.248.192.0/18 

Asia Pacific (Tokyo):

175.41.192.0/18

Getting a new IP address
Amazon EC2 instances are automatically assigned an IP address at launch time. This means that you get a new IP address whenever you launch a new instance, or restart an instance that's already running (using stop and start in the menu). If you reboot the instance, the IP address stays the same. There is no button in the EC2 interface that says "give me a new IP address, please". As far as I know, the only way to get a new IP assigned to an instance is to stop and start it again.

The micro instance for Amazon EC2 is the cheapest instance type to get, probably because it doesn't have proper storage. In addition, any data on the ephemeral storage of a micro instance will be lost when the instance is stopped. This includes any data created or generated by Tor since the process started. Using a small instance, which has proper storage, will cost a lot more per month (and then you'll have the costs of running a bridge on top of it all).

comment:3 in reply to:  2 Changed 8 years ago by runa

Replying to runa:

The micro instance for Amazon EC2 is the cheapest instance type to get, probably because it doesn't have proper storage. In addition, any data on the ephemeral storage of a micro instance will be lost when the instance is stopped. This includes any data created or generated by Tor since the process started. Using a small instance, which has proper storage, will cost a lot more per month (and then you'll have the costs of running a bridge on top of it all).

I take that back. Tor will do just fine. You will need to restart Tor after stopping and starting the EC2 instance, but the torrc file, log file and everything else will still be on there.

comment:4 Changed 8 years ago by runa

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.