There are certain scenarios in which you may want to reset the database settings. One such case is that you have disabled the backend database, which would cause ElasticSSO to perform extremely slowly due to database timeouts. The database settings can be reset via the command line. To access the command line, you will need to SSH into the instance using the EC2 credentials used during instance creation.

  1. SSH into the server using user ec2-user
  2. Run the following command:
    $ sudo reset-database
  3. This will clear out the connection settings, and the web UI will indicate that the database connection is not ready.