# Cloning an instance

## <span class="mw-headline" id="bkmrk-connecting-to-the-se-1">Connecting to the server</span>

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 &gt; Connection &gt; Data &gt; Auto login username = ec2-user
    3. Set Category &gt; Connection &gt; SSH &gt; Auth &gt; Credentials &gt; Private key file authentication = {private file location}
4. Session &gt; 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

## <span class="mw-headline" id="bkmrk-cloning-the-system-1">Cloning the system</span>

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

## <span class="mw-headline" id="bkmrk-option%3A-change-confi-1">Option: Change configurations</span>

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

Consider setting

1. Backend &gt; Modules &gt; Configuration 
    - smtpTestMode = false
    - serviceAutostart = false