# Full data migration - Import data from `Amazon S3` to `TiDB Cloud`

![`smart`](./student-guide/diagram/ImportData4_aa_001_20230718.png)

-------------------------------------------------------------------------------
If there are shards across multiple instances, you can set Source File `URIs` and `Names` to second-level directory for each sharded table. For example, if you want to migrate and merge tables `salesdb.sales` from `MySQL instance1` and `MySQL instance2` into the table `salesdb.sales` in `TiDB Cloud`, you can set Source File `URIs` and `Names` to: `s3://pe-class/salesdb/sales/`
