Data Synchronization
Workaround of the Data Synchronization
The workflow below creates a single application-server node, deploys and configures the application on that node, and then scales the layer horizontally so the newly added instances are created with the initial project data.
Create the Environment
1Open the platform dashboard
Sign in to the platform and click Create environment or New Environment.
2Configure the initial topology
In the topology wizard, select one PHP application-server instance and add any other required services. Enter the environment name and click Create.
Upload the Application
3Open Deployment Manager
Upload the application package from a local file or provide an archive URL.
Deploy and Configure the Project
4Deploy the uploaded package
Select the archive in Deployment Manager, click Deploy to, and choose the target environment.
Specify the application target path when several projects need to be hosted on the same server, then click Deploy.
5Complete the initial configuration
Wait for deployment to finish and make all required application and server configuration changes while the layer still contains a single node.
Scale the Application Layer
6Add the required server instances
Open the topology wizard for the existing environment and increase the number of PHP application-server nodes.
The newly added instances are created using the initial node as the source, so the deployed project and the configuration available at that moment are copied to the new containers.
Synchronization Limitations and Alternatives
- Use the file manager when deploying the application to achieve the initial synchronization effect described above.
- Later file or configuration changes are not replicated automatically.
- For an existing multi-node environment, scale the layer down to one node, apply the required data or configuration changes, and then scale it up again.
- Use WebDAV where appropriate to synchronize or manage shared files.
- Use the Configuration File Manager for manual configuration updates.
- The initial master node can be used as a storage server to share data across the layer.
