Closed lprivette closed 3 years ago
Setup doi-fev.wim.usgs.gov with the same settings as wim.usgs.gov. I think all the permissions were copied as well for accessing it.
Thank you!
It won't let me create anything
@fanguyc-usgs you'll also need to create an IAM policy (just copy one of the already existing S3 IAM policies and change the resources) and apply it to Lauren's user account. You'll also probably want to create the DNS record in Route53 if the bucket is intended as a static web site.
Added IAM Policy and attached it to @lprivette 's account. Let me know if you can create things now, and will this be a static website like https://wim.usgs.gov/ ?
Sorry I should have responded to that earlier. So I don't 100% understand the boundaries of a "static" website. but it will be like our other mappers, FEV for example. Or the CBRS Projects Mapper ( https://wim.usgs.gov/cbrs-projects-mapper/) in the wim.usgs.gov bucket.
I tried uploading files both as a sub folder and directly to bucket but nothing is resolving. Just says "(failed)" in the status for doi-fev.wim.usgs.gov
I can see what you uploaded and I enabled the website at doi-fev.wim.usgs.gov
I wonder if this is related to the 500 issue error for the images in stn.
That issue has never manifested itself in that way for this app. Usually it just show an error in the popup when you click on a site that has that file.
this is what I see
it's been deployed previously to test.wim.usgs.gov/doiFevTest, which loads
Does it have the same problems at http://doi-fev.wim.usgs.gov.s3-website-us-east-1.amazonaws.com/ ? Might be a problem with how I did the routing.
@aaronstephenson did you ever have a route53 setup work on Firefox but not Chrome or Edge? http://doi-fev.wim.usgs.gov/ works in Firefox but does not load on Chrome or Edge
Can't say that I have. Maybe something is wrong with the headers?
Looks like I need to setup cloudfront for the bucket to serve the static website. Stackoverflow pointed to this AWS article and all the other routes are cloudfront, IP, or pointing to an EC2 instance https://docs.aws.amazon.com/AmazonS3/latest/userguide/website-hosting-custom-domain-walkthrough.html
All but two of our S3 websites are reverse proxied thru our Toad or Luigi EC2 instances.
Setup a reverse proxy like sparrow on Toad. Works on my machine and personal pc, @lprivette please check if everything is working correctly https://doi-fev.wim.usgs.gov/
Working as expected, thank you Chad!
I tried creating it myself with settings equal to wim.usgs.gov bucket, but it says I don't have the correct permissions to configure the settings.