DEV Community

Cover image for Build a QGIS Environment on Amazon WorkSpaces

Build a QGIS Environment on Amazon WorkSpaces

img

I built a QGIS environment on Amazon WorkSpaces πŸŽ‰

QGIS is a cross-platform open-source GIS software that can browse, edit, and analyze geographic information systems. This time, we try to build a QGIS execution environment using the Windows environment of Amazon WorkSpaces πŸ‘

The following is a detailed explanation.

  • Windows environment construction
  • Building a remote connection environment and installing QGIS
  • Creating an Image
  • Rebuild Windows and QGIS environment from image

Windows environment construction

This is how to build a Windows environment in Amazon WorkSpaces.

Click AWS Management Console β†’ WorkSpaces.
img

Click "Start Now.”
img

Click "Start" under Fast Setup.
img

Select any OS (in this case, select Windows Server 2016) β†’ Set username, name, email address, and language β†’ Click "Start WorkSpaces."
img

Click on "Show WorkSpaces console."
img

When WorkSpaces is created, it will appear in the WorkSpaces list.
img

This is all you need to do to create a Windows environment on WorkSpaces!

Building a remote connection environment and installing QGIS

This is how to build a remote connection environment and install QGIS on Amazon WorkSpaces.

After WorkSpaces is successfully created, an email with login information will be sent to your registered address.
img

Access the address you received and set your login password β†’ Click "Update User."
img

Install the application for connection. You can also use a browser to access the site, but this time we will install the desktop application for Mac.
img

Launch the installed connection application.
img

Enter the registration code received by email β†’ Click "Register."
img

Enter your user name and password β†’ Click "Sign In."
img

Connect to the WorkSpaces Windows environment you created.
img

Download and install QGIS in the Windows environment.
img

You have successfully installed QGIS.
img

You have remotely connected to the Windows environment and installed QGIS! Next, I’ll show you how to create the image and rebuild the same environment.

Creating an Image

Here is how to create an image in Amazon WorkSpaces.

Select the target WorkSpaces β†’ Actions β†’ Click "Create Image."
img

Click "Next.”
img

Enter an image name and description β†’ Click "Create Image."
img

After creating the image, click on Actions β†’ Click "Create Bundle."
img

Set bundle name, description, hardware type, and storage β†’ Click "Create Bundle."
img

Confirm that the bundle has been created.
img

The creation of the image and bundle containing the QGIS environment is complete!

Rebuild Windows and QGIS environment from image

This is how to rebuild Windows and QGIS environment from an image in Amazon WorkSpaces.

Select the target bundle β†’ Click "Start WorkSpaces."
img

Select the target directory β†’ Click on "Next Steps."
img

Enter username, name, and email address β†’ Click on "Create User."
img

Confirm that the user has been created β†’ Click "Next Step."
img

Select the target bundle as it is β†’ Click "Next Step."
img

Select the execution mode β†’ Click "Next Step."
img

Click "Start WorkSpaces."
img

WorkSpaces will appear in the list of WorkSpaces when it is being created.
img

When you connect to the created WorkSpaces, you will see the Windows and QGIS environments as they appear in the image.
img

Creating an image also allows you to rebuild your Windows and QGIS environments!

Related Articles

References
Amazon WorkSpaces
QGIS

Discussion (0)