It is possible to run Pix4Dmapper on Amazon EC2 services to process images, as well as to use the rayCloud to edit and improve the results.
The processing can be performed on any EC2 instances type. However, CUDA processing and rayCloud visualization/editing can only be performed with GPU EC2 instances. As GPU instances are twice as expensive as compute instances, a possible solution is to perform the processing on a compute instance, save the results on EBS/S3, and load the project on a GPU instance.
Processing (any instances):
Pix4Dmapper can run on most Windows EC2 instances, but we recommend using instances optimized for computing such as c4.4xlarge or c4.8xlarge that provide sufficient CPU and RAM. Everything is available as on the desktop computer (processing, Map View, Mosaic Editor, Index Calculator), except the rayCloud 3D interface and CUDA computing that require a GPU instance (see below).
Instructions to run Pix4Dmapper on EC2:
- Create an EC2 instance using the default Windows server AMI following tutorial.
- Connect to it through RDP (this is explained in the AMI tutorial above).
- To ease the downloading and installing of files, you might want to disable IE Enhanced Security, as per these instructions.
- Install Pix4Dmapper and start processing:
- A popup with error code e0094 (202561189) will appear and the rayCloud will not be able open: this is to be expected.
CUDA Processing & Visualizing (GPU instances):
There are currently two GPU instances: g2.2xlarge and g2.8xlarge. The first one has limited CPU power and is not recommended for heavy processing, only for visualization. The second one is nearly as powerful as the fastest compute instance, but is also twice as expensive. The first one can be 2-4 times slower than the second one for most projects.
Instructions to run:
- Create a GPU EC2 instance, similarly to the instructions above. The instance type must have a GPU.
- Connect to this instance through the Remote Desktop Protocol.
- Install TeamViewer and configure unattended access according to the instructions found here.
- Install the NVIDIA drivers for the GPU. The model is GRID K520 and the drivers can be found here.
- Reboot the server. You can now login through Teamviewer instead of RDP.
- In the Windows Device Manager, disable and uninstall the default entries for the Display adapters. The associated files must be forcefully removed by running the following commands in the Windows Powershell
- takeown /f C:\Windows\System32\Drivers\BasicDisplay.sys
- echo Y | cacls C:\Windows\System32\Drivers\BasicDisplay.sys /G Administrator:F
- del C:\Windows\System32\Drivers\BasicDisplay.sys