Book Image

Implementing AWS: Design, Build, and Manage your Infrastructure

By : Yohan Wadia, Rowan Udell, Lucas Chan, Udita Gupta
Book Image

Implementing AWS: Design, Build, and Manage your Infrastructure

By: Yohan Wadia, Rowan Udell, Lucas Chan, Udita Gupta

Overview of this book

With this Learning Path, you’ll explore techniques to easily manage applications on the AWS cloud. You’ll begin with an introduction to serverless computing, its advantages, and the fundamentals of AWS. The following chapters will guide you on how to manage multiple accounts by setting up consolidated billing, enhancing your application delivery skills, with the latest AWS services such as CodeCommit, CodeDeploy, and CodePipeline to provide continuous delivery and deployment, while also securing and monitoring your environment's workflow. It’ll also add to your understanding of the services AWS Lambda provides to developers. To refine your skills further, it demonstrates how to design, write, test, monitor, and troubleshoot Lambda functions. By the end of this Learning Path, you’ll be able to create a highly secure, fault-tolerant, and scalable environment for your applications. This Learning Path includes content from the following Packt products: • AWS Administration: The Definitive Guide, Second Edition by Yohan Wadia • AWS Administration Cookbook by Rowan Udell, Lucas Chan • Mastering AWS Lambda by Yohan Wadia, Udita Gupta
Table of Contents (29 chapters)
Title Page
Copyright and Credits
About Packt
Contributors
Preface
Index

Processing data at the edge with Greengrass and Lambda


Greengrass is yet another recent offering in the space of IoT provided by AWS. In simpler terms, Greengrass is an extension of AWS's own IoT service, and it is specifically designed to extend AWS cloud capabilities to local IoT devices, thus making it possible for them to collect and analyze data closer to the source of information. This is made possible by enabling developers to write and execute serverless code. More specifically, developers who use AWS Greengrass can author serverless code using AWS Lambda either on the cloud or on the device itself and conveniently deploy it for the local execution of applications. Here is a representational architecture of Greengrass depicting the Greengrass Core SDK interconnecting various devices with the AWS Cloud:

The AWS Greengrass Core software primarily consists of:

  • A message manager that routes messages between devices, Lambda functions, and AWS IoT. The pub/sub message manager can intelligently...