AWS Greengrass is software that extends AWS cloud capabilities to local devices, making it possible for them to collect and analyze data closer to the source of information, while also securely communicating with each other on local networks. More specifically, developers who use AWS Greengrass can author serverless code (AWS Lambda functions) in the cloud and conveniently deploy it to devices for local execution of applications.
AWS Greengrass makes it possible for customers to use Lambda functions to build IoT devices and application logic. Specifically, AWS Greengrass provides cloud-based management of applications that can be deployed for local execution. Locally deployed Lambda functions are triggered by local events, messages from the cloud, or other sources.
In AWS Greengrass, devices securely communicate on a local network and exchange messages with each other without any need for connection to the cloud. AWS Greengrass provides a local pub/sub message manager that can intelligently buffer messages if connectivity is lost such that inbound and outbound messages to the cloud are preserved.
AWS Greengrass protects user data:
- Through the secure authentication and authorization of devices.
- Through secure connectivity in the local network.
- Between local devices and the cloud.
- AWS Greengrass provides secure, over-the-air software updates of Lambda functions.
(Device security credentials function within a group until they are revoked, even if connectivity to the cloud is disrupted such that the devices can continue to securely communicate locally.)
AWS Greengrass consists of:
- Software distributions
- AWS Greengrass core software
- AWS Greengrass core SDK
- Cloud service
- AWS Greengrass API
- Lambda runtime
- Thing shadows implementation
- Message manager
- Group management
- Discovery service
- Greengrass Core Software
The AWS Greengrass core software provides the following functionality:
- Allows deployment and execution of local applications created using Lambda functions and managed through the deployment API.
- Enables local messaging between devices over a secure network using a managed subscription scheme through the MQTT protocol.
- Ensures secure connections between devices and the cloud using device authentication and authorization.
- Provides secure, over-the-air software updates of user-defined Lambda functions.
The AWS Greengrass core software consists of:
A message manager that routes messages between devices, Lambda functions, and AWS IoT.
A Lambda runtime that runs user-defined Lambda functions.
An implementation of the Thing Shadows service that provides a local copy of thing shadows, which represent your devices. Thing shadows can be configured to sync with the cloud.
A deployment agent that is notified of new or updated AWS Greengrass group configuration. When new or updated configuration is detected, the deployment agent downloads the configuration data and restarts the AWS Greengrass core.
AWS Greengrass core instances are configured through AWS Greengrass APIs that create and update AWS Greengrass group definitions stored in the cloud.
How To Launch EC2 Machine
In this article we are going to learn how to launch a EC2 instance. For this you need to have AWS account.
How to install WordPress on ec2 machine
Before you start installing WordPress on ec2 machine. You must log in into the machine.
How to create a VM instance in Azure
In this Tutorial we are going to launch a Virtual Machine in azure.
How to install WordPress on VM instance in Azure
Before you start installing WordPress on VM instance on Azure. You must log in into the machine. You can launch a VM Instance in Azure using this tutorial. After launch of machine log in into the machine using SSH. If you do not know how to SSH in VM instance you can follow this tutorial.
How to launch a VM instances in Google Cloud
In this tutorial we are going to launch a Compute Egine instance.
How to install WordPress on VM instance in Google Cloud
Before you start installing WordPress on VM instance on Google Cloud. You must log in into the machine. You can launch a VM Instance on Google Cloud using this tutorial. After launch of machine log in into the machine using SSH. If you do not know how to SSH in VM instance you can follow this tutorial.