Use of AWS (Amazon Web Services) to Build Lightmass
So I am attempting to use an EC2 instance on Amazon Web Services to add some processing power to my LightMass builds. This was referenced here, among other places. Like the OP on that page, I have the issue that my local machine doesn't have the chops to actually do the lighting build I'm trying to run by itself (I left it running all day and after 8 hours it had not even completely built the scene and had not even started on the actual lighting). To be fair, I am building an 8km² densely foliated and highly detailed outdoor level.
I was able to set up an EC2 instance, move the DotNET folder over and run SwarmAgent on the server. I was also able to get the SwarmAgent instances on both my local and the remote machine to show up in the coordinator. I made sure both machines were in the same group, and both had "*" for the allowed remote agents name.
However, when I kick off a light build ONLY the local agent was used. This was true even when I set "avoid local execution" to True and ran the remote agent on an instance that had significantly more processors and memory than my local machine.
To make sure it wasn't merely impatience, I started a new project with a smaller level thinking that perhaps it was just that if it had time to do the full export to Swarm it might use the remote machine; however even in this case the light build used ONLY my local machine. I had swarm coordinator running on my local machine and swarm agent running on both machines when I kicked off the build.
Both machines can ping eachother and both machines have ports 8008 and 8009 open to both TCP and UDP traffic. At one point I even had both machines connected by OpenVPN and able to ping eachother by hostname.
So this leaves me with several questions I need answered.
First, it was mentioned in another thread on lightmass that you can break up your lighting builds into smaller chunks. How would I do that?
Second, how do I get the AWS cloud servers to participate in the lightmass build? What files does the remote machine NEED to run the build?
What determines whether or not a remote agent participates in a lightmass build?
Follow this question
Once you sign in you will be able to subscribe for any updates here