Menu
AWS Greengrass
User Guide

Deploying a simple Lambda function to AWS Greengrass

This tutorial will help you get started with AWS Greengrass. You'll use the AWS Greengrass console to create an AWS Greengrass group and an AWS Greengrass core. Then, you'll deploy a Lambda function that returns data and shows that your group is working as expected. To complete the steps in this tutorial, you will need a device that meets the following requirements:

  • Supported platform:

    • Armv7l

      • Raspberry Pi 3 Model B - Raspbian Jessie 2017-03-02

    • X86_64

      • Amazon EC2 Instance - Amazon Linux - amzn-ami-hvm-2016.09.1.20170119-x86_64-ebs

    • AARCH64

      • Annapurna Alpine V2 Platform-on-Chip uATX Development Board with Ubuntu 14.04 Kernel 4.1.3 with the following enabled:

        • CONFIG_DEVPTS_MULTIPLE_INSTANCES

        • CONFIG_OF_OVERLAY

        • CONFIG_OVERLAY_FS

        • CONFIG_POSIX_MQUEUE

        • CONFIG_SECCOMP

        • CONFIG_SECCOMP_FILTER

        • CONFIG_HAVE_ARCH_SECCOMP_FILTER

        This is a special Ubuntu 14.04 built by Annapurna.

  • Linux kernel version 4.4.11+ with OverlayFS and user namespace enabled.

  • Glibc library version 2.14

  • Python version 2.7

  • SQLite version 3 or later

  • Minimum 128 MB RAM

Create an AWS account

If you don't have an AWS account, follow these steps:

  1. Open the AWS home page, and choose Create an AWS Account.

  2. Follow the online instructions. Part of the sign-up procedure involves receiving a phone call and entering a PIN using your phone keypad.

Sign in to the AWS Greengrass console

  1. Sign in to the AWS Management Console.

  2. Open the AWS IoT console using the console search.