How Amazon Redshift works with VPC sharing for Amazon resources - Amazon Redshift
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

How Amazon Redshift works with VPC sharing for Amazon resources

VPC sharing makes it so you can create Amazon application resources, such as Amazon EC2 instances and other Amazon services, in a shared, centrally-managed virtual private cloud (VPC). The account that owns the VPC (the owner) shares one or more subnets with other accounts (participants) that belong to the same Amazon organization. This describes how you can create and use an Amazon Redshift cluster or Amazon Redshift Serverless workgroup in a shared VPC.

The benefits of VPC sharing include that you don't have to manage as many VPCs and it can help you simplify your network. The benefit specifically for Amazon Redshift administrators and users is that Redshift resources can operate productively in the shared VPC. For more information about VPC sharing, see Share your VPC with other accounts, which goes into more detail regarding the benefits of VPC sharing and how it works.

How to use Amazon Redshift data-warehouse resources in a shared VPC

Firstly, it's important to understand that an Amazon Redshift cluster or an Amazon Redshift Serverless workgroup can't be made visible to participants in a shared subnet. But this doesn't preclude participants from working with the owner's database in a shared VPC. This is detailed more fully in the steps that follow.

Before you create a provisioned Amazon Redshift cluster in a shared VPC, you must create a subnet group that you intend to use for Amazon Redshift. This should include the subnets from the shared VPC that you want to use. When you create your Amazon Redshift cluster, you must choose this subnet and also specify the shared VPC's security group. Similarly, you have to specify the shared subnets and the security group you created in the shared VPC when you create the Amazon Redshift Serverless workgroup and database. After you set up your subnets, perform these steps to set up Redshift resources in the shared environment:

  1. The VPC owner creates an Amazon Redshift cluster or Amazon Redshift Serverless workgroup, using a subnet in the shared VPC.

  2. The VPC owner makes the cluster or workgroup available in a cross-VPC scenario. The steps are described in Working with Redshift-managed VPC endpoints in Amazon Redshift for a provisioned cluster or in Connecting to Amazon Redshift Serverless from an Amazon Redshift managed VPC endpoint for Amazon Redshift Serverless. By enabling cross-VPC availability, they can make the database available to users in the same Amazon account or in other accounts.

  3. Conversely, by means of VPC sharing, an owner can share a subnet with a participant, and the participant can create an Amazon Redshift cluster or Amazon Redshift Serverless workgroup in the subnet. However, the owner in this case can't view an Amazon Redshift resource created by a participant. The cluster or workgroup must be made accessible by enabling cross-VPC availability in the same manner as described in the previous step.

Usage notes for using Amazon Redshift resources in a shared VPC

Note the following behaviors regarding using Amazon Redshift in a shared subnet:

  • As detailed in the previous section, the VPC owner can't share an Amazon Redshift cluster or Amazon Redshift Serverless workgroup with a participant through VPC sharing. But the participant can create a cluster or Amazon Redshift Serverless workgroup in the owner's subnet. In this instance, Amazon Redshift isn't visible through VPC sharing to the owner.

  • The VPC owner can't view, update or delete an Amazon Redshift provisioned cluster or Amazon Redshift Serverless workgroup that the participant creates in the shared subnet.

  • There aren't permissions available to make it so another Amazon account can access Amazon Redshift resources you create in the shared VPC.