Category Archives: QGIS

Using QGIS on AWS WorkSpaces

Klarna signs deal with AWS | FinTech Alliance

Amazon WorkSpaces are essentially a managed virtual machine (they use the term Desktop-as-a-Service). You can choose Windows or Linux, and they appear to be doing a free offer at the moment.

AWS (Amazon Web Services) are a great tool, and very powerful and flexible, but sometimes a bit intimidating. Their help is very good, and they offer tutorials and step-by-step guides which are really useful.

I used WorkSpaces as a option for people to use QGIS on a course, but who couldn’t install QGIS on their own machine. I’ve had this issues a couple of times, sometimes because they don’t have admin rights, sometimes because the computer just doesn’t like it.

They have an ‘easy-setup’ available in some regions, and I used Europe (Ireland). Europe (London) doesn’t have this option, unfortunately. I started with a ‘Standard with Windows 10’ which has 2 vCPU, 4 GiB RAM, 80GB Root volume and 50 GB User volume (disk space). I logged into this, and installed QGIS (v 3.12). You can then create an ‘Image’ of this, which AWS then wants you to put into a bundle. The key bit is then you can launch this Bundle as many times as you want – whether it is for one user or 20 users!

After a bit of experimenting with the Standard image (2 vCPU, 4 GiB RAM) it didn’t really have enough welly for QGIS, so I upgraded it to ‘Performance’ which has 2 vCPU and 7.5 GiB RAM, which worked much more effectivley.

The user can download an app (Windows / OSX / Linux) to run their WorkSpace, or run it through the browser, which is what my participant did. It worked well, although juggling the Zoom window and the browser window took a bit of practice I think.

Cost wise, the Performance option is costed by AWS at $8/month + $0.53/hour. I’ve always found with AWS I’m not 100% sure exactly what they will charge until I get the bill at the end of the month (as this is all + VAT as well). For 1 participant using the WorkSpace for a one day course cost be about $20 (£16).

Any comments or questions are welcome. Good luck and let me know how you get on using AWS WorkSpaces!

Cross-posted from
https://www.geospatialtrainingsolutions.co.uk/using-qgis-on-aws-workspaces/ .