Create or delete a network

Create a private network (VPC) with an address range of your choice, and delete one that nothing uses any more.

Last updated 18 November 2026View as Markdown

A network costs nothing. Instances you launch without one join the region's default network.

Prerequisites

  • Permission for ec2:CreateVpc; deleting needs ec2:DeleteVpc.
  • In the console, also ec2:DescribeVpcs to open Networks (without it the page says "Access denied") and a network's page (without it the page is not found).
  • Room in the VPCs quota (the default network counts).

Create a network

  1. Open Compute, then Networks, and choose Create network.
  2. (Optional) For Name, enter prod.
  3. For Region, choose the region. A network cannot be moved later.
  4. For Address range, enter the range, or keep 10.0.0.0/16.
  5. Choose Create network.

You can also create one from the Network picker of the launch form.

The range is a private IPv4 range (RFC 1918), /8 to /24, starting on its boundary; another is refused with 400. The answer is 201; the network is pending until it exists at the provider, then available. It has no subnets: instances take any free address in the range until you create a subnet.

Delete a network

  1. Open the network, then choose Danger zone.
  2. Choose Delete network, enter the network name, and choose Delete network.

The network and its subnets are removed. The delete is refused:

  • 400 "Cannot delete the default VPC".
  • 409 "Delete what is still in this VPC first: NAT gateway …" while it has a NAT gateway.
  • 409 "Delete what is still in this VPC first: …" naming every instance that is not terminated, database, cache and VPN gateway still in it.
Did this page help you?