

AWS Data Pipeline is no longer available to new customers. Existing customers of AWS Data Pipeline can continue to use the service as normal. [Learn more](https://aws.amazon.com/blogs/big-data/migrate-workloads-from-aws-data-pipeline/)

# Set up Pipeline, Create a Security Group, and Create an Amazon Redshift Cluster
<a name="dp-copydata-redshift-prereq"></a>

**To set up for the tutorial**

1. Complete the tasks in [Setting up for AWS Data Pipeline](dp-get-setup.md).

1. Create a security group.

   1. Open the Amazon EC2 console.

   1. In the navigation pane, click **Security Groups**.

   1. Click **Create Security Group**.

   1. Specify a name and description for the security group.

   1. [EC2-Classic] Select `No VPC` for **VPC**.

   1. [EC2-VPC] Select the ID of your VPC for **VPC**.

   1. Click **Create**.

1. [EC2-Classic] Create an Amazon Redshift cluster security group and specify the Amazon EC2 security group.

   1. Open the Amazon Redshift console.

   1. In the navigation pane, click **Security Groups**.

   1. Click **Create Cluster Security Group**.

   1. In the **Create Cluster Security Group** dialog box, specify a name and description for the cluster security group.

   1. Click the name of the new cluster security group.

   1. Click **Add Connection Type**.

   1. In the **Add Connection Type** dialog box, select **EC2 Security Group** from **Connection Type**, select the security group that you created from **EC2 Security Group Name**, and then click **Authorize**.

1. [EC2-VPC] Create an Amazon Redshift cluster security group and specify the VPC security group.

   1. Open the Amazon EC2 console.

   1. In the navigation pane, click **Security Groups**.

   1. Click **Create Security Group**.

   1. In the **Create Security Group** dialog box, specify a name and description for the security group, and select the ID of your VPC for **VPC**.

   1. Click **Add Rule**. Specify the type, protocol, and port range, and start typing the ID of the security group in **Source**. Select the security group that you created in the second step.

   1. Click **Create**.

1. The following is a summary of the steps.

   If you have an existing Amazon Redshift cluster, make a note of the cluster ID. 

   To create a new cluster and load sample data, follow the steps in [Getting Started with Amazon Redshift](https://docs.aws.amazon.com/redshift/latest/gsg/getting-started.html). For more information about creating clusters, see [Creating a Cluster](https://docs.aws.amazon.com/redshift/latest/mgmt/managing-clusters-console.html#create-cluster) in the *Amazon Redshift Management Guide*. 

   1. Open the Amazon Redshift console.

   1. Click **Launch Cluster**.

   1. Provide the required details for your cluster, and then click **Continue**.

   1. Provide the node configuration, and then click **Continue**.

   1. On the page for additional configuration information, select the cluster security group that you created, and then click **Continue**.

   1. Review the specifications for your cluster, and then click **Launch Cluster**.