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

Deploy Access the Data on dev environment #14

Open
1 of 5 tasks
Tracked by #244
JasonEb opened this issue Jan 19, 2023 · 13 comments
Open
1 of 5 tasks
Tracked by #244

Deploy Access the Data on dev environment #14

JasonEb opened this issue Jan 19, 2023 · 13 comments

Comments

@JasonEb
Copy link
Contributor

JasonEb commented Jan 19, 2023

Dependency

When the Terraform setup instructions is ready

Overview

The Access The Data team seeks to deploy their app within HackForLA's AWS incubator account. @gjagnoor has a docker build ready for a dev environment.

Action Items

  • Setup project.hcls
  • Apply Terragrunt to provision AWS
  • Push Docker-build onto provisioned Fargate
  • Setup github action to deploy back-end/front-end builds to production environment

Dependencies

Resources/Instructions

Incubator
CivicTechJobs Repo

@nyarly
Copy link
Member

nyarly commented Apr 20, 2023

@JasonEb We're eager to get Access-the-data up in staging. Could I get added as an assignee for this issue?

I suspect I'll also need to be added (at least temporarily) to the ops group in order to work at all with terragrunt as well.

@nyarly
Copy link
Member

nyarly commented Sep 21, 2023

I've made some progress here - need to find some time to test it out

@nyarly
Copy link
Member

nyarly commented Oct 5, 2023

Working terraform plan for AtD dev environment.

Next steps:

  • build images based on the project's Docker Compose setup
  • terraform apply for dev
  • Push images
  • Test & debug

@mxajPrice
Copy link
Member

I am messaging Bonnie to have accessthedata.org point to nameservers:

  • ns-365.awsdns-45.com
  • ns-1756.awsdns-27.co.uk
  • ns-837.awsdns-40.net
  • ns-1109.awsdns-10.org

@ExperimentsInHonesty
Copy link
Member

Name servers have been changed. The following messages was received

Success
These DNS settings are active. Changes are published immediately, but may take time to propagate

@nyarly
Copy link
Member

nyarly commented Oct 12, 2023

I have a deploy applied for this. I'll need to do a little verification and debug once we have the NS set up, but we're close closing this issue

@nyarly
Copy link
Member

nyarly commented Oct 13, 2023

Fixing a Terraform issue required recreating the Zone file, which changed the nameserver records.

Bonnie, could you please update the accessthedata.org domain at its registrar (SquareSpace, IIUC) to be:

ns-234.awsdns-29.com
ns-876.awsdns-45.net
ns-1680.awsdns-18.co.uk
ns-1125.awsdns-12.org

Thank you!

@ExperimentsInHonesty
Copy link
Member

Name servers have been updated

@nyarly
Copy link
Member

nyarly commented Oct 25, 2023

Progress debugging the deployment. Needed extra permissions to access DB passwords in parameters, and logging configurations. Now investigating issues that the running application is having - I think the environment variables for the database configuration are not aligned with what the application expects. I'm investigating the options there.

@nyarly
Copy link
Member

nyarly commented Nov 22, 2023

Database is connecting! Now, I need to figure out how to connect the individual tasks via network (this is documentation reading exercise). It's possible once this is complete, AtD will be deployed.

@mxajPrice
Copy link
Member

We need to put this issue on hold. Access the Data will be put on hold for about six months or so.

@robinglov
Copy link
Member

Update from @nyarly : a developer who is strong in Python and understands how to containerize the application is required to take this on.

@github-project-automation github-project-automation bot moved this to New Issue Review in CoP: DevOps: Project Board Jun 27, 2024
@ExperimentsInHonesty ExperimentsInHonesty moved this from New Issue Review to Ice Box in CoP: DevOps: Project Board Jun 27, 2024
@ExperimentsInHonesty
Copy link
Member

Re write issue so that it has current instructions, and clean up the issue. or make a new issue and reference this issue as legacy.

@ExperimentsInHonesty ExperimentsInHonesty moved this from Ice Box to New Issue Review in CoP: DevOps: Project Board Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: New Issue Review
Development

No branches or pull requests

8 participants