Questions tagged [amazon-s3]

This is for questions on Amazon's cloud storage service.

1120 questions
5
votes
1 answer

What AWS service to avoid CORS issues with S3 static content and aws backends

Introduction I've got the following architecture deployed on Amazon AWS. The goal is to expose a web application (single page application) acting as an entrypoint at https://app.acmecorp.com. This is a single page application that : serves static…
ddewaele
  • 333
  • 1
  • 4
  • 12
5
votes
1 answer

Unauthorized requests to Amazon S3 bucket

I developed an open source library and hosted its assets on Amazon S3 (CSS, JS), these files were used in demo via URLs like: http://my_bucket_name.s3.amazonaws.com/some-file.js (my bad, I know). Without my permission, some websites started…
Marvin3
  • 151
  • 4
5
votes
3 answers

Any way to enable Amazon S3 Versioning for existing objects?

All the information that I have read on the AWS S3 Object Versioning specifically mentions this: Objects stored in your bucket before you set the versioning state have a version ID of null. When you enable versioning, existing objects in your…
Valien
  • 193
  • 2
  • 8
5
votes
3 answers

Amazon Lambda for video and image processing?

The service I am building the architecture for has a video processing part in it. Basically, some people can upload videos (stored in S3) that will be split into frames with high resolution. From these high resolution frames, derived images…
5
votes
2 answers

SYNC a folder on Ubuntu server with amazon S3 bucket automatically

I have an app running on Digital Ocean server and there are two folders which are being updated with user uploaded images. Is it possible to transfer the new uploads from the server folder to s3 bucket automatically. I have already configured AWS…
brainHax
  • 161
  • 1
  • 2
  • 7
5
votes
3 answers

Can I simulate an S3 bucket going down when it is accessible to root user?

I'm trying to test new network monitoring code for an application that runs on a Debian appliance. I am currently tasked with ensuring that an SNMP trap is thrown when external network shares (such as S3 buckets) are mounted with FUSE and the…
jajavoli
  • 53
  • 4
5
votes
1 answer

Why can my IAM user create a bucket but not upload to it?

UPDATE: everything works fine the next day!?! So I think the answer might be that you have to wait some period of time, either after creating a new IAM user, or after creating a new bucket, before uploads will work. I created a dedicated IAM user,…
Darren Cook
  • 730
  • 2
  • 9
  • 17
5
votes
2 answers

AWS S3 Backup Strategies - How should I approach backing up S3 buckets?

I am in the process of building a web-app with potential for a massive amount of storage requirements which can be satisfied by amazon S3. My main concern is the usage of API keys on the server, and how an unauthorised person could exploit the…
Matt
  • 165
  • 1
  • 6
5
votes
1 answer

How can I tell where an Amazon AWS key is being used?

I have inherited an Amazon AWS environment in which the Root account key has been widely distributed for the purposes of making backups to S3 buckets. I need to track down where the key is being used, so that I can replace it with a key with limited…
Garreth McDaid
  • 3,449
  • 1
  • 27
  • 42
5
votes
2 answers

Getting files from an s3 bucket using IAM role credentials

I am trying to retrieve some files from a private s3 bucket to a filesystem location elastic beanstalk ec2 instance, but with no success. I've created a bucket named dev-config containing a file named local.properties. I've created a IAM policy…
diffa
  • 141
  • 1
  • 10
5
votes
1 answer

Deny anonymous downloads in AWS S3

I have a bucket with several files publicly downloadable. I want to put up a bucket policy after which these files should only be downloadable by my IAM users. The policy I have got so far is this: { "Version": "2008-10-17", "Id":…
Aditya Patawari
  • 1,065
  • 10
  • 23
5
votes
1 answer

What should an s3 end point look like when configuring an ALIAS record in Route53?

I'm trying to point my root domain to an s3 bucket that redirects to www.mywebsite.com. However, when I try to configure my ALIAS record to point an s3 endpoint, the only endpoint that the dialogue offers me is: s3-website-us-east-1.amazonaws.com It…
5
votes
1 answer

Linux server sync to an Amazon S3 bucket

I am looking for a stable solution to replace a classic server backup to another server using rsync. I have to sync a whole filesystem (more than 1Tb) to Amazon S3. Where am I? Solution 1: I mapped the S3 bucket to a mounting point in the system…
deadtired
  • 141
  • 2
  • 7
5
votes
4 answers

How should secret files be pushed to an EC2 (on AWS) Ruby on Rails application?

How should secret files be pushed to an EC2 Ruby on Rails application using amazon web services with their elastic beanstalk? I add the files to a git repository, and I push to github, but I want to keep my secret files out of the git repository.…
5
votes
1 answer

Deployment to thousands of Amazon S3 accounts?

We run a service whereby we provide the 'work' of a web (PHP)-based app and the images, JS, CSS etc are hosted on the clients' own Amazon S3 accounts. This is so that they get a consolidated bill for their S3 usage (The app makes use of S3 itself)…
Marc Fowler
  • 163
  • 3