Prerequisites
- Web console
- CLI
-
Make sure you are in a group that has the
adminrole within your tenant; for example, the defaultadminsgroup. You can check this in the Administration → IAM section of the web console. -
In the Quota section of the web console, 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.
Steps
Create an endpoint
- Web console
- CLI
- In the sidebar, go to
AI Services → Endpoints.
- Click Quick start Serverless endpoint. The flow uses a preconfigured container image and default settings.
- Click Create endpoint.
Test the endpoint
- Web console
- CLI
-
Open
AI Services → Endpoints.
- Click the endpoint name to open its details. In the Network section, copy the public IP address.
-
In a terminal, send a request to the endpoint:
200 OK. The body is the default nginx welcome page, which confirms that the endpoint is serving traffic.View logs
- Web console
- CLI
- In the sidebar, go to
AI Services → Endpoints.
- 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.- Web console
- CLI
- In the sidebar, go to
AI Services → Endpoints.
- In the endpoint list, find the endpoint and click
→ Delete.
- Confirm the endpoint deletion.
Expected results
- A request without a token in the web console returns
200 OK. - A request without a token in the CLI returns
401 Unauthorizedor403 Forbidden. - An endpoint can be deleted successfully.