Creating a Bucket

On Compute Cloud@Customer, you can create Object Storage buckets.

When you create a bucket, the bucket doesn't provide public access. To make the bucket publicly available, see Using Preauthenticated Requests.

Avoid entering confidential information in names and tags.

    1. In the Compute Cloud@Customer Console navigation menu, click Object Storage, then click Object Storage.

    2. Click Create Bucket.

    3. Enter the following details:

      • Name: Enter a name for the bucket.

        Specify a name that's unique within your tenancy Object Storage namespace.

      • Create in Compartment: Select the compartment in which to create this bucket.

      • Enable Object Versioning: Optionally, you can enable object versioning.

        For more information, see Managing Object Versioning.

      • 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.

    4. Click Create Bucket.

      The bucket is created immediately and you can start uploading objects. See Uploading an Object.

  • Use the oci os bucket create command and required parameters to create a bucket in the particular namespace with a bucket name and optional user-defined metadata.

    oci os bucket create --namespace-name <object_storage_namespace> --compartment-id <compartment_OCID> --name <bucket_name> [OPTIONS]

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

    For information about how to configure your CLI environment to reach Compute Cloud@Customer infrastructure resources, see Using the CLI to Manage Compute Cloud@Customer Resources.

  • Use the CreateBucket operation to create a bucket in the given namespace with a bucket name and optional user-defined metadata.

    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.