Prerequisites
To complete this tutorial, you need the following:
-
An Amazon Web Services account. If you don't have one, see Set up an Amazon Web Services account.
-
An Amazon Identity and Access Management (IAM) user with administrator permissions.
-
A Greengrass core device with an internet connection. For more information about how to set up a core device, see Setting up Amazon IoT Greengrass core devices.
-
Python
3.6 or later installed for all users on the core device and added to the PATH
environment variable. On Windows, you must also have the Python Launcher for Windows installed for all users.Important
In Windows, Python doesn't install for all users by default. When you install Python, you must customize the installation to configure it for the Amazon IoT Greengrass Core software to run Python scripts. For example, if you use the graphical Python installer, do the following:
-
Select Install launcher for all users (recommended).
-
Choose Customize installation.
-
Choose Next.
-
Select Install for all users.
-
Select Add Python to environment variables.
-
Choose Install.
For more information, see Using Python on Windows
in the Python 3 documentation. -
-
-
A Windows, macOS, or Unix-like development computer with an internet connection.
-
Python
3.6 or later installed on your development computer. -
Git
installed on your development computer. -
Amazon Command Line Interface (Amazon CLI) installed and configured with credentials on your development computer. For more information, see Installing, updating, and uninstalling the Amazon CLI and Configuring the Amazon CLI in the Amazon Command Line Interface User Guide.
Note
If you use a Raspberry Pi or another 32-bit ARM device, install Amazon CLI V1. Amazon CLI V2 isn't available for 32-bit ARM devices. For more information, see Installing, updating, and uninstalling the Amazon CLI version 1.
-