Skip to content

kkehl-usgs/aqts-capture-ecosystem-switch

 
 

Repository files navigation

Aquarius Time Series (AQTS) Capture Ecosystem Switch

Build Status codecov

AWS Lambda function designed to turn off test db clusters outside of work hours.

Default behavior

The test database for AQTS will be turned on at 7 am central time and turned off at 6 pm, Monday through Friday.

The QA database will be turned off automatically every Friday at 6 pm.

What if I need to start a database manually?

In the AWS console, find the lambda function you need and invoke it with any payload:

AWS Console->Lambda->Functions->aqts-capture-ecosystem-switch-TEST-startTestDb

AWS Console->Lambda->Functions->aqts-capture-ecosystem-switch-TEST-startQaDb

What if I need to prevent automatic shutdown of the database for a long running test?

  1. AWS Console->Event Bridge->Events->Rules->aqts-capture-ecosystem-switch-sw-stop->Disable
  2. Remember to enable again when your test is concluded.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.8%
  • Dockerfile 1.2%