question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Be able to set Redirect Rules on S3 to specific folders

See original GitHub issue

We need to have data.covidactnow.org needs to have a latest and stable “symlinks” to specific snapshots of data that live at data.covidactnow.org/v0/<snapshotid>/....

Such that bothdata.covidactnow.org/v0/latest and data.covidactnow.org/v0/stable point to specific snapshot ids.

latest is for the most recent snapshot stable is for what data we designate as the ‘production’ version

And the process to update or change these ids should be formalized preferably in a shell script.

Possible context for how to make this work: https://docs.aws.amazon.com/AmazonS3/latest/dev/how-to-page-redirect.html

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
raygilbertcommented, Apr 7, 2020

Quick tests on S3 console shows this will work.

0reactions
raygilbertcommented, Apr 16, 2020

Looking at how to do this with AWS API Gateway.

Read more comments on GitHub >

github_iconTop Results From Across the Web

AWS::S3::Bucket RedirectRule - AWS CloudFormation
Specifies how requests are redirected. In the event of an error, you can specify a different error code to return. Syntax.
Read more >
AWS S3 Hosting with Redirection Rules | by KTree
Go to “Amazon S3” on AWS Console and select the “Bucket”: · Go to the “Properties” tab and click “Enable/Disable” button to enable...
Read more >
S3 redirection rules to exclude one folder
The example.com S3 bucket contains my website, and the www.example.com bucket is set to redirect to https://example.com. This is working fine.
Read more >
Bucket redirection rules not working with folders
I have several pages in an S3 bucket with redirects like this: http://domain.com/implementation ... Bucket redirection rules not working with folders.
Read more >
How To Set Up URL Forwarding in AWS Using Only Route ...
Using only the tools available in Amazon S3 and Amazon Route 53, this guide will teach you how to create a URL Redirect...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found