hackoregon / civic-devops

Master collection point for issues, procedures, and code to manage the HackOregon Civic platform
MIT License
11 stars 4 forks source link

Migrate 2017 frontend service to use 2017.civicplatform.org FQDN #267

Closed MikeTheCanuck closed 5 years ago

MikeTheCanuck commented 5 years ago

The 2017 frontend service currently is hosted on two domains: civicpdx.org and 2017.civicpdx.org.

@DingoEatingFuzz and I discussed this today and agreed that we can simplify and deprecate the civicpdx.org nomenclature by hosting the 2017 frontend services instead at 2017.civicplatform.org.

This means a few changes:

Once we've completed this migration, it will be trivial to create a new frontend.yaml template that can configure both the 2017 and the 2018 (which is now becoming a 2018-and-2019) containers from a single template.

And as this is going to mean net-new DNS records, I'm going to add them to our CloudFormation stack so that we can understand how to tie our DNS into the CF orchestration.

MikeTheCanuck commented 5 years ago

References used to figure this out: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/quickref-route53.html#scenario-recordsetgroup-zoneapex https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-loadbalancer.html

MikeTheCanuck commented 5 years ago

With https://github.com/hackoregon/hackoregon-aws-infrastructure/pull/91 and https://github.com/hackoregon/hackoregon-aws-infrastructure/pull/90 we can verify that the domains are directing to their intended destinations even when migrated to Fargate.