{"id":25940,"date":"2025-06-11T10:42:04","date_gmt":"2025-06-11T17:42:04","guid":{"rendered":"https:\/\/tdengine.com\/?page_id=25940"},"modified":"2026-03-05T09:16:54","modified_gmt":"2026-03-05T17:16:54","slug":"edge-cloud-sync","status":"publish","type":"page","link":"https:\/\/tdengine.com\/edge-cloud-sync\/","title":{"rendered":"Edge\u2013Cloud Synchronization with TDengine"},"content":{"rendered":"\n<p>Edge devices mainly monitor and alert on specific data on the production line, such as real-time data in a particular plant, and then synchronize this edge-side production data to a central platform in the cloud. On the edge side, real-time performance is essential, but the data volume may not be large, typically ranging from a few thousand to tens of thousands of monitoring points in a plant. On the central side, computing resources are generally abundant, capable of aggregating data from the edge side for analysis and computation.<\/p>\n\n\n\n<h2 class=\"gb-text\">TDengine&#8217;s Edge&#8211;Cloud Synchronization Solution<\/h2>\n\n\n\n<p>TDengine TSDB delivers powerful edge&#8211;cloud synchronization capabilities, including:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Efficient data synchronization: Supports synchronization of millions of data points per second, ensuring fast and stable data transmission between the edge and cloud<\/li>\n\n\n\n<li>Multiple data sources: Compatible with various external data sources, such as AVEVA PI System, OPC, and MQTT<\/li>\n\n\n\n<li>Flexible configuration: Provides configurable synchronization rules, allowing users to customize the strategy and method of data synchronization according to actual needs<\/li>\n\n\n\n<li>Automated backfill: Fills in missing edge data in the event that the connection is interrupted, ensuring that the cloud and edge are in sync<\/li>\n\n\n\n<li>Historical data: Supports the seamless migration of historical data to new or upgraded systems<\/li>\n<\/ul>\n\n\n\n<p>The following diagram illustrates the implementation of an edge&#8211;cloud synchronization architecture in TDengine Enterprise.<\/p>\n\n\n\n<figure class=\"gb-element-adc98c9d\">\n<img decoding=\"async\" width=\"2978\" height=\"1028\" class=\"gb-media-fb488735\" src=\"https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/edge-cloud-arch.png?strip=all&sharp=1\" title=\"edge-cloud-arch\" srcset=\"https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/edge-cloud-arch.png?strip=all&amp;sharp=1 2978w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/edge-cloud-arch-300x104.png?strip=all&amp;sharp=1 300w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/edge-cloud-arch-1024x353.png?strip=all&amp;sharp=1 1024w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/edge-cloud-arch-768x265.png?strip=all&amp;sharp=1 768w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/edge-cloud-arch-1536x530.png?strip=all&amp;sharp=1 1536w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/edge-cloud-arch-2048x707.png?strip=all&amp;sharp=1 2048w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/edge-cloud-arch.png?strip=all&amp;sharp=1&amp;w=595 595w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/edge-cloud-arch.png?strip=all&amp;sharp=1&amp;w=1191 1191w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/edge-cloud-arch.png?strip=all&amp;sharp=1&amp;w=1786 1786w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/edge-cloud-arch.png?strip=all&amp;sharp=1&amp;w=2382 2382w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/edge-cloud-arch.png?strip=all&amp;sharp=1&amp;w=450 450w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/edge-cloud-arch.png?strip=all&amp;sharp=1&amp;w=1920 1920w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/>\n\n\n\n<figcaption class=\"gb-text\">Edge&#8211;cloud synchronization diagram<\/figcaption>\n<\/figure>\n\n\n\n<p>For specifics, see the <a href=\"https:\/\/docs.tdengine.com\/advanced-features\/edge-cloud-synchronization\/\">official TDengine documentation<\/a>.<\/p>\n\n\n\n<h2 class=\"gb-text\">Implement Edge&#8211;Cloud Synchronization in TDengine TSDB<\/h2>\n\n\n\n<p>This procedure describes how to synchronize a TDengine TSDB instance running on the edge with a TDengine Cloud instance deployed in AWS. Note that these are the most basic steps for edge&#8211;cloud synchronization; there are many options for customization to meet your specific needs.<\/p>\n\n\n\n<h2 class=\"gb-text\">Video<\/h2>\n\n\n\n<div class=\"gb-element-76f46d17\">\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"Deploy Edge\u2013Cloud Synchronization | Time-Series Database Essentials\" width=\"1200\" height=\"675\" src=\"https:\/\/www.youtube.com\/embed\/3GgSDTpAt3o?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n<\/div>\n\n\n\n<h3 class=\"gb-text\">Prerequisites<\/h3>\n\n\n\n<ul>\n<li>\n<p>Register for a <a href=\"https:\/\/cloud.tdengine.com\">TDengine Cloud account<\/a> and set up an instance containing a database to store synchronized data.<\/p>\n<\/li>\n\n\n\n<li>\n<p>Deploy TDengine TSDB and create a topic subscribing to the data that you want to synchronize.<\/p>\n<\/li>\n\n\n\n<li>\n<p>Record the hostname and port number of taosAdapter on the edge instance, as well as the name of the topic that you created.<\/p>\n<\/li>\n\n\n\n<li>\n<p>Record the username and password of a user on the edge cluster with permission to read the topic.<\/p>\n<\/li>\n<\/ul>\n\n\n\n<h3 class=\"gb-text\">Procedure<\/h3>\n\n\n\n<ol>\n<li>\n<p>In a web browser, log in to your TDengine Cloud instance.<\/p>\n<\/li>\n\n\n\n<li>\n<p>In the main menu on the left, select <strong>Data In<\/strong> and click <strong>Add Data Source<\/strong>.<\/p>\n<\/li>\n\n\n\n<li>\n<p>Enter a name for your synchronization task.<\/p>\n<\/li>\n\n\n\n<li>\n<p>From the <strong>Type<\/strong> drop-down list, select <code class=\"\" data-line=\"\">TDengine 3.x<\/code>.<\/p>\n<\/li>\n\n\n\n<li>\n<p>From the <strong>Target DB<\/strong> drop-down list, select the database on the cloud instance where you want to store synchronized data from the edge instance.<\/p>\n\n\n\n<img decoding=\"async\" width=\"821\" height=\"200\" src=\"https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/image-34.png?strip=all&sharp=1\" srcset=\"https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/image-34.png?strip=all&amp;sharp=1 821w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/image-34-300x73.png?strip=all&amp;sharp=1 300w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/image-34-768x187.png?strip=all&amp;sharp=1 768w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/image-34.png?strip=all&amp;sharp=1&amp;w=164 164w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/image-34.png?strip=all&amp;sharp=1&amp;w=492 492w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/image-34.png?strip=all&amp;sharp=1&amp;w=656 656w\" sizes=\"(max-width: 821px) 100vw, 821px\" \/>\n<\/li>\n\n\n\n<li>\n<p>In the <strong>Connection Configuration<\/strong> section, enter the WebSocket URL to the topic on the edge instance. Include the username and password of a user on the edge instance that can access the topic.<\/p>\n\n\n\n<img decoding=\"async\" width=\"818\" height=\"129\" src=\"https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/image-35.png?strip=all&sharp=1\" srcset=\"https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/image-35.png?strip=all&amp;sharp=1 818w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/image-35-300x47.png?strip=all&amp;sharp=1 300w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/image-35-768x121.png?strip=all&amp;sharp=1 768w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/image-35.png?strip=all&amp;sharp=1&amp;w=163 163w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/image-35.png?strip=all&amp;sharp=1&amp;w=490 490w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/image-35.png?strip=all&amp;sharp=1&amp;w=654 654w\" sizes=\"(max-width: 818px) 100vw, 818px\" \/>\n<\/li>\n\n\n\n<li>\n<p>Click <strong>Check Connection<\/strong> to verify that the cloud instance can connect with the edge instance.<\/p>\n<\/li>\n\n\n\n<li>\n<p>Under <strong>Migrate Options<\/strong>, select how you want to synchronize data:<\/p>\n\n\n\n<ul class=\"gb-element-c154d54c nopad-li\">\n<li>\n<p><strong>Start From:<\/strong> choose <code class=\"\" data-line=\"\">earliest<\/code> to start synchronizing from the oldest data in the topic, or <code class=\"\" data-line=\"\">latest<\/code> to start synchronizing from the newest data in the topic<\/p>\n<\/li>\n\n\n\n<li>\n<p><strong>Client ID:<\/strong> specify a unique client ID for this synchronization task<\/p>\n<\/li>\n<\/ul>\n\n\n\n<img decoding=\"async\" width=\"819\" height=\"452\" src=\"https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/image-37.png?strip=all&sharp=1\" srcset=\"https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/image-37.png?strip=all&amp;sharp=1 819w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/image-37-300x166.png?strip=all&amp;sharp=1 300w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/image-37-768x424.png?strip=all&amp;sharp=1 768w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/image-37.png?strip=all&amp;sharp=1&amp;w=163 163w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/image-37.png?strip=all&amp;sharp=1&amp;w=491 491w, https:\/\/eujqw4hwudm.exactdn.com\/wp-content\/uploads\/image-37.png?strip=all&amp;sharp=1&amp;w=655 655w\" sizes=\"(max-width: 819px) 100vw, 819px\" \/>\n<\/li>\n\n\n\n<li>\n<p>Retain the default values for other parameters and click <strong>Add<\/strong>.<\/p>\n<\/li>\n<\/ol>\n\n\n\n<p>After a few minutes, check the database on your cloud instance and verify that data is being synchronized. You can repeat this procedure to synchronize multiple TDengine TSDB instances at the edge with a single cloud instance, aggregating your data for easier management and analytics.<\/p>\n\n\n\n<p>For more information, see the <a href=\"https:\/\/docs.tdengine.com\/advanced-features\/edge-cloud-synchronization\/\">official TDengine documentation<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Edge devices mainly monitor and alert on specific data on the production line, such as real-time data in a particular plant, and then synchronize this edge-side production data to a central platform in the cloud. On the edge side, real-time performance is essential, but the data volume may not be large, typically ranging from a &#8230; <a title=\"Edge\u2013Cloud Synchronization with TDengine\" class=\"read-more\" href=\"https:\/\/tdengine.com\/edge-cloud-sync\/\" aria-label=\"Read more about Edge\u2013Cloud Synchronization with TDengine\">Read more<\/a><\/p>\n","protected":false},"author":102,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"content-type":"","footnotes":""},"categories":[272],"tags":[],"ppma_author":[181],"class_list":{"0":"post-25940","1":"page","2":"type-page","3":"status-publish","5":"category-sp"},"_links":{"self":[{"href":"https:\/\/tdengine.com\/wp-json\/wp\/v2\/pages\/25940","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tdengine.com\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/tdengine.com\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/tdengine.com\/wp-json\/wp\/v2\/users\/102"}],"replies":[{"embeddable":true,"href":"https:\/\/tdengine.com\/wp-json\/wp\/v2\/comments?post=25940"}],"version-history":[{"count":5,"href":"https:\/\/tdengine.com\/wp-json\/wp\/v2\/pages\/25940\/revisions"}],"predecessor-version":[{"id":30980,"href":"https:\/\/tdengine.com\/wp-json\/wp\/v2\/pages\/25940\/revisions\/30980"}],"wp:attachment":[{"href":"https:\/\/tdengine.com\/wp-json\/wp\/v2\/media?parent=25940"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tdengine.com\/wp-json\/wp\/v2\/categories?post=25940"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tdengine.com\/wp-json\/wp\/v2\/tags?post=25940"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/tdengine.com\/wp-json\/wp\/v2\/ppma_author?post=25940"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}