Listing Instances

After creating instances in Compute Classic, you can view a list of your instances using the web console.

To complete this task, you must have the Compute_Monitor or Compute_Operations role. If this role isn’t assigned to you or you’re not sure, then ask your system administrator to ensure that the role is assigned to you in Oracle Cloud Infrastructure Classic Console. See Modifying User Roles in Managing and Monitoring Oracle Cloud.

  1. Sign in to your Cloud Account.
    • For Oracle Cloud, see Signing in to Your Cloud Account in Getting Started with Oracle Cloud.
    • For Oracle Cloud at Customer, click the Infrastructure Classic Console URL from the welcome email.
    The Infrastructure Classic Console is displayed.
  2. Click the Navigation menu icon in the top left corner of the Dashboard.
  3. Under Services, click Compute Classic.
    The Compute Classic console is displayed.
  4. (Optional) This step is relevant only if your domain spans multiple sites. To change the site, click the Site menu near the top of the page.

Your instances are listed on the Instances page. For each instance, you can view details including the label, the current status, the attached storage volumes, and the public and private IP addresses associated with it. If your instance has an interface on the shared network, the public IP address on the shared network is displayed. Otherwise, if the instance has one or more interfaces on IP networks, the public IP address associated with the interface that is used as the default gateway is displayed.

You can start, stop, or reboot an instance by selecting the instance and clicking the appropriate icon at the top of the list.

To list your instances using the CLI, use the opc compute instance list command. For help with that command, run the command with the -h option. For the instructions to install the CLI client, see Preparing to Use the Compute Classic CLI in CLI Reference for Oracle Cloud Infrastructure Compute Classic.

To list your instances using the API, use the GET /instance/container/ method. For more information, see REST API for Oracle Cloud Infrastructure Compute Classic.