Installing, verifying, and updating AWS SCT - AWS Schema Conversion Tool

Installing, verifying, and updating AWS SCT

The AWS Schema Conversion Tool (AWS SCT) is a standalone application that provides a project-based user interface. AWS SCT is available for Microsoft Windows, Fedora Linux, and Ubuntu Linux. AWS SCT is supported only on 64-bit operating systems.

To ensure that you get the correct version of the AWS SCT distribution file we provide verification steps after you download the compressed file. You can verify the file using the steps provided.

AWS SCT is available as both a standalone application and a command-line tool. For information about the command line tool, see AWS SCT CLI.

Installing AWS SCT

You can install AWS SCT on the following operating systems:

  • Microsoft Windows 10

  • Fedora Linux 36 and higher

  • Ubuntu Linux 18 and higher

To install AWS SCT
  1. Download the compressed file that contains the AWS SCT installer, using the link for your operating system. All compressed files have a .zip extension. When you extract the AWS SCT installer file, it will be in the appropriate format for your operating system.

  2. Extract the AWS SCT installer file for your operating system, shown following.

    Operating system File name

    Fedora Linux

    aws-schema-conversion-tool-1.0.build-number.x86_64.rpm

    Microsoft Windows

    AWS Schema Conversion Tool-1.0.build-number.msi

    Ubuntu Linux

    aws-schema-conversion-tool-1.0.build-number.deb

  3. Run the AWS SCT installer file extracted in the previous step. Use the instructions for your operating system, shown following.

    Operating system Install instructions

    Fedora Linux

    Run the following command in the folder that you downloaded the file to:

    sudo yum install aws-schema-conversion-tool-1.0.build-number.x86_64.rpm

    Microsoft Windows

    Double-click the file to run the installer.

    Ubuntu Linux

    Run the following command in the folder that you downloaded the file to:

    sudo dpkg -i aws-schema-conversion-tool-1.0.build-number.deb

  4. Download the Java Database Connectivity (JDBC) drivers for your source and target database engines. For instructions and download links, see Downloading the required database drivers.

Now, you have completed the setup of the AWS SCT application. Double-click the application icon to run AWS SCT.

Installing previous versions of AWS SCT

You can download and install previous versions of AWS SCT starting from 1.0.625. To download a previous version, provide the version and OS information using the following format.

https://d211wdu1froga6.cloudfront.net/builds/1.0/<version>/<OS>/aws-schema-conversion-tool-1.0.zip

For example, to download AWS SCT version 668, do the following:

AWS supports the three latest versions of the AWS SCT application. We recommend that you use the latest version of AWS SCT.

Verifying the AWS SCT file download

There are several ways you can verify the distribution file of AWS SCT. The simplest is to compare the checksum of the file with the published checksum from AWS. As an additional level of security, you can use the procedures following to verify the distribution file, based on the operating system where you installed the file.

This section includes the following topics.

Verifying the checksum of the AWS SCT file

In order to detect any errors that could have been introduced when downloading or storing the AWS SCT compressed file, you can compare the file checksum with a value provided by AWS. AWS uses the SHA256 algorithm for the checksum.

To verify the AWS SCT distribution file using a checksum
  1. Download the AWS SCT distribution file using the links in the Installing section. For more information, see Installing AWS SCT.

  2. Download the latest checksum file, called sha256Check.txt. This file includes the checksums for the latest AWS SCT version. For example, the file can appear as follows:

    Fedora b4f5f66f91bfcc1b312e2827e960691c269a9002cd1371cf1841593f88cbb5e6 Ubuntu 4315eb666449d4fcd95932351f00399adb6c6cf64b9f30adda2eec903c54eca4 Windows 6e29679a3c53c5396a06d8d50f308981e4ec34bd0acd608874470700a0ae9a23
  3. Run the SHA256 validation command for your operating system in the directory that contains the distribution file. For example, run the following command in Linux.

    shasum -a 256 aws-schema-conversion-tool-1.0.latest.zip
  4. Compare the results of the command with the value shown in the sha256Check.txt file. If the checksums match, then it is safe to run the distribution file. If the checksums don't match, then don't run the distribution file, and contact AWS Support.

Verifying the AWS SCT RPM files on Fedora

AWS provides another level of validation in addition to the distribution file checksum. All RPM files in the distribution file are signed by an AWS private key. The public GPG key can be viewed at amazon.com.public.gpg-key.

To verify the AWS SCT RPM files on Fedora
  1. Download the AWS SCT distribution file using the links in the Installing section.

  2. Verify the checksum of the AWS SCT distribution file.

  3. Extract the contents of the distribution file. Locate the RPM file you want to verify.

  4. Download GPG public key from amazon.com.public.gpg-key

  5. Import the public key to your RPM DB (make sure you have the appropriate permissions) by using the following command:

    sudo rpm --import aws-dms-team@amazon.com.public.gpg-key
  6. Check that the import was successful by running the following command:

    rpm -q --qf "%{NAME}-%{VERSION}-%{RELEASE} \n %{SUMMARY} \n" gpg-pubkey-ea22abf4-5a21d30c
  7. Check the RPM signature by running the following command:

    rpm --checksig -v aws-schema-conversion-tool-1.0.build number-1.x86_64.rpm

Verifying the AWS SCT DEB files on Ubuntu

AWS provides another level of validation in addition to the distribution file checksum. All DEB files in the distribution file are signed by a GPG detached signature.

To verify the AWS SCT DEB files on Ubuntu
  1. Download the AWS SCT distribution file using the links in the Installing section.

  2. Verifying the checksum of the AWS SCT distribution file.

  3. Extract the contents of the distribution file. Locate the DEB file you want to verify.

  4. Download the detached signature from aws-schema-conversion-tool-1.0.latest.deb.asc.

  5. Download the GPG public key from amazon.com.public.gpg-key.

  6. Import the GPG public key by running the following command:

    gpg --import aws-dms-team@amazon.com.public.gpg-key
  7. Verify the signature by running the following command:

    gpg --verify aws-schema-conversion-tool-1.0.latest.deb.asc aws-schema-conversion-tool-1.0.build number.deb

Verifying the AWS SCT MSI file on Microsoft Windows

AWS provides another level of validation in addition to the distribution file checksum. The MSI file has a digital signature you can check to ensure it was signed by AWS.

To verify the AWS SCT MSI file on Windows
  1. Download the AWS SCT distribution file using the links in the Installing section.

  2. Verifying the checksum of the AWS SCT distribution file.

  3. Extract the contents of the distribution file. Locate the MSI file you want to verify.

  4. In Windows Explorer, right-click the MSI file and select Properties.

  5. Choose the Digital Signatures tab.

  6. Verify that the digital signature is from Amazon Services LLC.

Downloading the required database drivers

For AWS SCT to work correctly, download the JDBC drivers for your source and target database engines. If you use a virtual target database platform, you don't need to download the JDBC driver for your target database engine. For more information, see Using virtual targets.

After you download the drivers, you give the location of the driver files. For more information, see Storing driver paths in the global settings.

You can download the database drivers from the following locations.

Important

Download the latest version of the driver available. The following table includes the lowest version of database driver supported by AWS SCT.

Database engine Drivers Download location

Amazon Aurora MySQL-Compatible Edition

mysql-connector-java-5.1.6.jar

https://www.mysql.com/products/connector/

Amazon Aurora PostgreSQL-Compatible Edition

postgresql-42.2.19.jar

https://jdbc.postgresql.org/download/postgresql-42.2.19.jar

Amazon EMR

HiveJDBC42.jar

http://awssupportdatasvcs.com/bootstrap-actions/Simba/latest/

Amazon Redshift

redshift-jdbc42-2.1.0.9.jar

https://s3.amazonaws.com/redshift-downloads/drivers/jdbc/2.1.0.9/redshift-jdbc42-2.1.0.9.zip

Amazon Redshift Serverless

redshift-jdbc42-2.1.0.9.jar

https://s3.amazonaws.com/redshift-downloads/drivers/jdbc/2.1.0.9/redshift-jdbc42-2.1.0.9.zip

Apache Hive

hive-jdbc-2.3.4-standalone.jar

https://repo1.maven.org/maven2/org/apache/hive/hive-jdbc/2.3.4/hive-jdbc-2.3.4-standalone.jar

Azure SQL Database

mssql-jdbc-7.2.2.jre11.jar

https://docs.microsoft.com/en-us/sql/connect/jdbc/release-notes-for-the-jdbc-driver?view=sql-server-ver15#72

Azure Synapse Analytics

mssql-jdbc-7.2.2.jre11.jar

https://docs.microsoft.com/en-us/sql/connect/jdbc/release-notes-for-the-jdbc-driver?view=sql-server-ver15#72

Greenplum Database

postgresql-42.2.19.jar

https://jdbc.postgresql.org/download/postgresql-42.2.19.jar

IBM Db2 for z/OS

db2jcc-db2jcc4.jar

https://www.ibm.com/support/pages/db2-jdbc-driver-versions-and-downloads-db2-zos

IBM Db2 LUW

db2jcc-db2jcc4.jar

https://www.ibm.com/support/pages/node/382667

MariaDB

mariadb-java-client-2.4.1.jar

https://downloads.mariadb.com/Connectors/java/connector-java-2.4.1/mariadb-java-client-2.4.1.jar

Microsoft SQL Server

mssql-jdbc-10.2.jar

https://docs.microsoft.com/en-us/sql/connect/jdbc/download-microsoft-jdbc-driver-for-sql-server?view=sql-server-ver15

MySQL

mysql-connector-java-8.0.15.jar

https://dev.mysql.com/downloads/connector/j/

Netezza

nzjdbc.jar

Use the client tools software. Download driver version 7.2.1, which is backwards compatible with data warehouse version 7.2.0.

http://www.ibm.com/support/knowledgecenter/SSULQD_7.2.1/com.ibm.nz.datacon.doc/c_datacon_plg_overview.html

Oracle

ojdbc8.jar

Driver versions 8 and higher are supported.

https://www.oracle.com/database/technologies/jdbc-ucp-122-downloads.html

PostgreSQL

postgresql-42.2.19.jar

https://jdbc.postgresql.org/download/postgresql-42.2.19.jar

SAP ASE (Sybase ASE)

jconn4.jar

The jConnect JDBC driver

Snowflake

snowflake-jdbc-3.9.2.jar

For more information, see Downloading / Integrating the JDBC Driver.

https://repo1.maven.org/maven2/net/snowflake/snowflake-jdbc/3.9.2/snowflake-jdbc-3.9.2.jar

Teradata

terajdbc4.jar

tdgssconfig.jar

For Teradata JDBC driver version 16.20.00.11 and higher, you don't need the tdgssconfig.jar file.

https://downloads.teradata.com/download/connectivity/jdbc-driver

Vertica

vertica-jdbc-9.1.1-0.jar

Driver versions 7.2.0 and higher are supported.

https://www.vertica.com/client_drivers/9.1.x/9.1.1-0/vertica-jdbc-9.1.1-0.jar

Installing JDBC drivers on Linux

You can use the following steps to install the JDBC drivers on your Linux system for use with AWS SCT.

To install JDBC drivers on your Linux system
  1. Create a directory to store the JDBC drivers in.

    PROMPT>sudo mkdir –p /usr/local/jdbc-drivers
  2. Install the JDBC driver for your database engine using the commands shown following.

    Database engine Installation commands

    Amazon Aurora (MySQL compatible)

    PROMPT> cd /usr/local/jdbc-drivers PROMPT> sudo tar xzvf /tmp/mysql-connector-java-X.X.X.tar.gz

    Amazon Aurora (PostgreSQL compatible)

    PROMPT> cd /usr/local/jdbc-drivers PROMPT> sudo cp -a /tmp/postgresql-X.X.X.jre7.tar .

    Microsoft SQL Server

    PROMPT> cd /usr/local/jdbc-drivers PROMPT> sudo tar xzvf /tmp/sqljdbc_X.X.X_enu.tar.gz

    MySQL

    PROMPT> cd /usr/local/jdbc-drivers PROMPT> sudo tar xzvf /tmp/mysql-connector-java-X.X.X.tar.gz

    Oracle

    PROMPT> cd /usr/local/jdbc-drivers PROMPT> sudo mkdir oracle-jdbc PROMPT> cd oracle-jdbc PROMPT> sudo cp -a /tmp/ojdbc8.jar .

    PostgreSQL

    PROMPT> cd /usr/local/jdbc-drivers PROMPT> sudo cp -a /tmp/postgresql-X.X.X.jre7.tar .

Storing driver paths in the global settings

After you have downloaded and installed the required JDBC drivers, you can set the location of the drivers globally in the AWS SCT settings. If you don't set the location of the drivers globally, the application asks you for the location of the drivers when you connect to a database.

To update the driver file locations
  1. In AWS SCT, choose Settings, and then choose Global Settings.

    
                            Choose global settings
  2. For Global settings, choose Drivers. Add the file path to the JDBC driver for your source database engine and your target Amazon RDS DB instance database engine.

    
                            Global settings
  3. When you are finished adding the driver paths, choose OK.

Updating AWS SCT

AWS periodically updates AWS SCT with new features and functionality. If you are updating from a previous version, create a new AWS SCT project and reconvert any database objects you are using.

You can check to see if updates exist for AWS SCT.

To check for updates to AWS SCT
  1. When in AWS SCT, choose Help and then choose Check for Updates.

  2. In the Check for Updates dialog box, choose What's New. If the link does not appear, you have the latest version.

AWS SCT CLI

You can download the AWS SCT CLI for command-line use. To download the JAR, use the following link:

AWSSchemaConversionToolBatch.jar