InfoSphere CDC
There are many ways to connect a Db2 database to IBM® Db2® as a Service. One way is to capture data that changed in your on-premises Db2 database with IBM InfoSphere Change Data Capture (InfoSphere CDC), which is a real-time data synchronization solution.
To synchronize your on-premises data in real time to your IBM Db2 SaaS database with InfoSphere CDC, see this tutorial: How to stay online while moving data to Db2 on Cloud.