---
title: How to use Private Networks with your deployment
description: This page explains how to use Private Networks for Scaleway Data Warehouse for ClickHouse®
tags: private-networks private networks instance data warehouse clickhouse deployment vpc
dates:
  validation: 2026-01-05
  posted: 2026-01-05
---
import Requirements from '@macros/iam/requirements.mdx'
import VPCRoutingCompatibility from '@macros/vpc/vpc-routing-compatibility.mdx'

Private Networks allow your Data Warehouse for ClickHouse® deployments to communicate in an isolated and secure network without needing to be connected to the public internet. Each deployment can be connected to one Private Network.

For full information about Scaleway Private Networks and VPC, see our [dedicated documentation](/vpc/) and [best practices guide](/vpc/reference-content/getting-most-private-networks/).

<VPCRoutingCompatibility />

<Requirements />

- A Scaleway account logged into the [console](https://console.scaleway.com)
- [Owner](/iam/concepts/#owner) status or [IAM permissions](/iam/concepts/#permission) allowing you to perform actions in the intended Organization
- [Created a Private Network](/vpc/how-to/create-private-network/)

## How to create a Private Network

This action must be carried out from the Private Networks section of the console. Follow the procedure detailed in our [dedicated Private Networks documentation](/vpc/how-to/create-private-network/).

## How to attach a Data Warehouse for ClickHouse® deployment to a Private Network

1. Click **ClickHouse®** under **Data & Analytics** on the side menu. The Data Warehouse deployment page displays.

2. Click the name of the Data Warehouse deployment you want to attach to a Private Network. The overview tab of the deployment displays. 

3. In the **Network** section, click **Attach Private Network**.

4. Select an existing Private Network from the drop-down menu, or create a new one.

5. Click **Attach to Private Network** to confirm.

Your deployment is now attached to the selected Private Network, and its private endpoint displays in the **Network** section.

## How to detach a deployment from a Private Network

1. Click **ClickHouse®** under **Data & Analytics** on the side menu. The Data Warehouse deployment page displays.

2. Click the name of the desired Data Warehouse deployment. The overview tab of the deployment displays. 

3. In the **Network** section, click **Detach** next to the private endpoint of your deployment.

4. Click **Detach resource** to confirm.

Your deployment is redeployed, and is now detached from the Private Network.

## How to delete a Private Network

<Message type="note">
  Before deleting a Private Network, you must [detach](/vpc/how-to/attach-resources-to-pn/#how-to-detach-a-resource-from-a-private-network) all resources attached to it.
</Message>

This must be carried out from the Private Networks section of the console. Follow the procedure detailed in our [dedicated Private Networks documentation](/vpc/how-to/delete-private-network/).
