Closed MikeTheCanuck closed 5 years ago
Following the same sequence as was followed for 2018ND:
2018DR
Resource block in master.yaml
2018DiRe
and use the same Parameters as for the other 2018 and 2019 Fargate-based services, substituting DR-specific valuesListenerRulePriority
and ListenerRuleTlsPriority
(e.g. "83" and "84" are currently unused, as would any other higher values in the 80-range).master.yaml
- upload the modifiedmaster.yaml
to our S3 bucket, then use it to "Update Stack"2018DR
and "30" and "31").master.yaml
, verify the API is again working properly./services
for the service that's been migrated e.g. /services/disaster-resilience-service
in the https://github.com/hackoregon/hackoregon-aws-infrastructure/ repomaster.yaml
, deleted service.yaml
) to the infra repo as a PR.Update the ecs-deploy.sh
script with the code referenced here:
https://github.com/hackoregon/civic-devops/issues/268
Update the ECS_SERVICE_NAME
environment variable with the new name assigned by ECS to the Service e.g. hacko-integration-2019Sandbox-17LKPAJ76VI06-Service-NY9MKVKFMBQL
Note: we discovered quite by accident (but should've remembered and tracked this problem) that the ecs-deploy.sh
script used by Travis via each container repo's scripts needs to be updated to a more recent version than the pre-PR-129 code that we'd previously been using, since that PR is what added support for Fargate.
I've logged this as issue #268 and I've updated the above instructions since they're referenced for each other API migration.
Addresses #244 for the 2018 Disaster Resilience API. Follows the work in #259, and implements similar work as https://github.com/hackoregon/hackoregon-aws-infrastructure/pull/84.
Tests that will confirm the container has successfully migrated:
10.180.9.210 [09/Aug/2019:20:52:04 +0000] GET /disaster-resilience/ HTTP/1.1 200 23929 - ELB-HealthChecker/2.0 0.103165
count: 785067
and detailed JSON objects in theresults
section/disaster-resilience/api/Address/
with a 200 response code