Skip to main content

Make a Development Environment Semi Persistent

Background

The short lived Sirius development environments that are used to demo stories automatically delete themselves after a period defined at environment creation. This is usually 1/2/4 hours and that timere will be refreshed upon each deployment. However there may be requirement to persist this environment for a longer period than the job will allow.

Steps

  • Log into the AWS Console.
  • Assume the operator role in the development account.
  • Switch to the eu-west-1 region(Ireland).
  • Under the “Services” drop down select DynamoDB.
  • Under tables find the “WorkspaceCleanup” table, select it and hit the “Items” tab.
  • Edit the TTL next to your workspace name.
  • Change the epoc to reflect how long you need the environment for (you can find an epoc calculator here).

Once the TTL you’ve set expires, your environment will be automatically deleted as usual.

Gotcha

If you deploy to the environment using the Jenkins job after editing the epoc then the epoc will be reset to the one you specify at the job execution time (1/2/4 hours).

This page was last reviewed on 18 January 2021. It needs to be reviewed again on 15 February 2021 by the page owner #opg-sirius-develop .
This page was set to be reviewed before 15 February 2021 by the page owner #opg-sirius-develop. This might mean the content is out of date.