Deploying the backend in your AWS account
AWS IoT Greengrass requires several policies and other constructs to be created in your account before you can attach devices to it. This section will walk you through using a set of AWS CloudFormation templates to automate the creation of these backend components.
Recommendation – use Linux or install WSL2
All command-line operations shown are for a Linux-based operating system. If you are a Windows user, it is recommended you install Windows Subsystem for Linux 2 (WSL2) so that you may directly use the commands shown without needing to translate them to PowerShell or CMD-style batch commands.
Step 1 – Installing and configuring AWS CLI v2
If you do not have AWS CLI v1 installed, simply execute the following commands:
curl \ "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" \ -o "awscliv2.zip" unzip awscliv2.zip sudo ./aws/install
If you need to upgrade from AWS CLI v1 to v2, use...