I'm new to AWS IoT and currently exploring creating a job to update/install firmware via the AWS IoT Console custom job instead of Amazon FreeRTOS service.
My questions are:
What is the content in the job document(.json) in AWS IoT Console? i.e., to specify to install the firmware update for the software in AWS S3 bucket
Where to find out the documentation for a custom job? I found some sample using AWS IoT SDK for python or JS. Is that the correct way to create a job for my firmware device via this SDK?
Also, is that the alternative way to update the firmware by using device shadow instead of creating a custom job in AWS IoT Console.
I appreciate if any IoT job creation documentation or related sample link could be provided.
Please check this link which outlines about custom job based on Raspberry Pi. Additional notes for your questions.
Typically the image source to be uploaded can be in S3. Check this Developer notes provided by AWS possible content which would go into JSON
Please check on the developer documentation on creating a OTA Job.
You can use an combination of IoT rules and Messaging infrastructure with Lambda to achieve the same. See if you can make use of the AWS forum for additional insights.
Related
Is it possible to create a flow using AWS AppFlow that relies on a connector, created using the custom connector SDK, that is launched on event and more particularly on a webhook event.
I did not find any information on the subject in github of the custom connector SDK.
https://github.com/awslabs/aws-appflow-custom-connector-python
Thanks in advance
I looked at the github documentation: https://github.com/awslabs/aws-appflow-custom-connector-python
I'm trying to make a ChatBot that uses Dialog Flow and should be able to pickup Keywords and match it to the Intents.
I've worked with Microsoft Bot Framework using Luis and deployed a similar bot on Azure but now I have to do the exact same thing but have to deploy that on AWS and use Elastic Search.
How do I do that? Is there a similar Software available for AWS ?
you can use AWS lex for create chatbot,here is the link for aws lex
https://docs.aws.amazon.com/lex/latest/dg/getting-started.html.
for performing back-end task like validation and dynamic response from bot side,then you need to use lambda again lambda also AWS tool that provide to how to make server-less bot.
https://docs.aws.amazon.com/lex/latest/dg/using-lambda.html
hope this kt will help you.
I'm looking for something like AWS's device management functionality (https://aws.amazon.com/iot-device-management/) that exists on Google's Firebase service.
I found this: https://cloud.google.com/community/tutorials/cloud-iot-firestore-config
But I'm not sure if I can achieve the same functionality as with AWS IoT Device Management (I'm still new to Firebase).
Is there a Firebase equivalent to AWS IoT Device Management, specifically regarding onboarding and organization?
There is no equivalent in Firebase.
As has been mentioned, no, there's nothing directly in Firebase.
Have you looked at Cloud IoT Core? It has a lot of the features you're probably looking for in a device manager. From there, there are data pipeline tools (like Google Cloud Functions, or Cloud Dataflow) which can ferry the telemetry data from your devices into Firebase (or, potentially a better option, Firestore).
I did a session at the Google Cloud Next conference this year (2018) which talked about the end-to-end IoT application, and we published the code we built on stage which includes IoT device management, and used Cloud Functions to push the data into Firestore if you're interested. Link can be found here. The Cloud Functions that moved the data into Firestore are in the gcf folder. The device folder has the Python code we used on device to send telemetry up to IoT Core.
I would like to add Amazon services to my CodeName one App, I have downloaded java-SDK from Amazon and added a library to my App. Everything working properly in simulator once I gave Android build.
If I try to access Amazon AWS in my android app I'm getting an error like "NoClassDefFoundError".
Here my question is CodeName one supports Amazon AWS or not.
If Codename One supports integration with Amazon AWS then how can I integrate and use below AWS services
Amazon Cognito,
Amazon Cognito Sync,
Amazon API Gateway,
Amazon DynamoDB,
AWS Device Farm,
Amazon SNS(Simple Notification Service),
Amazon Analytics.
You can't just add an arbitrary JAR to Codename One, because we don't support all the features of Java SE as explained here.
There are two ways in which you can support Amazon and you can see samples of both approaches in the libraries section of Codename One.
Wrap the native Android/iOS libraries - there is a long tutorial for this here and in the developer guide.
Wrap the webservice/JSON API's which is a better approach in many regards as it is 100% portable and will bring you into platforms like UWP, Desktop, Web etc. This is the approach taken by parse4cn1.
Option 2 is superior for solutions like AWS as it's much easier to debug and doesn't require any native code etc. Ideally we'd love to have a proper AWS cn1lib similarly to the parse cn1lib.
Does google cloud have an analogous functionality to AWS Lambda?
In particular I would like compute resources to be opened up and jobs scheduled via https events.
I'm also interested in any other cloud hosting providers which have similar functionality.
I just found out that there is something that looks interesting in the latest documentation of the SDK's command line tool gcloud.
https://cloud.google.com/sdk/gcloud/reference/alpha/functions/
This sounds exciting.
UPDATE: Google just released some official documentation of an alpha version of Cloud Functions. For now, functions can be written in Javascript using Node, and triggered by Pub/Sub, Cloud Storage, direct HTTP stimuli or manually for debugging purposes.
Google Cloud Storage has Object Change Notification. Only web hooks are currently supported at this time.
A client application can send a request to watch for a bucket's change notification events in order to be notified about changes to a bucket's objects. After a notification channel is initiated, Google Cloud Storage notifies the application any time an object is added, updated, or removed from the bucket.
For example, when you add a new picture to a bucket, an application could be notified to create a thumbnail.
More info can be found at: https://cloud.google.com/storage/docs/object-change-notification
Regarding other providers that have similar functionality, check out IronWorker. You can kick off IronWorker tasks via https endpoints using the webhook endpoint and you can run jobs on multiple clouds. Here's a comparison of Lambda vs IronWorker.
And yes, I work for Iron.io.
Lately Google announced alpha release of Google Cloud Functions which supports http interface.
There is Google Cloud Functions and Microsoft Azure functions, they are both fairly new (Microsoft announced Azure function on March 31 2016)
if you need Lambda with HTTP interface then look at Nano Lambda
They can deploy to any cloud and on premise.