Azure Cloud Functions bindings extensions - SNS, SQS - amazon-web-services

I'm looking to reuse my azure cloud functions that are currently using service bus, but with AWS without rewriting code.
Using nodejs and python for the azure cloud function.
I know there are installable extensions and you can make your own. I've scoured the internet and have yet to find SQS and SNS bindings or triggers that I can install for azure cloud functions.
Has anyone come across something I can easily install and use?

Related

AWS rest api support

I am working on AWS cloud platform. My application is written in Java. My task is to get secret stored in secrets manager. I have implemented this in AWS java version 2. But it has many jar dependencies around 20 jars. I would like to know is there any support for rest api by AWS?

How do I integrate event-drive architectures between AWS and Azure

I need to extend an event-driven architecture across a multi-cloud environment. AWS Eventbridge is the present bus. I need to use functions in Azure. I'm considering the following:
AWS Eventbridge - direct connection to Azure Service Bus. Is this possible? Has anyone done it? If so, how?
Azure Functions directly connecting to AWS Eventbridge and using the Azure funtions to drive Azure functionality.
Thoughts on these two approaches? or other options?

Is there a REST API available for SageMaker, or is it possible to interact with SageMaker over the Amazon API Gateway?

SageMaker provides a full machine learning development environment on AWS. It works with the Amazon SageMaker Python SDK, which allows Jupyter Notebooks to interact with the functionality. This also provides the path to using the Amazon SageMaker Feature Store.
Is there any REST API available for SageMaker? Say one wanted to create their own custom UI, but still use SageMaker features, is this possible?
Can it be done using the Amazon API Gateway?
Amazon API Gateway currently does not provide first-class integration for SageMaker. But you can use these services via AWS SDK. If you wish, you can embed the AWS SDK calls into a service, host on AWS (e.g. running on EC2 or as lambda functions) and use API gateway to expose your REST API.
Actually, SageMaker is not fundamentally different from any other AWS service from this aspect.
I think you're better off wrapping the functionalities you need as an API you own to avoid the timeouts associated with REST. Did you check out https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sagemaker.html as well?

NiFi: Is there a way to call AWS Comprehend and connect to NiFi?

Just wondering if this is possible. In NiFi, it is possible to connect to S3 buckets.
Can you call Comprehend? Or is that capability totally beyond the pale? Thanks
There are no out-of-the-box Apache NiFi processors to communicate with AWS Comprehend at the moment, but there are multiple ways you can achieve this.
ExecuteStreamCommand using the AWS CLI -- execute shell commands that use the CLI tool to communicate with AWS
ExecuteScript with the AWS SDK -- execute custom code in Groovy/Python/Ruby using the relevant AWS SDK
InvokeHTTP with the Comprehend API -- execute HTTP requests sending and receiving JSON content
CustomProcessor with the AWS SDK -- write a custom processor using the AWS Java SDK
You can also open a feature request on the NiFi Jira for this capability.

google cloud analogy to AWS Lambda

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.