Amazon Redshift
Getting Started Guide

Step 3: Create a Sample Amazon Redshift Cluster

Now that you have the prerequisites completed, you can launch your Amazon Redshift cluster.

Important

The cluster that you are about to create is live (and not running in a sandbox). You incur the standard Amazon Redshift usage fees for the cluster until you delete it. If you complete the tutorial described here in one sitting and delete the cluster when you are finished, the total charges are minimal.

Note

A new console is available for Amazon Redshift. Choose either the New Console or the Original Console instructions based on the console that you are using. The New Console instructions are open by default.

New Console

To create an Amazon Redshift cluster

  1. Sign in to the AWS Management Console and open the Amazon Redshift console at https://console.aws.amazon.com/redshift/.

    Important

    If you use IAM user credentials, ensure that you have the necessary permissions to perform the cluster operations. For more information, see Controlling Access to IAM Users in the Amazon Redshift Cluster Management Guide.

  2. At top right, choose the AWS Region in which you want to create the cluster.

  3. On the navigation menu, choose CLUSTERS, then choose Create cluster. The Create cluster page appears.

  4. Choose dc2.large for the node type in the Compute optimized section. For Nodes, choose 2.

    Note

    When you are creating a cluster for your data, you can use the Amazon Redshift console to help configure your cluster. To do this, choose Calculate the best configuration for your needs. When you do, a section of the page is replaced with controls for you to enter the size of your compressed data. Confirm the defaults and then choose Select this configuration. Your cluster configuration is displayed.

  5. In the Cluster details section, specify values for Cluster identifier, Database port, Master user name, and Master user password. This tutorial uses these values:

    • Cluster identifier: Enter examplecluster.

    • Database port: Enter 5439.

    • Master user name: Enter awsuser.

    • Master user password: Enter a value for the password.

  6. In the Cluster permissions section, for Available IAM roles choose the IAM role that you previously created, myRedshiftRole. Then choose Add IAM role.

  7. Choose Create cluster.

Original Console

To launch an Amazon Redshift cluster

  1. Sign in to the AWS Management Console and open the Amazon Redshift console at https://console.aws.amazon.com/redshift/.

    Important

    If you use IAM user credentials, ensure that the user has the necessary permissions to perform the cluster operations. For more information, go to Controlling Access to IAM Users in the Amazon Redshift Cluster Management Guide.

  2. In the main menu, select the AWS Region in which you want to create the cluster. For the purposes of this tutorial, select US West (Oregon).

  3. On the Amazon Redshift Dashboard, choose Quick launch cluster.

    The Amazon Redshift Dashboard looks similar to the following.

  4. On the Cluster specifications page, enter the following values and then choose Launch cluster:

    • Node type: Choose dc2.large.

    • Number of compute nodes: Keep the default value of 2.

    • Cluster identifier: Enter the value examplecluster.

    • Master user name: Keep the default value of awsuser.

    • Master user password and Confirm password: Enter a password for the master user account.

    • Database port: Accept the default value of 5439.

    • Available IAM roles: Choose myRedshiftRole.

    Quick launch automatically creates a default database named dev.

    Note

    Quick launch uses the default virtual private cloud (VPC) for your AWS Region. If a default VPC doesn't exist, Quick launch returns an error. If you don't have a default VPC, you can use the standard Launch Cluster wizard to use a different VPC. For more information, see Creating a Cluster by Using Launch Cluster.

  5. A confirmation page appears and the cluster takes a few minutes to finish. Choose Close to return to the list of clusters.

  6. On the Clusters page, choose the cluster that you just launched and review the Cluster Status information. Make sure that the Cluster Status is available and the Database Health is healthy before you try to connect to the database later in this tutorial.

  7. On the Clusters page, choose the cluster that you just launched, choose the Cluster button, then Modify cluster. Choose the VPC security groups to associate with this cluster, then choose Modify to make the association. Make sure that the Cluster Properties displays the VPC security groups you chose before continuing to the next step.