Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [amazon-s3]

Amazon Simple Storage Service. For questions about storing and retrieving DevOps-related data in S3, or using S3 for building a code pipeline.

Filter by
Sorted by
Tagged with
0 votes
0 answers
20 views

How to add a user to MinIO server using CLI?

I have MinIO server running in docker. I need to add a user from command line mc admin user add local ACCESSKEY SECRETKEY mc: <ERROR> Unable to add new user. Access Denied. why? How to add an ...
Ekaterina Ivanova's user avatar
0 votes
0 answers
27 views

Create an S3 blobstore on Nexus fails ("The S3 bucket exists but you are not the owner")

Before mentioning my problem, I want to inform you that I'm using terraform and having nexus container running on EC2 orchestrated by Amazon ECS. Here is the objective: I want to create an S3 ...
zonix devWeb's user avatar
0 votes
1 answer
36 views

How to design AWS infrastructure for my online course selling website?

I am designing an AWS architecture for hosting a website that sells online courses and merchandise products. For the purpose, I am planning to use the following architecture design: 1 VPC 1 ...
meDeepakJain's user avatar
0 votes
1 answer
39 views

How to ascertain excesive use of my S3 bucket?

I have a S3 bucket that I use to store images for a website I manage. The bill is usually about $1/month and I store about 12.5 GB on the service. It's never really been an issue before, but recently ...
NicholasJohn16's user avatar
2 votes
2 answers
1k views

How can I use S3 as a filesystem

I'm not sure if it's something I'm doing wrong, or if the S3 web interface is just trash. There are a ton of basic capabilities that work in pretty much any other file storage product (Windows ...
jeremywat's user avatar
  • 133
0 votes
0 answers
34 views

How to assign different authorizations to different AWS Cognito groups for a static site served by AWS Cloudfront

We have implemented the following AWS solution in order to publish a static html site on the internet : https://github.com/aws-samples/cloudfront-authorization-at-edge How can we manage to assign ...
reisub83's user avatar
  • 101
0 votes
1 answer
403 views

s3: reading parquet files with a subset of columns as argument; does this reduce data transfer?

I have set of large tables stored as parquets on s3. In python, I'm using: pd.read_parquet(...,columns=columns) I'm reading the files directly from s3, without any database engine whatsoever for ...
user19976975's user avatar
0 votes
1 answer
1k views

calculating the size of objects in AWS S3 buckets

I ran into an problem recently, my AWS S3 bucket shows total size of 30 TB. However when i try to get the total size of individual folders, it is not summing up more than 2 TB. I used the below ...
Saran's user avatar
  • 3
0 votes
1 answer
236 views

When OnPrem with Kubernetes, what is the recommended way to do file storage buckets?

When you are running kubernetes on GKS, AKS, etc, you use your cloud provider specific storage bucket such as Amazon S3, google cloud storage, azure blob storage, to store your raw binary content in a ...
Nicholas DiPiazza's user avatar
2 votes
1 answer
578 views

How to assign an ACL for each S3 Bucket in a tuple/list using Terraform?

I have a terraform file set to create a list of S3 buckets, and I was assigning acl to each bucket the old way: resource "aws_s3_bucket" "this" { count = length(var....
Hendrick's user avatar
3 votes
1 answer
921 views

Use S3 To Store ConfigMap

I have a ConfigMap which stores Nginx configs and It is getting size exceeded. There are many site configs in there so I can't create multiple ConfigMaps. I thought of using S3 to store ConfigMap, is ...
amit singh's user avatar
2 votes
1 answer
983 views

Terraform Aws S3 - deny all users except for a specific user

I have a bucket which I need to restrict to a specific user, I have written the following script but it still seems to allow all users to operate on the bucket. resource "aws_s3_bucket" &...
xerxes's user avatar
  • 121
0 votes
1 answer
3k views

How can I efficiently scale a data lake?

I am running into problems with AWS Athena data lakes. They were initially very quick, but as we've scaled, they're performing poorly and are becoming expensive and inefficient. What can we do to ...
Joseph's user avatar
  • 45
0 votes
1 answer
109 views

How can I grant access to my cloud storage for clients?

I am developing a webshop for large digital products (multiple .tif image files). These are currently stored in an S3 bucket. What is a recommended way to grant access to my customers once they have ...
Bichael's user avatar
  • 11
1 vote
1 answer
443 views

What is the proper AWS IAM policy for access to a single bucket that allows stacking?

I am working on a buildout where I am doing the following. Eventually I will need to make this scalable so I am not doing this manually each time. I have several clients dumping data into S3 buckets. ...
mpdonadio's user avatar
  • 131
0 votes
1 answer
142 views

Error: error loading plugins: loading plugin /data/ipfs/plugins/go-ds-s3.so: not built with cgo support

After cloning this repo run make build (getting as output s3plugin.so) run make install make the appropriate changes in both /data/ipfs/config "Datastore": { "BloomFilterSize"...
Tiago Peres's user avatar
0 votes
1 answer
800 views

404 status code in response from Cloudfront for a single page react application

we have a single page app in ReactJS that is being served by CloudFront but the response status continues to be 404 for any nested pages (i.e pages other than the home page). How can this be resolved? ...
systemdebt's user avatar
0 votes
1 answer
189 views

AWS S3, as an organizer see empty bucket

I am an owner of organizer in on my aws account. When I enter S3 I see one folder, which is empty. But its being billed 8$ per month, so smth should be there. Is it possible that one account, of my ...
FrancMo's user avatar
  • 101
0 votes
1 answer
48 views

Migrating to AWS with Devops [closed]

What are they key stages of migrating to AWS with Devops ? Can anyone list a use case or workflow?
laurajs's user avatar
  • 109
4 votes
1 answer
210 views

auto delete aws S3 backups

I need to automate deletion of aws S3 backups ... evidently if I tag the backup with one of daily, weekly, monthly, yearly then aws will delete based on my desired retention counts per those periods ...
Scott Stensland's user avatar
2 votes
1 answer
2k views

Troubleshooting VPC flow logs with an S3 bucket using SSE-KMS encryption with CMK

I'm using Terraform and trying to set up automatic export of VPC flow logs into an S3 bucket in the same AWS account and region (ca-central-1) that has default encryption turned on with AWS-KMS (using ...
Nic's user avatar
  • 351
1 vote
2 answers
2k views

Is there a policy that can limit the growth of an AWS S3 buckets total size?

We have an AWS S3 bucket that accepts uploads from untrusted sources which are then processed and moved out of the bucket. Is there a Policy that can limit the growth of the bucket to some ...
David Parks's user avatar
1 vote
1 answer
287 views

How to make different permissions for different subdirectories of storage bucket

On Google Cloud Storage or Amazon S3, is there a way to give users a key to only a specific subdirectory of a storage bucket, for example: gs://images.eng.cm.com/avatars/<user-uuid>/xyz so the ...
Alexander Mills's user avatar
1 vote
1 answer
1k views

Error when creating new recource using backend AWS s3 [closed]

When I try create a new resource using terraform apply (Terraform init was success) received an error: data.terraform_remote_state.environment_data: Refreshing state... Error: Unable to find remote ...
Vader's user avatar
  • 466
1 vote
2 answers
1k views

s3fs to mount S3 bucket with iamrole on non-aws machine

I am trying to mount S3 bucket on my on-premises CentOS-6 server using s3fs as below: [roots@myhost ~]# s3fs bucket-name /mnt/s3mnt -o uid=1001,gid=1001,allow_other,umask=022,iam_role=iam-role,...
Abhilash Mishra's user avatar
2 votes
0 answers
622 views

Allowing all apps/users access to folder - S3FS-FUSE

I'm running an application on AWS EC2 Ubuntu instance, here's what I've done: - I've mounted S3 bucket as folder with s3fs-fuse using this command (unfortunately as root : sudo): sudo s3fs ...
Tlink's user avatar
  • 183
1 vote
1 answer
743 views

How to run aws cli with www-data?

I can successfully upload a file to my S3 bucket using the AWS cli version 1 with my normal linux user. However, I'm having trouble doing the same with Apache2's www-data. I have a personal project ...
user2539784's user avatar
2 votes
1 answer
1k views

For storing avatars in s3, which approach has the lowest cost?

On my site I have the ability for users to upload avatars (which they upload to s3). They can only have one avatar at the moment, so I currently just have the filename set to their user id. However, ...
Chron Bag's user avatar
  • 123
0 votes
1 answer
1k views

S3 bucket policy errors

I have the following bucket policy for Amazon S3, which is giving the following error: Error: Invalid bucket policy syntax. Either it is a JSON syntax error or a Policy error. This is the policy ...
fndtn357's user avatar
  • 101
4 votes
1 answer
889 views

Triggering a SNS notification when an object is accessed (downloaded) in AWS S3

I have managed to trigger events on my bucket when objects are uploaded (PUT) but I am surprised that there are no triggers called when objects are downloaded (GETs), as can be seen in this screenshot ...
W.M.'s user avatar
  • 187
1 vote
3 answers
489 views

How to make an AWS S3 bucket accessible over HTTP?

Does AWS S3 provide a way to make bucket's files available over HTTP preferably protected with BASIC_AUTH? I mean listing the files (index) and make it possible to download them over HTTP.
W.M.'s user avatar
  • 187
0 votes
1 answer
728 views

s3 static hosting not redirecting my request

I followed these instructions to redirect: platform.demo.interos.net to platform.demo.interos.io The instructions use s3 for static site hosting and use the redirect option: https://aws.amazon....
Alexander Mills's user avatar
4 votes
4 answers
10k views

Is it possible to mount an s3 bucket as a point in a docker container?

I have a Java EE packaged as war file stored in an AWS s3 bucket. I will like to mount the folder containing the .war file as a point in my docker container. I have managed to do this on my local ...
christian Martin's user avatar
1 vote
1 answer
728 views

How can I 'aws s3 sync' two buckets, which are located in different accounts

I'm trying to use 'aws s3 sync' on the awscli between two accounts. Account A, I own. Account B, Owned by a third party. Account B has given a user:jon on account A permission to a bucket through ...
phisshion's user avatar
1 vote
1 answer
6k views

Amazon S3 bucket does not redirect folder URLs to index.html

I have uploaded my HUGO static site into AWS S3 Bucket. I have also added the domain in cloudrfront. The home index.html page works fine, but I cannot access my resources. For example https://www....
workaround's user avatar
1 vote
1 answer
398 views

Why isn't my S3 Cross Region Replication working for some files?

I've followed the documentation to set up cross-region replication to another AWS account. It looked like it was working correctly until I noticed an entire prefix was missing. Here is my ...
Aaron R.'s user avatar
  • 131
1 vote
1 answer
527 views

How to override default aws region credentials for Terraform?

I am using Terraform to create aws resources. I practiced with a single region and with my aws cli credentials being used. worked great! however when I tried to override the region in the Terraform ....
Alan-Cugler's user avatar
2 votes
1 answer
2k views

Artifacts mentioned in secondary-artifacts section not getting uploaded to s3 bucket

I have created a codePipeline project through which my application get build using maven and it's artifacts are uploaded to s3. I'm trying to upload multiple artifacts as a single zip file to s3 ...
Rakesh.N's user avatar
  • 125
0 votes
1 answer
406 views

compiled opencv copy to another host

Every time I spawn a new host I need to compile OpenCV on Ubuntu following official manual. The problem is that it takes about 20-30 minutes depends on the VM type. Is it somehow possible to store the ...
user3909893's user avatar
0 votes
1 answer
2k views

Can Terraform S3 remote state be kept in a different AWS account?

I am currently using Terraform with S3 remote state. The IAM user that I'm using to run Terraform exists in the same AWS account as the S3 bucket holding the remote state files. This is all working ...
Nic's user avatar
  • 351
6 votes
1 answer
4k views

Is it necessary to specify resource in S3 Bucket Policies?

Is it necessary to specify a resource attribute within the statements that make up an S3 bucket policy? The Access Policy Language Overview seems to suggest that the resource attribute is always ...
Nic's user avatar
  • 351
4 votes
2 answers
939 views

Impact on policy after deleting IAM user

I have created one IAM User named "test" with S3 and Glacier Permission. Now with user "test" i created one life cycle policy to move data from S3 to Glacier at every 5 days. Now, i delete IAM user "...
Jay's user avatar
  • 994
1 vote
1 answer
823 views

How to Allow AWS S3 Access From only Specific IPs

Recently we were testing with AWS VPC, and a requirement for our project was that we needed to allow nodes within a VPC access to S3 buckets, but deny access from any other IP address. Is there ...
Jay's user avatar
  • 994
2 votes
1 answer
5k views

Access S3 files from Datacenter over VPN to VPC

I am trying to access S3 files from non-EC2 machine. non-EC2 machine is connected to VPC over VPN, also can reach to other hosts in VPC. Created VPC Endpoint for S3 Main routing table of VPC has ...
rp346's user avatar
  • 135
5 votes
3 answers
3k views

How to monitor AWS S3 cross-region replication process?

Amazon S3 has a cross-region replication which will handle copy of new/updated objects to additional region. The problem is that solution does not provide visibility on state for replication process, ...
rombob's user avatar
  • 657
3 votes
1 answer
6k views

How to "inject" AWS Lambda code into a CloudFormation?

I'm exercising an idea of not using S3 bucket to refer to the code of a lambda function. The usual example of a lambda CloudFormation code might look like: MyLambda: Type: AWS::Lambda::...
Dmytrii Nagirniak's user avatar
1 vote
1 answer
3k views

Different download speeds from AWS S3 CLI vs Console/Websites

I'm experiencing much slower traffic for the exact same files when downloading (or uploading) them via the AWS website vs. downloading them via the CLI. Is there a known reason for this? Is there ...
Uberhumus's user avatar
  • 297
0 votes
1 answer
1k views

Copying a file with special character & spaces

I have been trying to copy a file from my remote server to AWS s3, but the file name is quite weird and I am not able to figure it out what can I do. I tried using escape characters but that did not ...
Prashast's user avatar
-2 votes
1 answer
319 views

Amazon AWS - Amazon Connect IAM policies

I was trying to lock down user account just to Amazon Connect, Lambda and S3. I was able to give permissions to S3 and Lambda but I cannot find permissions for Amazon Connect. I have went through the ...
mrktos's user avatar
  • 11
2 votes
1 answer
68 views

Is it possible to load an image into S3 via an URL?

I'm going through some steps documented in How Do I Upload Files and Folders to an S3 Bucket? to get my ova into S3. Seems like a waste of time for me to download it and then upload it, is there a ...
Peter Turner's user avatar
  • 1,440