FTP/FTPS Support
This guide has been reviewed and reformatted for Ruk-Com Cloud PaaS. Screens may vary slightly by platform version.
Click or tap a screenshot to view it at its original size.
Objective
This guide explains how to use FTP/FTPS Support on Ruk-Com Cloud PaaS, with ordered procedures and practical verification points.
Before you begin
- Sign in with an account permitted to manage the relevant environment.
- Confirm the target environment, region and resources before saving changes.
- Create a backup or rollback plan before changing a production system.
FTP (File Transfer Protocol)It is a standard network protocol used forTransfer files between hostsBoth sides through the network usedTCPBy working on the architecture Client–Server, which separates the connection between: data transmission (Data Connection) and command control (Control Connection)
To increase security when using FTP, you can useFTPS (FTP Secure)This is FTP which is also encrypted.SSL/TLS
What is coded includes:
- wp:list-item
- Username (Username) /wp:list-item wp:list-item
- Password /wp:list-item wp:list-item
- Data sent via FTP session
(Our platform supports both FTP and FTPS)
/wp:list-item
- wp:list-item
- FTPisstateful protocol– A control session is created that lasts throughout the connection. /wp:list-item wp:list-item
- HTTPisstateless– No session state is stored between requests. /wp:list-item
FTP is ideal for transferring multiple files in a single connection.
- wp:list-item
- Upload/download files or resources /wp:list-item wp:list-item
- Download and read logs to analyze the system. /wp:list-item wp:list-item
- Edit Configuration Files /wp:list-item wp:list-item
- Sync files between development machine and server. /wp:list-item wp:list-item
- Deploying applications via FTPNot recommended
(⚠️ It is recommended to use Git or a CI/CD system instead for more accuracy and security)
/wp:list-item
This feature can be used with application servers and databases.
Note:FTP add-on is currently not supported for Docker containers.
What is required to use FTP on the Ruk-Com Cloud platform?
If you want to connect and useFTP/FTPSTo transfer files to a container or node in your environment, the following components must be prepared:
1.Install FTP Client
For example:
- wp:list-item
- FileZilla(Windows, macOS, Linux) /wp:list-item wp:list-item
- WinSCP (for Windows) /wp:list-item wp:list-item
- Cyberduck or other programs that support FTP/FTPS
2.Add a Compute Node to the Environment
- wp:list-item
- The container that will use FTP must be running on a Compute Node. /wp:list-item wp:list-item
- If you don't already have one, add them via the Dashboard in the Environment creation or expansion process.
3.Attach the Public IP to the desired node.
- wp:list-item
- In order to be able to connect via FTP Client from outside, it is requiredPublic IPBind to that node /wp:list-item wp:list-item
- Public IP can be added from the dashboard. To do so, click on the node → select “Attach Public IP”. /wp:list-item
wp:paragraph?If using FTPS, it is recommended to check that the firewall and ports used by the FTP client can connect. /wp:paragraph
Let's walk through the step-by-step process for adding FTP to your environment:
- wp:list-item
- Creating the Environment /wp:list-item wp:list-item
- Installing FTP /wp:list-item wp:list-item
- Using FTP /wp:list-item wp:list-item
- file transfer /wp:list-item wp:list-item
- Downloading Log Files /wp:list-item wp:list-item
- File sync /wp:list-item wp:list-item
- Editing the Configuration File /wp:list-item wp:list-item
- Deploy Application via FTP /wp:list-item wp:list-item
- Using FTPS /wp:list-item wp:list-item
- Changing your FTP password to a new one /wp:list-item wp:list-item
- Specifying the FTP password manually /wp:list-item wp:list-item
- Uninstalling FTP /wp:list-item
Creating the Environment
1. Login to Ruk-Com Cloud dashboard.
2. ClickNew Environmentto set up a new environment

3. In the wizard page that opens, selectapplication server(such asNginx) ordatabase(such asMySQL) and addPublic IP

ClickCreateto create the environment and wait a moment
Installing FTP
1. Click the buttonAdd-Onsat your application server

2. In the tab that opens you will see a list of all applications that can be added to your environment, you can clickInstallto install

3. Confirm the installation by clicking the button.Install

4. After adding the environment to your environment, you will receive an email with your access credentials (FTP links, login, Password, IPs, etc.).
Using FTP
1. InstallFTP Client(viaFileZilla)
2. Enter the Host, Username, and Password using the credentials received via email after creating the environment to complete the connection.

3. You can now see a list of config folders in your FTP Client.
4. You can make the changes you want (e.g. download, copy, delete files, etc.).
5. If you refresh the data in the tabconfigOn your server in the Ruk-Com Cloud dashboard you will see all changes made through the FTP Client.
file transfer
1. InstallFTP Client(viaFileZilla)
2. Enter Host, Username and Password using the credentials received via email after completing the environment creation and proceed to connect by clicking the button.Quickconnect
3. You can easily upload or download files. By double clicking on those files. To transfer multiple directories and/or files, select the directories and right-click. Then click onUpload/DownloadIn the pop-up menu
4. You can drag files from one directory and drop them on another directory to transfer.
5. If you want to transfer files later You can add your files to the queue by clicking Add files to queue.
6. Another useful feature is directory comparison. If you want to quickly see the differences between local and server files, you can click onView > Directory ComparisonSelect Compare File Size or Compare Edit Time and clickEnable
Downloading Log Files
1. InstallFTP Client(viaFileZilla)
2. Enter Host, Username and Password using the credentials received via email after completing the environment creation and proceed to connect by clicking the button.Quickconnect
3. Now you can export your logs files by going to the logs folder, selecting the files you want, and clicking Download as shown in the screenshot below.
File sync
1. Install and start usingGoodSyncClick the button.Browseon the left side
2. In the window that opens, select the FTP tab, fill in the fields (Host, Username, Password) and click the button.Go
3. Then select the required folders on your server and click OK.
4. After that clickBrowseon the right and select the folder on your device that you want to back up or sync data to.
5. In the main window, click the button.AnalyzeYou will see all the differences in the selected folder.
6. Click the Sync button to synchronize.
Editing the Configuration File
1. Open your config editor (for example:Sublime Text 2)
2. Connect to your server via FTP (if you are using Sublime, clickFile -> FTP/SFTP -> Browse server) to edit your file.
Deploy Application via FTP
Note:Deploying your app in this manner is not recommended because the application you deploy will not be displayed in the dashboard.
Let's look at a quick example of how to deploy it.Railowith your environment via FileZilla
1. Install and openFTP Client(such asFileZilla)
2. Connect to your environment via FTP. EnterHost, UsernameandPasswordand click the buttonQuickconnect
3. Copy your application files into the folder.ROOT(Or create another context for your app and copy the files in there)
4. You can now return to the dashboard to validate by clicking the button.Open in Browserat your environment
Using FTPS
1. ProgramFileZillago toFTP client > File > Site manager
2. Create a new site and fill in the required information:
- wp:list-item
- Host(use your FTP credentials) /wp:list-item wp:list-item
- Protocol(FTP - File Transfer Protocol) /wp:list-item wp:list-item
- Encryption(Require explicit FTP over TLS) /wp:list-item wp:list-item
- Logon Type(Interactive) /wp:list-item wp:list-item
- User(use your FTP credentials) /wp:list-item
3. ClickConnect
4. Enter password
5. You can now connect via FTPS.
Changing your FTP password to a new one
1. Click the buttonAdd-Onsat your application server
2. Find the FTP application, click the button.Reset Password
3. A new password will then be sent to your email.
Specifying the FTP password manually
You can change the password for FTP-addon installed in your environment. Manually setting your password instead of using the password automatically sent via email greatly improves the security of your application.
You can change your FTP password via SSH by following these steps:
1. Generate an SSH key and add it to your dashboard.
2. Access the required container with the installed FTP-addon via SSH.
3. Run the following command inside the container:
sudo /usr/bin/passwd jelastic-ftp
4. Enter your new password and confirm it again.
More:After entering your new password, you will see a notification message such as:BAD PASSWORD: it is based on a dictionary wordorBAD PASSWORD: is too simple.
These are just suggestions for increasing the reliability of your password. You can ignore it if you consider your custom password to be secure enough. However, the password will be changed as you specified.
You can now use the new password for accessing your environment via the FTP protocol.
Uninstalling FTP
1. Click the buttonAdd-Onsat your application server
2. Find the FTP application, click the button.Uninstall
Note:If you install FTP in an environment with a single application server, Horizontal scaling of this environment will clone this server together with FTP (horizontal scaling) In such a manner, FTP will be installed on both instances with the same credentials.
In the case of using a Glassfish server, if FTP is installed it will not be cloned to the newly added GlassFish server. Therefore, if you want to install FTP on both instances You must disable FTP and then reinstall it to enable it on both servers.