製品をチェック

無償トライアル:

無償トライアルへ

製品の情報と無償トライアルへ:

Amazon S3 SSIS Components

パワフルなSSIS Source & Destination Components で、SQL Server とAmazon S3 クラウドストレージをSSIS ワークフローで連携。

Amazon S3 Data Flow Components を使って、S3 のバケットやオブジェクトを簡単に同期。データ同期、ローカルバックアップ、ワークフロー自動化に最適!

データ連携でお困りですか?

お問い合わせ

Export Data from SQL Server to Amazon S3 through SSIS


Easily push SQL Server data to Amazon S3 using the CData SSIS Tasks for AmazonS3.


amazons3 ロゴ画像
ssis ロゴ画像

SSIS

SSIS ロゴ画像

SQL Server databases are commonly used to store enterprise records. It is often necessary to move this data to other locations. The CData SSIS Task for AmazonS3 allows you to easily transfer Amazon S3 data. In this article you will export data from SQL Server to Amazon S3.

Add Source and Destination Components

To get started, add a new ADO.NET Source control and a new Amazon S3 Destination control to the data flow task.

The source and destination components used in this example. (Salesforce is shown.)

Configure the ADO.NET Source

Follow the steps below to specify properties required to connect to the SQL Server instance.

  1. Open the ADO.NET Source and add a new connection. Enter your server and database information here.
  2. In the Data access mode menu, select "Table or view" and select the table or view to export into Amazon S3. The SQL Server  table to export into Amazon S3. (Salesforce is shown.)
  3. Close the ADO NET Source wizard and connect it to the destination component.

Create a New Connection Manager for AmazonS3

Follow the steps below to set required connection properties in the Connection Manager.

  1. Create a new connection manager: In the Connection Manager window, right-click and then click New Connection. The Add SSIS Connection Manager dialog is displayed.
  2. Select CData AmazonS3 Connection Manager in the menu.
  3. Configure the connection properties. A typical connection requires:
    • AccessKey
    • SecretKey

    Amazon S3 リクエストを認可するには、管理者アカウントまたはカスタム権限を持つIAM ユーザーの認証情報を入力します。AccessKey をアクセスキーID に設定します。SecretKey をシークレットアクセスキーに設定します。

    Note: AWS アカウント管理者として接続できますが、AWS サービスにアクセスするにはIAM ユーザー認証情報を使用することをお勧めします。

    尚、本製品はAmazon S3 のファイルの一覧表示やユーザー管理情報の取得用です。S3 に保管されているExcel、CSV、JSON などのファイル内のデータを読み込みたい場合には、Excel DriverCSV DriverJSON Driver をご利用ください。

    アクセスキーの取得

    IAM ユーザーの資格情報を取得するには:

    1. IAM コンソールにサインインします。
    2. ナビゲーションペインで「ユーザー」を選択します。
    3. ユーザーのアクセスキーを作成または管理するには、ユーザーを選択してから「セキュリティ認証情報」タブを選択します。

    AWS ルートアカウントの資格情報を取得するには:

    1. ルートアカウントの資格情報を使用してAWS 管理コンソールにサインインします。
    2. アカウント名または番号を選択し、表示されたメニューで「My Security Credentials」を選択します。
    3. 「Continue to Security Credentials」をクリックし、「Access Keys」セクションを展開して、ルートアカウントのアクセスキーを管理または作成します。

    AWS ロールとして認証

    多くの場合、認証にはAWS ルートユーザーのダイレクトなセキュリティ認証情報ではなく、IAM ロールを使用することをお勧めします。RoleARN を指定することでAWS ロールを代わりに使用できます。これにより、本製品は指定されたロールの資格情報を取得しようと試みます。

    (すでにEC2 インスタンスなどで接続されているのではなく)AWS に接続している場合は、ロールを引き受けるIAM ユーザーのAccessKey とSecretKey を追加で指定する必要があります。AWS ルートユーザーのAccessKey および SecretKey を指定する場合、ロールは使用できません。

    SSO 認証

    SSO 認証を必要とするユーザーおよびロールには、RoleARN およびPrincipalArn 接続プロパティを指定してください。各Identity Provider に固有のSSOProperties を指定し、AccessKey とSecretKey を空のままにする必要があります。これにより、本製品は一時的な認証資格情報を取得するために、リクエストでSSO 認証情報を送信します。

    The Connection Manager. (Salesforce is shown.)

Configure the Amazon S3 Destination

In the destination component Connection Manager, define mappings from the SQL Server source table into the Amazon S3 destination table.

  1. Double-click the Amazon S3 destination to open the destination component editor.
  2. In the Connection Managers tab, select the connection manager previously created. The connection manager specified for the destination component. (Salesforce is shown.)
  • Specify the table into which the data will be exported: On the Component Properties tab, enter the table name in the TableName property, under the Custom Properties section. In this case, you will transfer ObjectsACL records. The table into which the data will be exported. (Salesforce is shown.)
  • On the Column Mappings tab, configure the mappings from the input columns to the destination columns. The mappings from the SQL Server source to the SSIS destination component. (Salesforce is shown.)
  • Run the Project

    You can now run the project. After the SSIS Task has finished executing, data from your SQL table will be exported to the chosen table.

    The completed export. (Salesforce is shown.)