---
title: "Using Compute and Block Storage on OPCP"
description: "Find out how to create instances, volumes and private networks with the Compute and Block Storage service in the OPCP Cloud Console"
url: https://docs.ovhcloud.com/es/guides/hosted-private-cloud/opcp/compute-block-storage-cloud-console
lang: en
lastUpdated: 2026-11-30
---
> For AI agents: the complete documentation index is available at https://docs.ovhcloud.com/es/llms.txt, the full documentation bundle is available at https://docs.ovhcloud.com/es/llms-full.txt.

# Using Compute and Block Storage on OPCP

**Warning:** **Alpha version** — This guide documents the alpha version of Cloud Store. Features, interfaces and procedures will change until general availability (GA), and this guide will be updated along with them.

## Objective

**This guide shows Organization users how to create instances (virtual machines), block storage volumes and private networks with the Compute and Block Storage service in the OPCP Cloud Console.**

## Requirements

- Access to the OPCP Cloud Console, as described in the guide [OPCP Cloud Console](https://docs.ovhcloud.com/es/guides/hosted-private-cloud/opcp/cloud-console-getting-started.md).
- The **Compute and Block Storage** service enabled for your Organization by your IT Admin, as described in the guide [Deploying and scaling Compute and Block Storage on OPCP](https://docs.ovhcloud.com/es/guides/hosted-private-cloud/opcp/compute-block-storage-admin-console.md).
- An SSH public key: the instance creation form requires one.

## Instructions

### What the service offers in the Alpha

| Resource             | What you can do                                                                                                                                                                      |
| -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **Instances**        | Create, start, shut off, reboot and delete virtual machines. Open their console in the browser. Change their flavor.                                                                 |
| **Block Storage**    | Create volumes, attach them to instances and detach them. Every instance boots from a volume. Increasing the size of a volume is only possible in Horizon or with the OpenStack CLI. |
| **Private Networks** | Create networks that are isolated from the other Organizations, and connect instances to them.                                                                                       |
| **SSH keys**         | Store the public keys injected into new instances.                                                                                                                                   |

You manage these resources in the service Console, in Horizon for the cases the Console does not cover yet, or with the OpenStack CLI.

### Opening the service

In the sidebar of the OPCP Cloud Console, open the service. It appears under the name your IT Admin gave it when enabling it for your Organization.

The header of the service shows up to two links:

- "Console" opens the web interface of Compute and Block Storage. This guide describes this interface.
- "Horizon" opens the OpenStack Horizon interface, for the cases the Console does not cover yet. It is shown only if your IT Admin deployed Horizon with the service.

In the Console, the menu gives access to your resources:

| Menu                                                                                       | Content                |
| ------------------------------------------------------------------------------------------ | ---------------------- |
| "Compute" > "Instances"        | Your instances.        |
| "Storage" > "Block Storage"    | Your volumes.          |
| "Network" > "Private Networks" | Your private networks. |

Your user settings are in the menu of the user icon at the top right, under `User settings
`:
| Page                                       | Content                                                                       |
| ------------------------------------------ | ----------------------------------------------------------------------------- |
| "SSH keys"   | Your SSH public keys.                                                         |
| "API access" | The API endpoints and your application credentials, to use the OpenStack API. |

### Using the OpenStack CLI

1. In the Console, open the user icon > "User settings" > "API access" and create an **application credential**. Note its ID and secret: the secret is shown only once.
2. In the OPCP Cloud Console, open the "Overview" tab of the service and copy the **OpenRC** output into a file named `openrc.sh`.
3. In `openrc.sh`, replace `<application credential ID>` with the ID of your application credential.
4. Load the file with `source openrc.sh` and enter the secret of the application credential when asked.

You can then use the `openstack` command, as described in the guide [How to deploy an instance via the OpenStack CLI](https://docs.ovhcloud.com/es/guides/hosted-private-cloud/opcp/how-to-setup-instance-from-cli.md).

### Flavors and images

A **flavor** sets the number of vCPUs and the amount of RAM of an instance. In the Alpha, use the `opcp-` flavors. They are general-purpose flavors (4 GB of RAM per vCPU), and the number in their name is the RAM in GB.

| Flavor       | vCPU | RAM   |
| ------------ | ---- | ----- |
| `opcp-b3-8`  | 2    | 8 GB  |
| `opcp-b3-16` | 4    | 16 GB |
| `opcp-b3-32` | 8    | 32 GB |
| `opcp-b3-64` | 16   | 64 GB |

The flavors have no local disk: the system disk of an instance is a block storage volume, whose size you choose.

**Warning:** Only the `opcp-` flavors can run Compute and Block Storage instances. With the OpenStack CLI or Horizon, an instance created with another flavor stays in the `scheduling` state.

The Alpha offers the following images:

| Image       | Default user |
| ----------- | ------------ |
| `Debian 12` | `debian`     |
| `Debian 13` | `debian`     |
| `CentOS 9`  | `cloud-user` |

### Adding an SSH key

1. Click the user icon at the top right, then "User settings" > "SSH keys".
2. Add a new key, give it a name and paste your **public** key, for example the content of `~/.ssh/id_ed25519.pub`.

You can also create the key directly in the instance creation form, with `New SSH key
`.

### Creating a private network

1. Go to "Network" > "Private Networks" and click "Create network".
2. Enter a **Name** and the **Network address**, for example `192.168.1.0/24`.
3. Keep **DHCP** on, so that instances get their IP address automatically.
4. Optionally, open "Advanced settings" to set the IP allocation pools, the DNS name servers or host routes.
5. Click "Create".

**Note:** In the Alpha, private networks cannot be connected to the Internet. Leave `Connect to Public Internet
` off.

### Creating an instance

1. Go to "Compute" > "Instances" and click "Create instance".
2. Enter a **Name**.
3. Choose an `opcp-` **Flavor** in the general-purpose tab.
4. Keep the **Isolation** on "Shared". Dedicated hypervisors are not available in the Alpha.
5. Under **Storage**, choose the **image** and the size of the system volume. The volume is created with the instance.
6. Under **Network**, select your private network.
7. Under **Access & Security**, select your SSH key. An SSH key is required.
8. Optionally, under "Advanced settings", add user data in the **Customization script** field (a cloud-init script run at first boot, base64-encoded in the Alpha), for example to set a password for the VNC console (see the "[Connecting to an instance](#connecting-to-an-instance)" section).
9. Confirm the creation.

The instance is `building`, then `active`. The list of instances shows its status, flavor, IP addresses, volumes and networks.

### Connecting to an instance

In the Alpha, instances cannot be reached from outside the platform: there is no public IP address and no floating IP, so you cannot connect to them over SSH from your workstation.

- **In the browser**: in the list of instances, click the console icon of the instance, or open the instance and click "VNC". The console of the instance opens in the browser.
- **Between instances**: an instance can reach the other instances of the same private network over SSH, for example `ssh debian@192.168.1.10` with the default user of the image. The source instance needs a private key whose public key is on the target instance. Your own private key stays on your workstation, so create a key pair for this:
  1. In the VNC console of the source instance (logging in needs a password, see below), run `ssh-keygen -t ed25519` and display the public key with `cat ~/.ssh/id_ed25519.pub`.
  2. Add this public key in the Console (see the "[Adding an SSH key](#adding-an-ssh-key)" section) and select it when you create the target instances.
  3. For an instance that already exists, append the public key to the `~/.ssh/authorized_keys` file of its default user, through its VNC console.

The images allow login with an SSH key only. To log in through the VNC console, set a password for the default user when you create the instance, with user data such as:

```yaml
#cloud-config
password: <your-password>
chpasswd:
  expire: false
```

**Warning:** In the Alpha, the Console passes the user data to the instance as it is, but OpenStack expects it base64-encoded. Encode the script before pasting it into the **Customization script** field:

```bash
base64 -i cloud-config.yaml        # macOS
base64 -w 0 cloud-config.yaml      # Linux
```

### Creating and attaching a volume

1. Go to "Storage" > "Block Storage" and click "Create".
2. Enter a **Name** and a **Size**.
3. Choose a **Source**: "No source" for an empty volume, otherwise an image or another volume to copy.
4. Optionally, turn on "Attach to instance after creation" and select the instance.
5. Click "Create".

To attach an existing volume, open the instance and add the volume to it, or attach it from the volume page. The volume then appears in the instance as a new disk (for example `/dev/vdb`): format it if it is empty, then mount it from the operating system.

To detach a volume, open it and choose `Detach volume
`. The system volume of an instance cannot be detached.

### Connecting an instance to a network

To connect an existing instance to another private network:

- from the network: open it in "Private Networks" and attach the instance;
- or from the instance: open it and add the network.

The instance gets a new network interface with an address from that network. To disconnect the instance, choose `Detach instance
` on the network.

### Known limitations

The Alpha has the following known limitations:

| What you notice                                                                                                                              | What to do                                                                                                                                                                                          |
| -------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Instances cannot be reached from outside the platform: private networks have no Internet connection, and there are no floating IP addresses. | Use the VNC console, or connect from another instance of the same private network (see the "[Connecting to an instance](#connecting-to-an-instance)" section).                                      |
| User data entered in the Console is not applied.                                                                                             | Paste it base64-encoded (see the "[Connecting to an instance](#connecting-to-an-instance)" section).                                                                                                |
| The Console has no option to increase the size of a volume.                                                                                  | Use Horizon or the OpenStack CLI.                                                                                                                                                                   |
| You increase the size of a volume attached to a running instance, but the instance still sees the old size.                                  | Shut off the instance, increase the size of the volume, then start the instance again.                                                                                                              |
| Taking a volume snapshot can fail.                                                                                                           | No workaround yet.                                                                                                                                                                                  |
| Horizon and the OpenStack CLI list more flavors and volume types than the service uses.                                                      | Use only the `opcp-` flavors and the volume type named `compute-and-block-<id>-storage`, in lower case. The Console selects the volume type for you and shows its name with a capital first letter. |
| Horizon asks for credentials.                                                                                                                | Open the service Console first, then the "Horizon" link again.                                                                                                        |
| Logging out of the Console does not log you out of Horizon.                                                                                  | Log out of Horizon as well, or close its tab.                                                                                                                                                       |
| The VNC console in Horizon does not open inside the page.                                                                                    | Open it in a new tab.                                                                                                                                                                               |
| Horizon is provided on a best-effort basis.                                                                                                  | If Horizon does not behave as expected, use the OpenStack API or CLI.                                                                                                                               |

The following features are not available in the Alpha:

- dedicated hypervisors for an Organization.
- bare-metal instances and GPU instances.
- backups to Object Storage.
- monitoring and alerts for instances.

## Go further

[OPCP Cloud Console](https://docs.ovhcloud.com/es/guides/hosted-private-cloud/opcp/cloud-console-getting-started.md)

[How to deploy an instance via the OpenStack CLI](https://docs.ovhcloud.com/es/guides/hosted-private-cloud/opcp/how-to-setup-instance-from-cli.md)

[Deploying and scaling Compute and Block Storage on OPCP](https://docs.ovhcloud.com/es/guides/hosted-private-cloud/opcp/compute-block-storage-admin-console.md)

For training or technical assistance implementing our solutions, contact your sales representative or visit our [Professional Services](https://www.ovhcloud.com/es-es/professional-services/) page to request a quote and have your project analysed by our experts.

Join our [community of users](https://community.ovhcloud.com/).
