Follow this blog:
(AWS Compute Blog) Deploying a 4x4K, GPU-backed Linux desktop instance on AWS https://aws.amazon.com/blogs/compute/deploying-4k-gpu-backed-linux-desktop-instance-on-aws/
note: check for newer versions of the NVIDIA Grid drivers than what is in the blog.
Tips: Don't worry, installing CentOS 7 minimal will not have an additional cost in AWS (https://aws.amazon.com/marketplace/pp/B00O7WM7QW?qid=1528131387105&sr=0-1&ref_=srh_res_product_title#pdp-pricing)
As part of the installation instructions in the blog above, it mentions installing NICE DCV platform, which AWS provides for free. DCV is an accelerated remote desktop framework that provides in-web browser desktop connections. DCV is supported in both Windows and Linux (RHEL/CentOS).
Using NICE DCV involves installing it on the server (see the NICE DCV Desktop Admin Guide: https://docs.aws.amazon.com/dcv/latest/adminguide/dcv-ag.pdf), as well as connecting to it as the client (see the NICE DCV Desktop User Guide: https://docs.aws.amazon.com/dcv/latest/userguide/dcv-ug.pdf).
-For the NICE DCV Server software, install the Linux NICE DCV 2017.3 Server (EL7) software
-For the NICE DCV Client software, I recommend installing the NICE DCV 2017.3 Client software. After you install and launch the software, you will log in using the IP address of the AWS instance and the password. Then you will log into the OS by using the centos username and password.
Unfortunately the QGIS version is only 2.14
- Install a GUI Desktop
yum groupinstall "GNOME Desktop"
- Install QGIS+Python Support and supporting packages
yum install qgis qgis-python python-devel PyQt4-webkit proj-devel geos-devel sqlite-devel gcc
- Python Requirement: Python 2.7 comes standard in CentOS 7
- Install pip
wget https://bootstrap.pypa.io/get-pip.py
python get-pip.py
- Install pyspatialite (including /usr/include libraries)
CFLAGS=-I/usr/include pip install pyspatialite
source: https://gis.stackexchange.com/questions/121290/installing-qgis-on-centos-7
Followed these directions to build GDAL: https://trac.osgeo.org/gdal/wiki/BuildingOnUnix
configured with opencl
./configure --with-opencl=YES
after I set the LD_LIBRARY_PATH, the gdalinfo command showed GDAL as the latest version. However, using the 'watch nvidia-smi' command and a gdal command, OpenCL does not appear to be utilized.
sudo gdalwarp -t_srs EPSG:3395 -r lanczos -wo SOURCE_EXTRA=1000 -wo USE_OPENCL=TRUE nouakchott_test_R1C1.tif output/nouakchott_test_R1C1_3395_2.tif
user guide: http://download.asperasoft.com/download/docs/connect/2.3/aspera-connect-linux.html#installation
downloaded and installed Unigine Heaven: https://benchmark.unigine.com/heaven?lang=en
list sessions:
sudo dcv list-sessions
example of creating a new sessions:
sudo dcv create-session --type=console --owner centos session1
example of closing a session:
sudo dcv close-session session1