Cloning an instance

From TempusServa wiki
Revision as of 12:27, 7 November 2024 by Kpe (talk | contribs) (→‎Connecting to the server)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Connecting to the server

First you must access the commandline on the system in question. This is done using a certificate and the Putty program.

  1. Get a certificate private key from an existing admin user
  2. Install Putty on your machine (alternative WinSCP)
  3. Set up the profile in Putty
    1. Set hostaname = {server IP or domain name}
    2. Set Category > Connection > Data > Auto login username = ec2-user
    3. Set Category > Connection > SSH > Auth > Credentials > Private key file authentication = {private file location}
  4. Session > Save

Test you can connect to the server.

Note: Connection will fail if you try connecting from an IP that is not whitelisted by the TS server team

Cloning the system

Copy an instance

  1. Run: ts clone-app
  2. Define source name
  3. Define name of new instance

Validate after 2 mins that the instance is running

Option: Change configurations

Some server settings are more appropriate for demo/test systems.

Consider setting

  1. Backend > Modules > Configuration
    • smtpTestMode = false
    • serviceAutostart = false