EC2, Amleto and LightWave

Amazon’s EC2 service can be used as a LightWave renderfarm, simply and cost effectively. I will write up how it can be done, right now, just notes.

  • Elastic IP not needed.
  • Make sure instances have enough memory for the scene.
  • Amleto needs the master’s IP address UDP does not work
  • Add extra drive to basic instance to act as content drive
  • install Dropbox and VNC
  • When creating spot requests name them with the last bits of the IP address to better identify them (eg. 56.74.243.12 gets named 243.12)
  • The security group needs stuff opened up, but I want to close ports that aren’t needed down to minimize security risks
  • Terminate instances using spot requests and cancel the requests otherwise you pay
  • keep making AMIs as you refine your farm
  • Add Amleto Server and Client to Startup folder
  • Autologon for render nodes:Autologon

okay, so for a renderfarm you just need to install a LightWave trial edition on your first instance, which can be a t1.micro machine, it doesn’t need to be bigger (except you might needs an EBS hard drive). Install Amleto (the render controller), Dropbox and umm, that’s about it. Make an AMI from that setup and call it Farmer.

Then launch it again but this time load the Amleto client (and make sure it’s in Startup) and Dropbox and Mark Russinovich’s Autologon so that once you start those instances they begin rendering immediately.

Create an image of that setup and call it node and then you can request as many spot instances of that as you need and just view the Farmer computer and watch them come online and start rendering.

(Slightly updated 08.Jan.14 to make it a bit clearer)

The table below is based on 32/64-bit Windows machines and sorted on ECU, which is a measure of how rapid a node is. As you can see the t1.micro you will use as Farmer is not expensive to run a roughly 3 cents/hour. What you use for your nodes is up to you. The c machines are the ones designed for computing and I’ve highlighted a few good examples. Amazon updates the offerings quite regularly so this table will go out of date quite quickly I imagine.
  table.tableizer-table { border: 1px solid #CCC; font-family: Arial, Helvetica, sans-serif font-size: 12px; } .tableizer-table td { padding: 4px; margin: 3px; border: 1px solid #ccc; } .tableizer-table th { background-color: #104E8B; color: #FFF; font-weight: bold; }

vCPU ECU Memory (GiB) Instance Storage (GB) Windows Usage
t1.micro 1 Variable 0.615 EBS Only $0.035 per Hour
m1.small 1 1 1.7 1 x 160 $0.091 per Hour
m1.medium 1 2 3.75 1 x 410 $0.182 per Hour
c1.medium 2 5 1.7 1 x 350 $0.225 per Hour
c3.large 2 7 3.75 2 x 16 SSD $0.233 per Hour
m1.large 2 4 7.5 2 x 420 $0.364 per Hour
c3.xlarge 4 14 7.5 2 x 40 SSD $0.466 per Hour
m2.xlarge 2 6.5 17.1 1 x 420 $0.510 per Hour
m3.xlarge 4 13 15 2 x 40 SSD $0.702 per Hour
m1.xlarge 4 8 15 4 x 420 $0.728 per Hour
g2.2xlarge 8 26 15 60 SSD $0.767 per Hour
c1.xlarge 8 20 7 4 x 420 $0.900 per Hour
c3.2xlarge 8 28 15 2 x 80 SSD $0.932 per Hour
i2.xlarge 4 14 30.5 1 x 800 SSD $0.973 per Hour
m2.2xlarge 4 13 34.2 1 x 850 $1.020 per Hour
m3.2xlarge 8 26 30 2 x 80 SSD $1.404 per Hour
c3.4xlarge 16 55 30 2 x 160 SSD $1.864 per Hour
i2.2xlarge 8 27 61 2 x 800 SSD $1.946 per Hour
m2.4xlarge 8 26 68.4 2 x 840 $2.040 per Hour
cg1.4xlarge 16 33.5 22.5 2 x 840 $2.600 per Hour
cc2.8xlarge 32 88 60.5 4 x 840 $2.970 per Hour
hi1.4xlarge 16 35 60.5 2 x 1024 SSD $3.580 per Hour
c3.8xlarge 32 108 60 2 x 320 SSD $3.728 per Hour
cr1.8xlarge 32 88 244 2 x 120 SSD $3.831 per Hour
i2.4xlarge 16 53 122 4 x 800 SSD $3.891 per Hour
hs1.8xlarge 16 35 117 24 x 2048 $4.931 per Hour
i2.8xlarge 32 104 244 8 x 800 SSD $7.782 per Hour

Discover more from Ben Vost

Subscribe to get the latest posts sent to your email.

Published by Ben Vost

Un britannique qui a fait de la France sa terre d'adoption. Je donne des cours d'anglais, je traduis des textes en anglais. Je réalise sur mesure le montage et l'assemblage complet d'un ordinateur.

Leave a Reply

Discover more from Ben Vost

Subscribe now to keep reading and get access to the full archive.

Continue reading