> For the complete documentation index, see [llms.txt](https://docs.vngcloud.vn/vng-cloud-document/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vngcloud.vn/vng-cloud-document/vserver/compute-hcm03-1a/snapshot/usecase-snapshot/migrate-data-and-applications-between-environments.md).

# Migrate data and applications between environments

A technology company is highly enthusiastic about developing a unique new application. They have decided on a meticulous deployment plan, starting with transitioning the application from the development environment to the testing environment before finally deploying it to the production environment. The mission of this application is to bring significant improvements to the current system and is expected to impact the experience of millions of users.

Before embarking on the deployment process, the development team made a series of changes and improvements to the development environment. This includes new development and performance enhancements to ensure perfect readiness for the new application.

To ensure consistency and synchronization between the production and testing environments, they performed Snapshot creation for servers and volumes in the production environment. This ensures that all system configurations and valuable data are protected and ready.

After creating the Snapshot, the development team began the process of deploying the new version of the application to the testing environment. This allowed them to test the integration and performance of the application in an environment similar to production without affecting end-users.

During testing, they identified and recorded some performance and compatibility issues. This prompted them to make the necessary adjustments and improvements to ensure that the application runs smoothly and meets quality standards.

While the new application is in the development and enhancement phase in the testing environment, maintaining data consistency is crucial. They used Snapshots from the production environment to synchronize the latest data into the testing environment. This ensures that changes in production data are also tested and evaluated.

Once they had verified and ensured the stability and performance of the new application in the testing environment, they confidently deployed the new version to the production environment. This deployment was carried out safely and effectively to ensure that the new application operates correctly when facing millions of users.

Thanks to the use of Snapshots and data synchronization, the company was able to smoothly transition the new application and ensure consistency between the testing and production environments. This helped them avoid major disruptions during deployment and ensured that the new application operates correctly when facing millions of users.

<br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.vngcloud.vn/vng-cloud-document/vserver/compute-hcm03-1a/snapshot/usecase-snapshot/migrate-data-and-applications-between-environments.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
