<div dir="ltr">Let me say upfront, I'm still pretty new to OSM...<br><br>I have seen in the wiki a couple of shots at coming up with an alternative to the current way of rendering (particularly the mapnik slippy map).<br>
I was wondering if Amazon's web services with EC2 (elastic computing cloud) and S3 (Simple Storage Service) and possibly the Amazon SimpleDB.<br><br>AWS page here: <span class="a"><b>www.aws</b>.<b>amazon</b>.com</span><br>
<br>I have just started playing around with these web services for my personal use and it basically works like this:<br><br>You create an Amazon Machine Image (AMI) that defines a virtual EC2 environment for you. This AMI is uploaded to S3 where it takes off and is running.<br>
<br>They have prebuilt AMIs or you can create your own. From what I understand this can be completely automated. Among the pre built images are<br>images designed to be your own personal "cloud" so one image delegates tasks to others.<br>
<br>AMIs can also be defined to have certain specs, designed for different tasks. So there could be an instance designed specifically for serving the slippy maps.<br>Or there could be AMIs desgiend specifically for rendering. Since you can dynamically create and destroy AMIs and it is scriptable, you only pay per hour for what is used.<br>
I understand that in general it is cost effective. (I only pay slightly more for my personal use, and it's overkill for what I am doing)<br><br>So every time there needs to be a rerender done an compute intensive cloud could be created. Specs just below<br>
"""<br><ul>$0.80 - High-CPU Extra Large Instance
<ul>7 GB of memory, 20 EC2 Compute Units (8 virtual cores with 2.5 EC2
Compute Units each), 1690 GB of instance storage, 64-bit platform</ul></ul>
<p>Pricing is per instance-hour consumed for each instance type. Partial instance-hours consumed are billed as full hours.</p>
<p><em>EC2 Compute Unit (ECU)</em> - One EC2 Compute Unit (ECU) provides the equivalent CPU capacity of a 1.0-1.2 GHz 2007 Opteron or 2007 Xeon processor. See <a href="http://www.amazon.com/Instances-EC2-AWS/b/ref=sc_fe_c_0_201590011_2?ie=UTF8&node=370375011&no=201590011&me=A36L942TSJ2AJA">Amazon EC2 Instance Types</a> for details on available instance configurations and a complete description of an EC2 Compute Unit.</p>
"""<br>I don't know details about the current rendering environment for mapnik tiles, but I think that instance sounds pretty beefy, and if you can run say 5 at once, with a load distributing instance the rendering time could potentially be cut down to an hour at a cost of $4 (Prices are in USD) per rendering session. That's $200/year just for rendering the mapnik slippy maps at the current rate (once per week).<br>
<br>Someone with more detailed knowledge of server load can use the below calculator to come up with a fairly accurate estimate of what it would cost to run OSM off of Amazon compared to what it currently costs (I can't find any details about that)...<br>
<br><a href="http://calculator.s3.amazonaws.com/calc5.html">http://calculator.s3.amazonaws.com/calc5.html</a> <-- AWS calculator.<br><br><br>I might just be crazy, but clouds just fascinate me... We could also potentially work a deal with Amazon to be highlighted in one of their case studies or featured solutions to gain more press.<br>
-Nathan<br></div>