How do i upload html documents with Amazon Elasticsearch - amazon-elasticsearch

Going through this link https://developer.searchblox.com/v8.6.3/docs/searchblox-and-amazon-elasticsearch-service ,I understand how to integrate Searchblox server with Amazon elastic search.
But how do I index the website and HTML documents (that is provided by Searchblox) through Amazon Elasticsearch?

Related

Migrate videos from Vimeo to S3

I have a large quantity of videos on my Vimeo account that I would like to migrate to my AWS S3 account.
Rather than go through the time consuming process of downloading from Vimeo to my local machine then uploading from my local machine to S3, is there a way where I can do a direct transfer from Vimeo to S3?
If possible, I would want to create a script to iterate through each video via Vimeo API and set up the path to where it would go into S3 then initiate a direct transfer. Any ideas or suggestions would be much appreciated!
If you have a PRO account or higher, you can use the API to get download links for videos on your account, including download links for the original source file. Those download file links should be able to be used for importing into S3. Note that the links provided via the Vimeo API are expiring HTTP 302 redirects to the video file resource, so make sure you take note of the expiration time also provided in the response.
Download links are returned with the rest of a video's metadata, so I suggest using the fields parameter to only return the metadata needed.
http://developer.vimeo.com/api/common-formats#json-filter
https://developer.vimeo.com/api/reference/videos#GET/users/{user_id}/videos

Storing a remote hosted image on S3 directly using java sdk

I know I can download the image on server and then upload again to S3 or any other cloud hosting service, but is there any way to store the image asset directly on s3 by supplying URL of asset instead of a file, because I don't want to add unwanted download and upload on my server.
Note: I am assured that the URI will be 99.9% up and image file will also be there. And I am OK to use services other than S3 if they have such a feature.
No. There is no API call for Amazon S3 that will retrieve content from another location.
You must supply the content as part of the API call.

How to use medias stored in AWS with Hybris

In Hybris project, I want to use medias which are stored in AWS S3. How can I add this media with their url's.
Normally, I can do it with AWS storage policy with uploading medias, but I don't want to upload images, I want to add media with link to AWS URL.
You can use OOTB Hybris amazoncloud extenstion.
This extenstion provides MediaURLStrategy and MediaStorageStrategy implementation for Amazon S3.
If you have access to Hybris Wiki you can get more details here

Edit S3 doc with google docs and store it back to S3

I am trying to write a program that would allow my users to edit their S3 docs with Google Docs and then the program would store it back to their S3 bucket.
Any ideas on how to start?
I know its possible to simple open a document with google docs by supplying a URL.
While Google Docs is able to open a document from a URL, it cannot "save" the document back to Amazon S3.
Your users would need to save the document within Google Docs (on Google Drive), then your program would need to retrieve that document and save it into Amazon S3.
The problem is... how do you trigger your program to perform the export?
As an alternative, you could synchronize between Google Drive and Amazon S3. See:
Zapier
CloudHQ
GoodSync
...and probably many more!

how to link a video from amazon s3 account into my website

I have an amazon s3 account. As i am expecting a large amount of traffic to my site i want to put the videos to be placed in my s3 account and stream it up to my website. How can i do that?
Thanks
Prady
The simplest way is to upload it using the AWS Management Console for S3, use that to set its permissions to be publicly accessible, and then just access the usual S3 URL for it:
http://bucket-name.s3.amazonaws.com/key-name
Depending on exactly how much traffic you're getting, you can look into using Amazon's CloudFront distribution network. That will speed things up for your users, especially if they span the globe.