How to install boto3 in Windows on cloud environment

Introduction

The boto3 library for Python can be used to list and download items from a specified S3 bucket or from the EODATA repository. In this article, you will install boto3 on a Windows system.

Step 1: Ensure that Python 3 is preinstalled

On a desktop Windows system

To run boto3, you need to have Python installed.

If you are running Windows on a desktop computer, the first step of this article shows how to install Python: How to install OpenStackClient GitBash for Windows on cloud environment.

On a virtual machine running in cloud environment cloud

Virtual machines created in the cloud environment cloud usually have Python 3 already preinstalled.

If you want to create your own Windows VM, two steps are involved:

  1. Log in to your cloud environment hosting account with access to the Horizon interface: https://horizon.cloudferro.com/auth/login/?next=/.

  2. Use an existing Windows instance or create a new one.

For more information, see Connecting to a Windows VM via RDP through a Linux Bastion Host port forwarding on cloud environment.

Step 2: Install boto3 on Windows

To install boto3 on Windows:

  1. Log in as administrator.

  2. Click the Windows icon in the bottom-left corner of your desktop.

  3. Find Command Prompt by entering cmd.

../../_images/ecis_boto11.png

Verify that you have an up-to-date Python installation:

python -V
../../_images/ecis_boto21.png

Install boto3 with the following command:

pip install boto3
../../_images/ecis_boto31.png

Verify the installation:

pip show boto3
../../_images/ecis_boto41.png

What to do next

With the boto3 library, you can download and list satellite images from buckets or from the EODATA repository.

  • /eodata/How-to-access-EODATA-using-boto3-on-Eumetsat-Elasticity

You can also run larger processing workflows on a SLURM cluster.

  • /cuttingedge/Sample-Workflow-Running-EO-Processing-MPI-jobs-on-a-SLURM-cluster-on-Eumetsat-Elasticity-Cloud