Application hosted on AppHarbor, how can I save uploaded images? - file

AppHarbor (like Heroku) doesn't allow you to save uploaded files or images. I need to offload this somewhere and I have no idea what services exist for this purpose.
I've looked into FilePicker.io but they display a tacky branding image in their uploader and to remove that branding you have to pay a large sum of money.
Any suggestions on how to approach this problem? What is the modus operandi with applications that need file uploads that are hosted on PaaS?

We recommend that you use Amazon S3 to store files like this. An AppHarbor user has written a guide on how to get started with S3 on the support forums.

Related

How can I access the generated thumbnail in S3 in frontend?

I am created a lambda trigger , when a video file uploaded in a s3 input bucket, it will create a thumbnail in output bucket, but I don't know how to access it. Please help me.
Iam generating 3 thumbnail from a single video, in this bottom image 👇, there this 4 video.
But I have the name of the file as dfdf and treasersonthing and
vijay.treaser.ve and vollyball , but I want all 3 images using this
file name.
The question is quite open - do you want to access the generated thumbnails on the frontend of your website? If so, I will try and provide some ideas for the architecture, based on some assumptions.
Publicly Accessible Thumbnails
Assuming you want to make the thumbnails publicly accessible, S3 can expose them through its own HTTP endpoint. See AWS documentation. Please note that this involves enabling Public Access on your bucket, which can potentially be risky. See How can I secure files in my Amazon S3 bucket for more information. While this is an option, I'm not going to elaborate on it, as it's probably not the best.
The preferred way is to have a CloudFront distribution serve files from your S3 bucket. This has the advantages of a typical CDN - you can have edge locations caching your files across the globe, thus reducing the latencies your customers see. See this official guide on how to proceed with this CloudFront + S3 solution.
Restricted-access Thumbnails
If your thumbnails are not meant to be public, then you can consider two options:
implement your own service (hosted on any compute engine you prefer) to handle the authentication & authorization, then return the files to your customers, or
use the CloudFront + S3 solution and control the authentication and authorization with Lambda#Edge. See AWS docs.

How to store the files uploaded from a website or a html?

Now I am creating a real digital library website. The website is required to store uploaded file in a database and receive it from the database. I have found a way to store the uploaded files in Google Cloud. May I know is there another way better than this?

How can I upload files to my S3 bucket from my React app without a backend?

I am creating a web app using React where the user can upload files to a folder in my S3 bucket. This folder will have a unique passcode name. The user (or someone else) can use this passcode to retrieve these files from the S3 folder. So basically there is no login/authentication system.
My current issue is how do I safely allow read/write access to my S3 bucket? Almost every tutorial stores the access keys to the client code which I read is very bad practice but I also don't want to create a backend for something this simple. Someone suggested presigned URLs but I have no idea how to set that up (do I use Lambda? IAMs?). I'm really new to AWS (and webdev in general). Does anyone have any pointers on what I could look into?
do I use Lambda? IAMs?
The setup and process if fully explained in AWS blog:
Uploading to Amazon S3 directly from a web or mobile application

looking for cloud service upload large files e.g. pdf of 60mb or high res images and create thumbnail

I'm looking for a cloud based service which will allow my customers to upload very high resolution and print pdfs (sometimes about 60mb), store the images and create low resolution images very quickly
I've started looking at Amazon S3 but know this doesn't do anything with the files uploaded and started looking at google app engine.
I did think about using dropbox core api but i think this is really for 1 to 1 users rather than hundreds of users daily.
Any suggestions for services would be great
Thanks
David
have a look at google cloud storage:
https://cloud.google.com/products/cloud-storage
there you can upload files up to 5 tb, and as many as you can pay.
it works perfectly with lots of users. you can use buckets or folders per user, its up to you.
also its possible to reach that files with an own domain,
apis are available for many languages as well

Upload to webserver from multiple devices

Ive developed an app which needs to upload a small .xml file to a web server, there will be around 15 devices running this app uploading around 15 .xml files each per day. The files need to be uploaded to the same directory.
What would be the best way to achieve this? Im assuming i cant use the same login details for the server on every device, is there any hosting out there that allows multiple different logins?
Thanks.
Paul.
Take a look at Parse.com's data solution. You can set up a free account and have your devices post the data a database using their API. Pretty easy to set up with iOS and for basic services it's free.

Resources