Skip to main content
Serverless AI lets you deploy and manage endpoints without handling infrastructure yourself. This quickstart shows how to validate basic endpoint functionality with minimal setup. In the web console, the nginx quick-start configuration deploys a ready-made example with preconfigured settings.

Prerequisites

  • Make sure you are in a group that has at least the editor role within your tenant or project; for example, the default editors group. You can check this in the Administration → IAM section of the web console.
  • In the Administration → Limits → Quotas section, check the following quotas:
    • Number of virtual machines (VMs) under Compute: make sure that at least one VM is available.
    • Total number of allocations under Virtual Private Cloud: make sure that at least one allocation is available.
    If necessary, increase the quotas.

Steps

Create an endpoint

  1. In the sidebar, go to  Serverless AI → Endpoints.
  2. Select the nginx quick start card. The quick start configuration autofills the container image, entrypoint command and default settings.
  3. Click Create endpoint.
Wait for the endpoint to start running.

Test the endpoint

  1. In the sidebar, go to  Serverless AI → Endpoints.
  2. Click the endpoint name to open its details. Wait until the endpoint is running. Then copy its managed HTTPS URL (https://...) from the Public endpoints field.
  3. In a terminal, send a request to the endpoint:
    In the command, specify the managed HTTPS URL that you copied earlier. The response should have HTTP status 200 OK. The body is the default nginx welcome page, which confirms that the endpoint is serving traffic over the managed HTTPS URL.

View logs

Viewing endpoint logs is available only in the web console and CLI.
  1. In the sidebar, go to  Serverless AI → Endpoints.
  2. In the endpoint list, next to the endpoint, click View logs. Alternatively, click  → View logs.

Delete the endpoint

If you no longer need the endpoint, delete it. Once you delete the endpoint, you will not be charged for it.
  1. In the sidebar, go to  Serverless AI → Endpoints.
  2. In the endpoint list, find the endpoint and click  → Delete.
  3. Confirm the endpoint deletion.

Expected results

  • The endpoint is reachable over its managed HTTPS URL.
  • A request without a token in the web console returns 200 OK.
  • A request without a token in the CLI or REST API returns 401 Unauthorized or 403 Forbidden.
  • An endpoint can be deleted successfully.

See also