-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[coepi-backend-aws]: Create a domain api.coepi.org and redirect the Cloud API endpoint to that URL #8
Comments
Is there any reason why we shouldn't do this via Route53? |
I don't see why not. Just confirm with Scott |
Not sure where we left this after the Slack conversation. It's easier for me to do the CNAME / A record directly with my registrar than to delegate a zone to R53 if we're just doing the single hostname. But if there are significant advantages to delegating api.coepi.org to R53, also happy to do that. If not, just LMK what hostname. you want it CNAMEd to. |
The current working endpoint that can be CNAMEd to is this one -> https://18ye1iivg6.execute-api.us-west-1.amazonaws.com The full API endpoint for v4 looks like this: which should translate to We can then use the below strategy to keep the same hostname and proceed with versioning: |
@scottleibrand @bhushanRamnani The issue is that endpoints exposed by API Gateway are not "fixed" if the API gateway is recreated - this means that we'd have to get @scottleibrand to update the CNAME manually every time the API Gateway is (re)created if we just point the existing CNAME to the AWS API Gateway. This seems like something worth avoiding. Best option is to set up a "custom" fixed API DNS in R53 that doesn't change and have @scottleibrand point his CNAME at that, I think? |
Ok, I've CNAMEd api.coepi.org to 18ye1iivg6.execute-api.us-west-1.amazonaws.com for now, and can update that to point to a R53 target once y'all create it. |
Getting a certificate error -> f0189818d391:~ ramnanib$ curl -X GET https://api.coepi.org/v4/tcnreport |
No description provided.
The text was updated successfully, but these errors were encountered: