Loading data from remote hosts
The local datasets in a processing server can be loaded into an Amazon Redshift table using the COPY
command and the ssh
parameter. You can specify the command that Amazon Redshift can execute on the remote server, which will write to standard output. The COPY
command will use this to load the data into the table in parallel.
In this recipe, we will learn how to connect to remote hosts to load the data present on the remote host in the part table.
Getting ready
To complete this recipe, you will need to do the following:
- Gain access to the AWS Console.
- Deploy an Amazon Redshift cluster in AWS region eu-west-1.
- Create Amazon Redshift cluster master user credentials.
- Gain access to any SQL interface, such as a SQL client or the Amazon Redshift Query Editor.
- Gain access to an Amazon EC2 Linux instance or any Unix or Linux server. You will need open connectivity between Amazon EC2 Linux or your local Linux/Unix server to Amazon...