[Yandex Cloud documentation](../../index.md) > [Yandex API Gateway](../index.md) > [Step-by-step guides](index.md) > Managing an API gateway > Specifying a cloud network

# Specifying a cloud network to host an API gateway

You can specify a [cloud network](../../vpc/concepts/network.md#network) to host an API gateway.

A cloud network must have:
* [Subnets](../../vpc/concepts/network.md#subnet) in all [availability zones](../../overview/concepts/geo-scope.md).
* At least one resource with an IP address in the specified cloud network.

{% note info %}

If the network does not meet the conditions above, the service does not guarantee it will function properly.

{% endnote %}

{% list tabs group=instructions %}

- Management console {#console}

    1. In the [management console](https://console.yandex.cloud), navigate to the [folder](../../resource-manager/concepts/resources-hierarchy.md#folder) containing the API gateway.
    1. Navigate to **API Gateway**.
    1. Select the API gateway.
    1. Click ![image](../../_assets/console-icons/pencil.svg) **Edit**.
    1. In the **Network** field, specify a cloud network to host your API gateway.
    1. Click **Save**.

- API {#api}

  To specify a cloud network to host an API gateway, use the [update](../apigateway/api-ref/ApiGateway/update.md) REST API method for the [ApiGateway](../apigateway/api-ref/ApiGateway/index.md) resource or the [ApiGatewayService/Update](../apigateway/api-ref/grpc/ApiGateway/update.md) gRPC API call.

{% endlist %}

## Useful links {#see-also}

* [Networking in API Gateway](../concepts/networking.md)