

# Ingesting data for existing connections
<a name="ingesting-data"></a>

The following are the ingestion options if you're using Amazon S3:
+ **Append** – To append the ingestion data or for incremental ingestion, all files from the source path are combined into a single dataset before being ingested into data lake. This method ensures completeness of data for files spanning multiple days. When you remove files from the source path in your S3 bucket, files that are only available in the source path are ingested into data lake.

   The *Append* option make sure that your files in Amazon S3 are replicated and synchronized in data lake.
+ **Overwrite** – During replace, data files are ingested into data lake as they're updated in the source path. Each new file replaces the dataset entirely.
**Note**  
You can delete source flows and corresponding data in both the *Append* and *Overwrite* options.

The following are the ingestion operation options for *EDI*, *SAP S/4 HANA*, and *SAP ECC*:
+ **Update** – Updates existing rows of data using the same fields that are used in the recipe.
+ **Replace** – Deletes existing, uploaded data and replaces it with the new, incoming data.
+ **Delete** – Deletes one or more rows of data by using the primary IDs.

**To start data ingestion, follow the procedure below.**

1. On the AWS Supply Chain dashboard, on the left navigation pane, choose **Data Lake**.

1. On the **Data Ingestion** tab, choose **Connections**.

1. Select the connection to ingest data and choose **Data Ingestion**.

   The **Data Ingestion Configuration** page appears.

1. Choose **Get started**.

1. On the **Data Ingestion Details** page, select if you would like to *Update*, *Replace*, or *Delete* the data. Copy the Amazon S3 path by choosing **Copy**.

# Uploading data to an Amazon S3 bucket
<a name="manually-uploading-data"></a>

**Note**  
Follow this procedure for the SAP ERP Component Central (ECC) connector, and the EDI connector to manually ingest data in the S3 bucket associated with the AWS Supply Chain instance. If you're using the Amazon S3 API to upload data, see [Connecting to SAP ECC 6.0](connecting-sap-ecc.md), or [Connecting to an EDI](connecting-edi.md).

To upload data to an Amazon S3 bucket associated with the AWS Supply Chain instance follow the following procedure.

1. On the AWS Supply Chain dashboard, on the left navigation bar, choose **Open Connections**.

1. Select the required connection.

1. On the **Connection Details** page, note down the Amazon S3 path or choose **Copy** to copy the Amazon S3 path.

1. Open the Amazon S3 console at [https://console.aws.amazon.com/s3/](https://console.aws.amazon.com/s3/) and sign in.

1. Under **Buckets**, select the name of the bucket (the first name in the Amazon S3 path) that you want to upload your folders or files to.

1. Navigate to the Amazon S3 path that you copied from the AWS Supply Chain dashboard.

1. Choose **Upload**.  
![\[Uploading data to an Amazon S3 bucket\]](http://docs.aws.amazon.com/aws-supply-chain/latest/userguide/images/S3_console.png)