All Questions

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

Delete object everyday in S3 bucket

i'm trying to delete folders(objects) in the S3 bucket everyday (with lifecycle rule). I have this scenario : TestBucket -> connect/ -> test/ -> 2023/ -> 12/ -> 01/, 02/, 03/ etc. I ...
Andrea Vitangeli's user avatar
0 votes
1 answer
46 views

My Cloudfront distribution is showing access denied despite enabling all public access to the bucket objects

I am using the following CF policy in my S3 bucket: { "Version": "2008-10-17", "Id": "PolicyForCloudFrontPrivateContent", "...
Navdeep Singh's user avatar
0 votes
0 answers
37 views

Why do I need to map separate s3 buckets for www subdomain requests in AWS?

I have a question about how DNS works in conjunction with AWS s3 buckets that I am trying to understand. I have a modest knowledge about DNS and AWS, but I don't understand why my routing solution ...
Roger Hill's user avatar
1 vote
1 answer
127 views

Scheduled task to upload a file to S3 with PowerShell ignores user profile settings

I am using Windows task scheduler with a user that has an AWS profile configuration under C:\Users<username>.aws\configuration (content below) [default] s3 = max_concurrent_requests = 300 ...
user2629636's user avatar
0 votes
1 answer
86 views

How to know if an S3 bucket with Cross-Region Replication is fully replicated?

I want to setup my S3 bucket to replicate in another region. Once it's fully replicated, I will make that bucket the main one (the idea is to migrate all data from one region to another). I know how ...
laurent's user avatar
  • 189
0 votes
1 answer
75 views

Proper Setup for a simple AWS S3 website using CloudFront & Route, with base domain and www subdomain

Which is the better design, and why? (see 2 tables) 1. Here is the configuration of my working website (example.com is the prevent domain) as setup via a Youtube Tutorial... Route53 Cloudfront Dist ...
TheArchitecta's user avatar
0 votes
0 answers
65 views

Enable MFA S3 delete

I have THALES TOTP hardware tokens (MFA) which I would like to use as and additional protection against the accidental S3 object deletion (https://docs.aws.amazon.com/AmazonS3/latest/userguide/...
STeN's user avatar
  • 1
1 vote
2 answers
1k views

ansible - couldn't resolve module/action 'amazon.aws.s3_object' / The module amazon.aws.s3_object was not found in configured module paths

Per requirements, I did installed all the required packages, however amazon.aws.s3_object is one of those things: couldn't be resolved/found was not found in configured module paths step(s), I used ...
alexus's user avatar
  • 13.2k
0 votes
0 answers
65 views

AWS AppStream is unable to push session script logs to s3

I have configured session scripts to log stdout and stderr to s3 bucket as described in https://docs.aws.amazon.com/appstream2/latest/developerguide/use-session-scripts.html#enable-S3-bucket-storage-...
MPP's user avatar
  • 1
0 votes
1 answer
91 views

Best practice for storing personal information on AWS that we shouldn't be able to see

We store customer information that we shouldn't have access to, and don't want to inconvenience users by making them lose information if they forget their passwords, is there a good way to solve this ...
ze234we23's user avatar
0 votes
0 answers
131 views

AWS Lambda's indirect S3 requests

I noticed AWS Lambda causes S3 tier 1 and 2 requests. Do these cost anything after 12 months free tier expires? Specifically: Create new AWS Lambda function in AWS console causes 1 tier 1 S3 request ...
fejyesynb's user avatar
  • 121
0 votes
0 answers
287 views

botocore.exceptions.ClientError: An error occurred (InvalidToken) when calling the ListObjectsV2 operation

I have an mlflow server that is hosted on aws, that uses s3 in the background for storage. I am trying to run a lambda-function that runs a python script which accesses the mlflow server, loads a ...
ptushev's user avatar
0 votes
2 answers
208 views

How I can Log what and who can access and where my S3 bucket?

Recently I received an email in order to tell me that some IE connections has access to my bucket: eu-central-1|media.myapp | REST.GET.OBJECT|TLSv1|9|[Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1;...
Dimitrios Desyllas's user avatar
0 votes
1 answer
213 views

S3 / Cloudfront / Load balancer Architecture explanation needed

My architecture is like so: I have a static website xyz.com hosted on s3 and served with cloudfront. The website is accessing an api that seats behind a load balancer. I want to make sure that only ...
April Henig's user avatar
0 votes
0 answers
776 views

Whitelist an S3 Bucket in server firewall

I am looking for a way to whitelist an S3 Bucket on my client's server. In this S3 bucket there is a public website, thus, my idea is to find the ip address used for this S3 bucket. However, I have ...
Vitomir's user avatar
  • 103
0 votes
1 answer
721 views

Getting 403 (Forbidden) when try to load an S3 file from AWS CloudFront behaviour

I have created an S3 bucket. All objects are publicly accessible. I can access the image file via S3 url: https://S3_BUCKET_NAME.s3.eu-west-1.amazonaws.com/xyz.jpg I can access the image file via ...
tom's user avatar
  • 1
0 votes
1 answer
73 views

Using S3 instead of MinIO for video management

I am relatively new to AWS so I wanted to reach out to the gurus in the community to get some advice on architecture, and I thought I would share my thoughts. I am building out cloud infrastructure ...
Jeremy Leys's user avatar
0 votes
1 answer
43 views

Cloud File Storage: Does zipping files reduce data transmission speed / costs?

If I need to store, say, a 5gb file on a cloud file storage location (e.g., aws s3 bucket), will zipping the file reduce the cost / latency when people download it? Obviously zipping a file reduces ...
Matt's user avatar
  • 105
1 vote
1 answer
379 views

AWS IAM: deny users from creating policies on specific resources

I want to be able to give my admin users the permission to create policies in IAM, but I want to make sure that they aren't able to create a policy that affects a specific resource. To be more ...
Jamie Forrest's user avatar
0 votes
0 answers
26 views

Is storing data in S3 cheaper than paying for cross-az data transfer?

Imagine I have two EC2 instances A and B, in the same region/vpc, but in different AZs. I want to transfer 1TB from A to B. Now let's imagine two scenarios: I send the data from A to B directly. I ...
foo's user avatar
  • 170
1 vote
0 answers
348 views

Amazon S3 life cycle rule for sub folder contents?

With this reference link My s3 bucket name say testbucket. If I create prefix for a rule say. subfolder1/ All the objects in it are applied this rule. But it is not getting applied for objects inside ...
user2331760's user avatar
1 vote
2 answers
2k views

CloudFront distribution can't access S3 bucket for website static assets

The problem I'm trying to deploy an S3 bucket hosting my static website asset and a cloudfront distribution to access it, but the distribution still return a bare xml file for an 'access denied' error:...
fudo's user avatar
  • 141
0 votes
0 answers
62 views

Mimic user permissions on AWS EC2 instances using IAM roles

I'm setting up an AWS account with several users. Each of these users has policies attached that restrict their access to specific S3 buckets/objects and the EC2 instance types / Autoscaling Groups ...
Marcelo Villa's user avatar
0 votes
1 answer
2k views

How can I sync two S3-compliant buckets which have different credentials?

I've got a MinIO bucket (which uses the S3 API for access) and I want to copy all its data into an AWS S3 bucket. They both use the same API, but the I can't find a tool that lets me copy directly ...
Mourndark's user avatar
  • 159
0 votes
1 answer
361 views

Seamless switch from NAT GATEWAY to VPC gateway

My team is currently burdened by the NAT Gateway costs and we would like to switch over to VPC Gateway endpoint to reduce the costs associated with all the EC2-S3 communication. at the same time, We ...
santhu's user avatar
  • 1
0 votes
0 answers
29 views

How to assign an IAM role having the same permission set as the IPs have?

How to update the IAM policy below so that the IAM role, arn:aws:iam::7574333677569:role/dev-abc-webserver, also have permissions? { "Version": "2012-10-17", "Id":...
sam23's user avatar
  • 59
0 votes
1 answer
301 views

S3 static website is loading pretty slow on private window mode only

I'm not sure is this is an S3 issue or something with my website but would like to ask the community for some help. Configuration: I have a static website (about 700KB) hosted on S3. My .css and .js ...
carlitobrigante's user avatar
0 votes
0 answers
37 views

AWS S3 > Life Cycle Policy > to delete S3 bucket profiles not utilised over 3 months?

I am looking into possibility to setup a policy to delete the profiles within S3 bucket that have not been used over 3+ months. Is that possible and where would I setup? Would appreciate your ...
BiMi's user avatar
  • 1
1 vote
0 answers
317 views

AWS S3 Bucket Static Website Index/ Home Access Denied

So i have problem with AWS S3 Bucket Static when i try to access my domain without filename. http://customdomain/ >> Error access denied http://customdomain/index.html >> normal but it's ...
Sinauwae's user avatar
0 votes
0 answers
40 views

Identify the profiles stored in S3 Bucket?

New to this, and new to AWS in general. Currently reviewing the profiles in S3 bucket to identify which ones can be deleted. it is not easy to identify whom it belongs to as its a SHA256 generated ...
BiMi's user avatar
  • 1
0 votes
1 answer
137 views

Does AWS CLI bring data across local network when doing `aws s3 mv` between two S3 locations?

When moving data between two S3 locations using the AWS CLI, for example: aws s3 mv s3://bucket/prefix s3://bucket/other-prefix Is the data downloaded to your local computer and then re-uploaded? Or ...
Nick's user avatar
  • 131
1 vote
1 answer
658 views

On AWS Cloudfront, I'd like to route /api/* requests to an external api

I'm fairly new to Cloudfront ( AWS in general ), and looking set up a behaviour such that any requests that is for example test.com/api/* goes to an existing api that we also own, except it's on a ...
Ben Perram's user avatar
0 votes
0 answers
2k views

public s3 bucket file download getting access denied error for files transfered from another account

Hi i have created a bucket in s3 and made public, If i upload any file i am able to download the file with url from public. But when I did a copy of all s3 files from another account (which also had ...
Naggappan Ramukannan's user avatar
0 votes
1 answer
4k views

Why does an S3 to S3 copy care about VPCs? Related to error: "VPC endpoints do not support cross-region requests."

Goal: Get files from Bucket 1 in ca-central-1 in Account A to Bucket 2 in us-east-1 in Account B using the AWS CLI from a third machine using an the IAM role with correct S3 read and write ...
Ben Ogorek's user avatar
2 votes
1 answer
733 views

What is the purpose of version dates in AWS policy documents

AWS policies contain a date version. What is its purpose? In this example a bucket policy and a user policy both contain "Version": "2012-10-17" in the JSON. I don't see the ...
John Skiles Skinner's user avatar
0 votes
0 answers
158 views

CloudFront Access Logs Issue

I was tried querying our CloudFront logs using Athena for an error i'm getting but haven't received any results. The query i'm trying using is: SELECT * FROM cloudfront_logs WHERE request_id = > ...
samtech 2021's user avatar
1 vote
0 answers
60 views

Reduce Query Syntax for ends_with()

I have the following query: --query "Contents[?ends_with(Key, 'jpg') || ends_with(Key, 'NEF') || ends_with(Key, 'nef') || ends_with(Key, 'CR2') || ends_with(Key, 'cr2')]" Is there a way to ...
davidbitton's user avatar
2 votes
1 answer
356 views

Since S3 charges by request, couldn't a malicious hacker cause a huge AWS bill just by spamming requests?

What would stop them from doing so, against, say, a static website hosted using S3? Is there a good way to deny some requests such that one avoids getting billed for them? (Context: I want to host a ...
Asker's user avatar
  • 121
1 vote
1 answer
515 views

Why would anyone disable S3 KMS "bucket key" option?

As per the documentation: Amazon S3 Bucket Keys reduce the cost of Amazon S3 server-side encryption using AWS Key Management Service (SSE-KMS). This new bucket-level key for SSE can reduce AWS KMS ...
Rino Bino's user avatar
  • 563
1 vote
1 answer
1k views

RDS PostgreSQL Import+Export to/from S3

Is it possible to enable both importing and exporting with an RDS PostgreSQL instance to an S3 bucket? I've been able to use the following pattern to enable one or the other with consistent success: ...
Jerbot's user avatar
  • 394
1 vote
1 answer
316 views

AWS s3 sftp without AWS transfer family

Are there any other ways to upload files from an Ubuntu server to AWS s3 without AWS Transfer Family? I have to make a MYSQL dump every five minutes and upload to the bucket but the Transfer Family's ...
irobacsi's user avatar
0 votes
1 answer
87 views

Rails 6 - Understanding AWS Pricing for CDN video on demand application

I am working on an Rails 6 application, already on production which is heavily dependent on AWS Services like S3, Lambda, Cloudtrail, SNS and CDN to serve a video-on-demand app, where users can upload ...
Milind's user avatar
  • 101
1 vote
0 answers
840 views

Unable to resolve AWS S3 and other DNS from Docker container

We have an API that puts an object to AWS S3 using the Java API. It works fine from the locations below: From our local dev workstations From within production docker containers in EC2 machines. But,...
Sriram Sridharan's user avatar
0 votes
0 answers
463 views

Create Windows 10 AMI for EC2 AWS

I have case to create AMI based on windows 10 OS, the AMI file will be used on AWS ec2 to run some our 3rd party programs for client. I have tried to follow several tutorial and guidelines from google ...
Ahmad_Green's user avatar
1 vote
1 answer
793 views

Fargate task from service with Public IP disabled can't download env file from S3

We have a Fargate service that should be exposed to the internet via a load balancer, and since for tests we had used so far the random Public IP of the task, we decided to disable the Public IP, so ...
Ncifra's user avatar
  • 111
0 votes
0 answers
918 views

Breakdown of AWS S3 DataTransfer-Out-Bytes costs per object

I have an app where various customers upload files to a single S3 bucket in my AWS account. Over time the costs of DataTransfer-Out-Bytes have grown and I want to see if there's some way to understand ...
Richard's user avatar
1 vote
1 answer
1k views

S3 access control based on bucket tags

i hope you can help me out. I have read a couple of docs now, and I am still unsure whether this actually works. I want to give access in different levels to AWS users based on S3 tags. Example: S3 ...
flypenguin's user avatar
1 vote
1 answer
10k views

How do I extract a list of all folders of my AWS S3 storage bucket or directories?

Does Amazon provide an easy way extract a list of all folders that have files greater than 500 MB from a s3 bucket? want to limit the scope to the '/files/ftp_upload/' directories also This is so I ...
sam23's user avatar
  • 59
0 votes
1 answer
814 views

AWS Policy to Read/write RDS

In my scenario , I want a policy that will allow reading and writing of abc-database-backups/rds/postgresql-backup on S3? We'll want the my servers to have that access added. Is creating a role and ...
samtech's user avatar
0 votes
1 answer
169 views

How do I open a private static website using boto3?

I have a static website consisting of multiple HTML, CSS, and media files uploaded to a private S3 bucket. I would like to access the website using my web browser. I'm currently using boto3 to ...
Daniel Freeman's user avatar

1
2 3 4 5
12