I am trying to use AWS amplify analytics library to stream analytics data. I ran into issues with pinpoint not sending custom attributes and decided to switch to AWS Kinesis. Now I am having issues configuring a custom kinesis backend to amplify analytics library. This docs only provides documentation only for configuring custom Pinpoint backend. How do I configure custom Kinesis backend?
I am planning to export logging from MuleSoft CloudHub to AWS CloudWatch.
I saw there is one AWS CloudWatch Connector in GitHub:
https://github.com/mulesoft-labs/mule-amazon-cloudwatch-connector/tree/master/mule-cloudwatch-connector
Is there any examples on how to implement this?
And which AWS CloudWatch features is supported in this connector?
I found other export logs method with examples, but not for AWS CloudWatch:
https://help.mulesoft.com/s/question/0D52T00004mXUALSA4/export-log-to-external-system
Thanks.
You could try to create a Mule application that reads logs from CloudHub using CloudHub's API and pushes them to CloudWatch. The readme for the connector doesn't seem to mention an operation to put logs into CloudWatch, but if CloudWatch has a REST API for it -every AWS product has it- you could use it in your application.
This KB article shows how to get the logs from CloudHub: https://help.mulesoft.com/s/article/How-to-get-whole-Application-logs-from-Cloudhub-through-API
For creating a SNS endpoint in Android they give us a tutorial on how to create a SNS endpoint.
https://docs.aws.amazon.com/sns/latest/dg/mobile-platform-endpoint.html
It looks a bit outdated and the methods are depreciated. Currently I am using AWS Amplify for my mobile app. How would I do it using the mobileclient? I can't seem to find any tutorials or docs on it. Could someone explain or link me? Thanks
The tutorial you mentioned is for creating a mobile endpoint so that SNS can send push notifications.
The Amplify SDK for Android handles this using Amazon Pinpoint. The Amplify docs provide a tutorial on how to setup Push Notifications here.
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.
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.