Skip to content
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

Add DNS entry for edu.chainguard.dev pointing at App Engine #54

Closed
jamonation opened this issue Aug 25, 2022 · 7 comments
Closed

Add DNS entry for edu.chainguard.dev pointing at App Engine #54

jamonation opened this issue Aug 25, 2022 · 7 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@jamonation
Copy link
Collaborator

We'd like to get DNS set up ahead of the site launch and will need a bit of help @afeddersen. The Chainguard Academy site is hosted on App Engine at https://chainguard-academy.uc.r.appspot.com with IAP restricting access to chainguard.dev project members until launch.

The process to add a custom domain to App Engine is a little involved, requiring validation with a TXT record, and then adding a CNAME to point at App Engine itself.

Here's what Google shows when I start the process:
Screen Shot 2022-08-25 at 3 06 21 PM
Screen Shot 2022-08-25 at 3 06 46 PM

Once that TXT record is verified, I think the CNAME to point edu.chainguard.dev at is ghs.googlehosted.com. From there I'm fairly sure I can finish the rest in App Engine, e.g. TLS cert.

@jamonation jamonation added the documentation Improvements or additions to documentation label Aug 25, 2022
@jamonation jamonation self-assigned this Aug 25, 2022
@afeddersen afeddersen self-assigned this Aug 25, 2022
@afeddersen
Copy link

Hey Jamon -- I set this up recently for my wife. Are you using Google AppEngine Standard?

I can't remember the exact order, and I'm not sure it matters, but I think I added the custom domain first.

Screen Shot 2022-08-25 at 5 38 17 PM

Then I updated the DNS in my Google Domains account.

Screen Shot 2022-08-25 at 5 38 55 PM

@jamonation
Copy link
Collaborator Author

jamonation commented Aug 25, 2022

Odd @afeddersen, I wonder if that pristinehiring.com domain being registered with Google Domains and associated with your account marks it as validated automatically?

The only thing I can do in the UI is what's in my screenshots :(

@afeddersen
Copy link

afeddersen commented Aug 26, 2022

I'm an organization admin which means I don't have owner permissions on your project by default but I can give myself access. When I first visited this page I could not add a custom domain -> https://console.cloud.google.com/appengine/settings/domains?project=chainguard-academy

I went to the IAM console and granted myself AppEngine Admin, and then it worked. I see you're an owner which seems like that would be enough but I also added AppEngine Admin to your principal. Can you visit that link and see if it's possible now? If it's not please ping me whenever and we'll jump on a call together to get it done. :)

@jamonation
Copy link
Collaborator Author

@mattmoor - Anthony and I have both tried to create a custom domainin App Engine so that I can point edu.chainguard.dev at the Academy site. It sounds like we'll need some help from you to verify the domain. When you've got a moment could you take a look at adding it here? https://console.cloud.google.com/appengine/settings/domains?project=chainguard-academy

@mattmoor
Copy link
Member

@jamonation Do you wanna grab some time with me tomorrow and we can knock this out? Would like a second set of eyes here.

@jamonation
Copy link
Collaborator Author

@mattmoor sounds good, I put a time on your calendar for later today, let me know if we need to reschedule.

@jamonation
Copy link
Collaborator Author

Thanks for the help all, we got this configured today, TLS and all. The App Engine infrastructure is ready to turn off IAP when we soft-launch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants