Creating a Service Gateway

On Compute Cloud@Customer, you can create one service gateway per VCN. The service gateway is automatically attached to the VCN it's created in. Services use CIDR labels, and are allowed by default.

For each enabled Service, you need a route rule with the Service object’s CIDR block as the rule destination and the service gateway as the rule target.

    1. In the Compute Cloud@Customer Console navigation menu, click Networking, then click Virtual Cloud Networks.

    2. At the top of the page, select the compartment that contains the VCN for which you want to create a Service Gateway.

    3. Click the name of the VCN.

    4. Under Resources, click Service Gateways.

      The number of configured Service Gateways in parentheses must be zero (0).

    5. Click Create Service Gateway.

    6. Fill in the required information:

      • Name: Provide a name or description for the Service Gateway.

        Avoid entering confidential information.

      • Create in Compartment: Select the compartment in which to create the Service Gateway.

      • Services: Select the service from the list.

      • Route Table Association (Optional): You can associate a route table with the Service Gateway. Select a route table from the drop-down list. You can change the compartment by clicking (change) next to the compartment name.

      • Tagging: (Optional) Add one or more tags to this resource. If you aren't sure whether to apply tags, skip this option (you can apply tags later). For more information about tagging resources, see Resource Tags.

    7. Click Create Service Gateway.

      The Service Gateway is now ready for the addition of route rules or security settings.

  • Use the oci network service-gateway create command and required parameters to create a new service gateway in the specified compartment.

    oci network service-gateway create [OPTIONS]

    For a complete list of CLI commands, flags, and options, see the Command Line Reference.

  • Use the CreateServiceGateway operation to create a new service gateway in the specified compartment.

    For information about using the API and signing requests, see REST APIs and Security Credentials. For information about SDKs, see Software Development Kits and Command Line Interface.