NASA-AMMOS / aerie

A software framework for modeling spacecraft.
https://nasa-ammos.github.io/aerie-docs/
MIT License
73 stars 19 forks source link

Aerie Dev Deployment Improvements #987

Open skovati opened 1 year ago

skovati commented 1 year ago

The existing development deployment is essentially a shell script running in a cronjob which tends to be both brittle and opaque. The AMMOS in the Cloud team has been developing a more robust ECS-based deployment using terraform. This meta ticket will track the progress in integrating this work into the existing Aerie developer environment.

### Tasks
- [ ] Standup Aerie terraform deployment (S3 state bucket)
- [ ] Bring infra-as-code into NASA-AMMOS namespace
- [ ] Convert to Continuous Deployment (λ function cron updating ECS tasks)
- [ ] Automate database migrations (λ function running `aerie_db_migration.py`
- [ ] Automate database backups (λ function running pgdump)
- [ ] Update deployment status on GH
dandelany commented 7 months ago

Another thing we talked about recently: aerie-dev should alert us somehow if migrations fail