---
title: "ezgh compute ipv4-addresses allocate"
description: "Allocate a public IPv4 address."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.ezghcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ezgh compute ipv4-addresses allocate

{/* Generated by ezgh-cli's internal/tools/clidocs from the ezgh command tree. Don't edit: change the command's help in ezgh-cli and regenerate. */}

```sh
ezgh compute ipv4-addresses allocate <name> [--tag k=v…] [flags]
```

Allocate a public IPv4 address to the project. It's metered while it's allocated, associated or not, until it's released; the organization's quota limits how many it can have.

Part of [`ezgh compute ipv4-addresses`](/cli/reference/compute-ipv4-addresses).

## Flags

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--tag` | string, repeatable |  | a tag, key=value (repeat) |

This command also takes the [global flags](/cli/reference#global-flags).

Source: https://docs.ezghcloud.com/cli/reference/compute-ipv4-addresses-allocate/index.mdx
