Difference between revisions of "Cloning an instance"

From TempusServa wiki
Jump to navigation Jump to search
Line 12: Line 12:


== Cloning the system ==
== Cloning the system ==
Copy an instance
# Run: ts clone-app
# Define source name
# Define name of new instance
Validate after 2 mins that the instance is running
Optionally change certain configurations
# smtpTestMode
# serviceAutostart

Revision as of 12:23, 7 November 2024

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}

Test you can connect to the server

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

Optionally change certain configurations

  1. smtpTestMode
  2. serviceAutostart