Questions tagged [amazon-s3]

Amazon S3 (Simple Storage Service) is a web service which provides storage and various interfaces for accessing data stored there.

Filter by
Sorted by
Tagged with
0 votes
1 answer
70 views

make new objects in s3 bucket public by default

I have an s3 bucket in which the objects within it need to be made public, right now anytime I upload a new file I have to click on it and then click "make public using acl" I wonder if ...
user avatar
  • 101
0 votes
1 answer
25 views

What IAM policy is appropriate for gitlab S3 buckets when using KMS encryption?

I'm setting up GitLab with S3 storage backend and would like to use KMS to encrypt the buckets. I'd like to avoid giving out permissions broadly. I'm using terraform to provision these resources. How ...
user avatar
0 votes
0 answers
20 views

AWS Config: whitelist certain S3 buckets from a rule?

I have followed this guide from Amazon to help me get SNS notifications and automatically fix/lock down publicly available S3 bucket in my AWS account. However, I'd like to make an exception for ...
user avatar
  • 1
0 votes
0 answers
20 views

django images failing to load on EB aws using apache

I have set up a django app on AWS elastic beanstalk using apache. problem I have is when logging into django admin, I cannot get to /admin/images on the app. the apache logs error [proxy_http:error] [...
user avatar
0 votes
1 answer
33 views

How to create AWS S3 key

I've set up an AWS S3 bucket, and it's working for transfers using the web UI, but I want to be able to use the "aws s3 sync" command. The only way I know how to use that command requires ...
user avatar
1 vote
1 answer
48 views

Is there a way we can way to minimize or eliminate warning when a recipient receives an email from AmazonSES

When we are sending emails using Amazon SES from the application, recipients of the email are seeing warning messages like below: I have tried to find possible things that we can do to avoid ...
user avatar
  • 11
0 votes
0 answers
40 views

How to map an AWS S3 bucket to a local Mac folder?

Is it possible to map an S3 bucket to a local Mac folder so that I can easily access it? Thanks,
user avatar
  • 333
0 votes
0 answers
23 views

Use git-like local ignore files in s3cmd

s3cmd can exclude files from an explicitly specified file with the --exclude-from option. However, I would like the ability to drop something like an .s3ignore file into an arbitrarily nested ...
user avatar
  • 111
0 votes
0 answers
41 views

Is it possible to generate ETag of file which is going to be stored in AWS s3 bucket?

I am uploading a huge amount of files to the AWS s3 bucket. sometimes, the same files are getting stored as versions of older files. So, my question is I want to generate ETag for same file before ...
user avatar
2 votes
1 answer
440 views

Can WinSCP be used to access Google Cloud Storage bucket using the 'Amazon S3' file protocol?

Can WinSCP be used to access Google Cloud Storage bucket using the Amazon S3 file protocol using the HMAC keys? I tired but got the following error: Expected request type in credential scope to be &...
user avatar
  • 21
0 votes
1 answer
29 views

Streaming file via HTTP to S3

Currently we have a function on one of our EC2 instances (running C# .NET) that, upon request, opens an HTTP connection to an external site (for the sake of argument, let's say https://www.example.com/...
user avatar
  • 101
0 votes
1 answer
407 views

Whitelist IP addresses for access to AWS S3 static web hosting

I have seen several references that use a Bucket Policy similar in structure to the following { "Version": "2012-10-17", "Id": "Policy1607646663558", ...
user avatar
0 votes
0 answers
138 views

Why does s3.amazonaws.com respond with 400 Bad Request when I connect over telnet?

This is what my request looks like. I have confirmed that the end of line separator is CRLF: telnet s3.amazonaws.com 80 GET / HTTP/1.1 Host: s3.amazonaws.com User-Agent: Mozilla/5.0 (Windows NT 10.0; ...
user avatar
  • 101
0 votes
2 answers
198 views

Windows7 command prompt show number of objects as list from dir command

I'm using Windows7, and I want to know the number of files (or objects) for comparison to objects in Amazon S3 buckets. I'm not interested in size, as the size can differ between file types. I want ...
user avatar
  • 1
0 votes
0 answers
101 views

GPG piping help for an S3 encrypted postgresql backup into RDS

I was wondering if there was a trick that I am missing. I am trying to get an encrypted Postgresql backup dump from S3 -> decrypt it in GPG -> pg_restore into RDS. However, I am not able to get ...
user avatar
  • 101
0 votes
1 answer
230 views

Upload multiple files to S3 from stdin

I found the option to upload to S3 from stdin: cat test.txt | aws s3 cp - s3://mybucket/test.text But I have a tgz archive coming in via curl and containing multiple files. I want to write the ...
user avatar
1 vote
2 answers
4k views

How to search for nested files in my S3 bucket?

I'm on the S3 Management Console and I see the instructions to type a prefix to search: However, when I search, it only finds files in the current folder. Is there a way to search for files that ...
user avatar
1 vote
1 answer
160 views

AWS Access Key Issue while accessing s3 bucket on Azure VM

I am trying to access AWS s3 bucket from Azure HDInsight Cluster VM. I generated new keys and added to .aws/credentials. "aws s3 ls" is working fine in Azure VM. If I do hadoop distcp or read a s3 ...
user avatar
  • 11
0 votes
0 answers
57 views

Download all S3 files uploaded within a given time period

I would like to all files uploaded to an S3 button within a given time period. For all example, everything that was uploaded between 05-11-2017 and 07-11-2018. Please note that due to the size of ...
user avatar
0 votes
1 answer
2k views

Selectively uploading multiple folders to AWS S3 using CLI

I have around 50 folders, which contain subfolders, I want to upload the folders and subfolders to an S3 bucket, while keeping the subfolders structure. I read I can use --include command multiple ...
user avatar
  • 157
0 votes
0 answers
10 views

AWS Beanstalk s3 issue

I wanted to update a nodejs app and ruined my s3 server. Instead of updating properly from services -> elastic beanstalk, I deleted the .zip file on s3 and replaced it with a new one. I rebuilt my ...
user avatar
0 votes
1 answer
48 views

Prepopulated AWS Access Key ID when creating a new profile?

A new counter-party has provided me with an AWS S3 Access Key ID and a Secret Key so I can send files to them. I was expecting to run $ aws s3 configure and enter those values when prompted. ...
user avatar
  • 1,155
1 vote
1 answer
31 views

Creating folders by file names

I'm trying to find a way to create a folder for every file in a directory. I then want to copy each file into its created folder. These files are currently hosted on AWS (S3). So for example if I ...
user avatar
1 vote
1 answer
2k views

How to configure amazon S3 bucket for read-only access to host a static website?

I have a very small (static) website hosted on Amazon S3. Yesterday I received the following message, that had this subject line: Notification of Amazon S3 buckets configured for public access And ...
user avatar
  • 511
1 vote
1 answer
2k views

Setting up a custom idp for AWS SFTP using Active Directory

I've been digging into setting up custom auth for AWS SFTP and it's one hell of a black hole. There's lot's of references to being able to use a custom idp, but no concrete examples. We're using ...
user avatar
1 vote
1 answer
1k views

Sonatype Nexus: How to create Blob stores using Amazon S3?

I try to create a blob stores on Sonatype Nexus as below: Then, I'm getting this error: Unable to initialize blob store bucket: s3jenkins-cache, Cause: Unable to execute HTTP request: Connect to ...
user avatar
0 votes
0 answers
40 views

AWS S3 Upload Broken Up

perhaps this is my own misunderstanding of how AWS CLI works, but I uploaded a converted qcow2 VM image converted to a .raw using the AWS CLI. It took about 6 hours to move the 128GB file. I let it ...
user avatar
0 votes
1 answer
53 views

Is there an industry standard tool available which parses s3 files and loads them to database tables?

I have text files of multiple content formats on s3 buckets. The simplest format had delimited content as dhwon below: Field1|field2|field3|field4 I would like to parse the above delimited file and ...
user avatar
  • 11
2 votes
0 answers
136 views

How to use AWS S3 for linux file system backup?

As many who have used AWS S3 realize, it isn't a file system, but everything in the bucket is an object. While using the aws cli to do backups of a Linux server to S3, it doesn't preserve the ...
user avatar
1 vote
1 answer
2k views

I am trying to use a kms key alias in a bucket policy

I am using the following bucket policy: { "Version": "2012-10-17", "Id": "Policy1566337631537", "Statement": [ { "Sid": "Stmt156", "Effect": "Deny", ...
user avatar
1 vote
1 answer
6k views

Get all files (or file names) out of s3 bucket for specific date

I need to get all the files from yesterday from the s3 bucket, i know how to do this in the CLI when i know the file name: #aws s3 cp s3:{Path}/{FileName} {diretoryToCopyTo} but how would I do this ...
user avatar
  • 111
0 votes
0 answers
113 views

Lost my files while moving on AWS S3

I used the command on CLI - aws s3 mv s3://<source_directory_path> <destination_directory_path> --recursive aws s3 mv s3://<source_directory_path> s3://<...
user avatar
2 votes
1 answer
478 views

Can i trigger an AWS lambda function when a sagemaker labeling job is completed using CloudWatch events?

I'm new using CloudWatch events and I'm trying to create an event rule that triggers a lambda function when a Sagemaker Ground Truth Labeling Job is completed. It seems to me that this is possible, ...
user avatar
0 votes
1 answer
103 views

Cannot seem to access s3 bucket for training after mounting onto ec2 instance

I am using data on a s3 bucket for deep learning purposes. I mounted the s3 bucket onto ec2 instance using How to Mount S3 bucket on EC2 Linux Instance - Cloudkul. When I cd into my local directory ...
user avatar
  • 1
0 votes
1 answer
367 views

Source url prefix appended to destination url when using CloudFront and S3 AWS

I am trying to redirect a url, example.io, to www.example.org/survey/imagine. Currently, my S3 bucket handles redirection with the following redirection rules: <RoutingRules> <RoutingRule&...
user avatar
0 votes
1 answer
162 views

Serving tar.gz file through AWS Cloudfront?

I would like to keep things tidy on the S3 bucket where my website's assets live. Currently I am uploading all assets to S3, as part of the CI/CD pipeline, this has got a bit messy since generated ...
user avatar
0 votes
0 answers
323 views

Bash completion not working for 'aws cli' after installed via brew

After I use brew to install aws cli, here is the message form brew: ==> awscli The "examples" directory has been installed to: /usr/local/share/awscli/examples Bash completion has been ...
user avatar
  • 4,358
1 vote
1 answer
1k views

S3FS ownership and permissions

I am trying to mount a S3 bucket to my local machine using secret password key with the following command: s3fs mybucket /mnt/mybucket -o allow_other -o umask=0000,uid=$UID -o use_cache=/tmp -o ...
user avatar
  • 111
0 votes
1 answer
1k views

AWS ACCESS KEY ISSUE

I accidentally pushed my access keys up to github and amazon contacted me with instructions on "fixing" the issue. I messed up and accidentally deleted the access key, thinking thats what i was ...
user avatar
1 vote
1 answer
65 views

How do I set up DNS, AWS S3, AWS Cloudfront, and AWS Certificate Manager to secure multiple sites

I am trying to secure multiple static AWS S3 websites delivered via AWS Cloudfront CDN with one certificate. This AWS article says I should be able to do this, but it's not working. One is a web-app,...
user avatar
  • 111
2 votes
1 answer
590 views

Nginx SSL Preread Sporadically Gets Requests Where No Server Name Is Extracted

I am using the nginx stream module to leverage nginx as a tcp reverse proxy in front of s3. Recently, I needed to add logic to accommodate an additional upstream. To do this, I chose to make use of ...
user avatar
0 votes
1 answer
651 views

Automatic one-way syncing of a Windows file share to an S3 bucket

Our clients have Windows file shares where they store lots of different documents. We want to ingest files matching wildcard patterns (e.g. *.pdf, *.xlsx, etc.) from those file shares into S3 buckets ...
user avatar
  • 133
2 votes
1 answer
3k views

Know the identity behind an AWS canonical ID

Today while auditing a friends security settings, I found that an Amazon Folder (s3 bucket) with his most personal files had an unrecognised ACL entry. A person (with id ending in f6995f) had "Write" ...
user avatar
2 votes
0 answers
418 views

AWS S3 CLI: sum bytes in all top-level prefixes with a single --query?

I have an S3 bucket with a bunch of top-level prefixes. I have a relatively inefficient way of summing the bytes across top-level prefixes: Get the list of prefixes via aws s3 ls [bucket name], ...
user avatar
0 votes
1 answer
632 views

How to auto upload a file to s3

How can I upload a json file to my s3 in easiest way? Basically there is a json file in a webpage and I want to keep copy it every 5 minutes and upload to my s3.
user avatar
0 votes
1 answer
701 views

Linux - How to disable disk cache for a specific mount point?

Is it possible to disable disk cache for a mount point on Linux system? I have a s3fs mount on multiple systems and i need to disable disk cache for it. how can i achieve this?
user avatar
0 votes
0 answers
383 views

goofys mount point on multiple linux systems

I have a Minio bucket which is mounted on three different linux systems. the problem is when a file changes on one of mount points but file size doesn't changes that change doesn't get reflected on ...
user avatar
1 vote
1 answer
5k views

How to fix awscli s3 error "The Content-MD5 you specified did not match what we received" (BadDigest)?

Uploading a file over 10 GB to s3 fails with: aws s3 cp 'foo.log.gz' s3://mybucket/2018/12/ --storage-class REDUCED_REDUNDANCY upload failed: ./foo.log.gz to s3://mybucket/2018/12/foo.log.gz An ...
user avatar
  • 115
2 votes
2 answers
5k views

copy specific files from s3 bucket

I have some files in s3 bucket. aws s3 ls s3://bucketname/ file-111-100x100.jpg file-112-1400x1400.jpg file-123-250x250.jpg file-231-1400x1400.jpg file-222-700x700.jpg file-333-100x100.jpg file-131-...
user avatar
  • 63
1 vote
2 answers
169 views

Why CNAME is not working as supposed?

I have set a CNAME entry to redirect over Amazon S3 bucket, however there is something that doesnt works as supposed (by me of course) with CNAME I expect to redirect a fictional subdomain, say for ...
user avatar