This page describes how to set up a Virtual Private Cloud (VPC) network for your
Oracle Database@Google Cloud resources.

Oracle Database@Google Cloud uses VPC networking projects to manage
connectivity to your Oracle Database@Google Cloud resources. For more
information about how VPC networks work at Google Cloud,
see [VPC networks](https://docs.cloud.google.com/vpc/docs/vpc.md.txt).

## Before you begin

To configure a VPC network for your Oracle Database@Google Cloud
resources, you need a Google Cloud project with billing enabled.
The VPC network must be in the same Google Cloud project
as your Oracle Database@Google Cloud resources.

Complete the following steps before setting up your VPC network:

- [Set up your Google Cloud project](https://docs.cloud.google.com/oracle/database/docs/set-up.md.txt).

- Enable the Oracle Database@Google Cloud API for the project.


  [Enable the Oracle Database@Google Cloud API](https://console.cloud.google.com/apis/enableflow?apiid=oracledatabase.googleapis.com)
- Confirm that you have the required roles necessary to configure a networking
  project: `roles/compute.networkAdmin`.

  For more information on how to assign roles, see
  [Configure IAM roles](https://docs.cloud.google.com/oracle/database/docs/iam-roles.md.txt).

## Create a VPC network

To connect to your Oracle Database@Google Cloud resources, you need to define a
VPC network. You can create a VPC network
using the Google Cloud console, Google Cloud CLI, or VPC API.
Oracle Database@Google Cloud only supports IPv4 connections.

For higher throughput, especially for bulk data transfers, set the
[maximum transmission unit (MTU)](https://docs.cloud.google.com/vpc/docs/mtu.md.txt) to 8,896 bytes when you create
the VPC network. Oracle Database@Google Cloud provisions 8,896-byte
Cloud Interconnect attachments, while VPC networks default to
1,460 bytes. Changing the MTU of an existing VPC network requires
stopping all Compute Engine instances in that network at the same time. For
more information, see
[Change the MTU setting of a VPC network](https://docs.cloud.google.com/vpc/docs/change-mtu-vpc-network.md.txt).

To create a VPC network, choose one of the following:

- [Create an auto mode VPC network](https://docs.cloud.google.com/vpc/docs/create-modify-vpc-networks.md.txt#create-auto-network)
- [Create a custom mode VPC network with only IPv4 subnets](https://docs.cloud.google.com/vpc/docs/create-modify-vpc-networks.md.txt#create-custom-network)

## Modify a VPC network

To modify a VPC network that is being used by your
Oracle Database@Google Cloud resources, see
[Modify networks](https://docs.cloud.google.com/vpc/docs/create-modify-vpc-networks.md.txt#modifying_a_vpc_network).

## What's next

- [Learn more about how access works](https://docs.cloud.google.com/oracle/database/docs/iam-overview.md.txt).
- [Generate SSH keys](https://docs.cloud.google.com/oracle/database/docs/generate-ssh-keys.md.txt) for your resources.
- [Create a Exadata VM Cluster](https://docs.cloud.google.com/oracle/database/docs/create-clusters.md.txt).
- [Learn more about Oracle Database@Google Cloud](https://docs.cloud.google.com/oracle/database/docs/overview.md.txt).