

# Create a resource gateway in VPC Lattice
<a name="create-resource-gateway"></a>

Use the console to create a resource gateway.

**To create a resource gateway using the console**

1. Open the Amazon VPC console at [https://console.aws.amazon.com/vpc/](https://console.aws.amazon.com/vpc/).

1. In the navigation pane, under **PrivateLink and Lattice**, choose **Resource gateways**.

1. Choose **Create resource gateway**.

1. For **Resource gateway name**, enter a name that is unique within your AWS account.

1. For **IP address type**, choose the IP address type for the resource gateway.

   1. If you selected **IPv4** or **Dualstack** for the **IP address type**, you can enter the number of IPv4 addresses per ENI for your resource gateway.

     The default is 16 IPv4 addresses per ENI. This is a suitable number of IPs to form connections with your backend resources. 

1. For **VPC**, choose the VPC and subnets to create your resource gateway in. 

1. For **Security groups**, choose up to five security groups to control inbound traffic from the VPC to the service network.

1. (Optional) To add a tag, choose **Add new tag** and enter the tag key and the tag value.

1. Choose **Create resource gateway**.

**To create a resource gateway using the AWS CLI**  
Use the [create-resource-gateway](https://docs.aws.amazon.com/cli/latest/reference/vpc-lattice/create-resource-gateway.html) command.