Closed jseppi closed 6 years ago
For visibility, I've already added the sqs:GetQueueAttributes
permission to the unused federalist-builds
queue.
Is us-west-2
in GovCloud? @erik-burgess do you have any preference where these are?
I do want them in the same spot, ideally located alongside other active services (vs being isolated)
@wslack All of these are in a standard AWS account, meaning not GovCloud. I have no preference where they are located at this point in time as long as things are documented correctly in the SSP. With one of these being in a different region, it was easy to miss as it wasn't "default." If there's a business justification or technical reason behind that, it's no problem to keep them separated.
Ok. I endorse James' suggested change, though we should execute on it with a fallback plan in case something doesn't work as predicted.
It should be just as easy as:
manifest.yml
for federalist-builder
in prod
to point to the new prod SQS urlfederalist-builder-env
service to contain credentials for the new prod SQS queue
federalist
app to the new queue address and credentialsfederalist
federalist-builder
federalist-builder
after the old queue has drained (ie builds have been completed)
We could test this all out in staging.
👍 SGTM
Happy to pair any time on this.
moved to ready
@jmhooper: want to check my steps above? https://github.com/18F/federalist/issues/1647#issuecomment-367827518
lgtm :+1:
Updated list that I'm working through now:
manifest.yml
for federalist-builder
in prod
to point to the new prod SQS url
federalist-builder-env
service to contain credentials and URL for the new prod SQS queuefederalist-ew-sqs-user
service to contain the credentials for the new prod SQS queue~
federalist
federalist-builder
federalist-builder
after the old queue has drained (ie builds have been completed)
Ran into a snag -- the production deployer account credentials have expired, so I'm getting new ones and will update CircleCI with them.
Also had to update the deployer account credentials in the CircleCI config for federalist-builder
.
All done! I ran a site build on federalist.18f.gov
after all the switches and all looks nominal!
After sprint review, we can ask Erik to retire the old production SQS queue.
👍
@jseppi did we make this ask yet?
Nope, will do now.
Unused queue (federalist-builds-cloudgov in us-west-2) has been decommissioned.
Description of feature or bug
While working though some SQS permissions issues, @erik-burgess identified that there are three SQS instances apparently belonging to Federalist:
federalist-builds-cloudgov
inus-west-2
, used in ourproduction
spacefederalist-builds-staging
inus-east-1
, used in ourstaging
spacefederalist-builds
inus-east-1
, currently unusedIt seems likely that
federalist-builds
was intended to be our production instance, but was forgotten in some move.We can probably swap production over to using that one and have the current prod queue (
federalist-builds-cloudgov
) retired.Definition of done
Depends on what we decide to do.
After evaluating, edit this part:
Level of effort - low
Implementation outline (if higher than "low" effort):