> ## Documentation Index
> Fetch the complete documentation index at: https://docs.megaport.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Creating a Megaport Object Storage Bucket

> This help topic describes how to create a Megaport Object Storage bucket in the Megaport Portal.

This topic describes how to create a Megaport Object Storage bucket in the Megaport Portal. Each order creates one bucket in the metro that you select.

The Megaport Portal presents the bucket details, location, storage tier, object lock, versioning, storage, and pricing options on a single page, with a live order summary that updates as you make selections.

> [!NOTE]
>
> Before proceeding, ensure that you have set up your Megaport Portal account. For more information, see [Setting Up a Megaport Account](https://docs.megaport.com/setting-up.md).

> [!NOTE]
>
> By default, each company can have up to five Megaport Object Storage buckets. To adjust the limit, contact Megaport Support or your Customer Success Manager.

**To create a Megaport Object Storage bucket**

1. In the [Megaport Portal](https://portal.megaport.com), go to the **Services** page.

2. Click **Add Service**, then select **Object Storage**.

   ![Add Service button](https://docs.megaport.com/images/snippets/add-services-button.png)

   The Create Object Storage page opens. Complete the sections on this page to configure your bucket. The order summary updates as you make selections. On wider screens, the summary appears in a panel on the right. On narrower screens, it appears in a bar at the bottom of the page that you can expand.

   ![Create Object Storage page showing the Details and Location sections, with the order summary panel on the right](https://docs.megaport.com/images/storage/object/create-object-storage-details-location.png)

3. In the **Details** section, specify these fields:

   * **Bucket name** -- Enter a name for the bucket or use the name suggested by the Megaport Portal. To generate a different suggestion, click  (Suggest another name) next to the field. The bucket name must:

     * Be 3 to 63 characters long.
     * Be globally unique.
     * Contain only lowercase letters, digits, and hyphens.
     * Start and end with a lowercase letter or digit.
     * Not contain consecutive hyphens.

     You cannot change the bucket name after placing the order.

   * **Display name** (optional) -- Enter a name that helps you identify the bucket, particularly if you plan to create more than one bucket. If you leave it blank, the bucket name is used. You can change the display name later.

   * **Project** (optional) -- Select a project to add the bucket to, or leave the default (No Project).\
     You can type in the field to search by project name. The selected project appears in the order summary, and the bucket is added to it when provisioned. For more information, see [Organizing Services into Projects](https://docs.megaport.com/portal-admin/projects.md).

     To create a project without leaving the page, select **New Project** at the bottom of the list, then specify a project name and, optionally, a description. The new project is automatically selected for the order.

     > [!NOTE]
     >
     > You need permission to manage projects to create a project. Without this permission, the **New Project** option is unavailable, but you can still select an existing project.

   * **Service Level Reference** (optional) -- Specify a unique identifying number for your Megaport service to be used for billing purposes, such as a cost center number, unique customer ID, or purchase order number. The service level reference number appears for each service under the Product section of the invoice. You can also edit this field for an existing service.

4. In the **Location** section, select a metro.\
   Use the **Search** field to find a metro, or browse the region tabs, then select a metro. Only metros that offer Megaport Object Storage are listed.

5. In the **Storage Tier** section, select **Standard**.\
   Standard is the tier available for new orders, and it's selected by default. High Performance is shown as Coming soon and can't be selected.

   ![Create Object Storage page showing the Storage Tier, Object Lock (WORM), and Versioning sections](https://docs.megaport.com/images/storage/object/create-object-storage-tier-versioning-lock.png)

6. In the **Object Lock (WORM)** section, select one of these options:

   * **Off** -- Objects can be deleted or changed at any time. This is the default.
   * **None** -- Turns on object lock with no default retention period. You can add a retention period to individual objects through the S3 API.
   * **Governance** -- Objects cannot be deleted or changed until their retention period ends. Users with special permission can shorten the retention period.
   * **Compliance** -- Objects cannot be deleted or changed until their retention period ends. No user can shorten the retention period.

   If you select Governance or Compliance, enter a value in the **Retention period** field and select the unit (Days, Months, or Years). This sets the default retention period for new objects in the bucket. A month is equivalent to 30 days and a year to 365 days. The default retention period is 30 days, displayed as 1 month. The supported range is 1 to 36,500 days (100 years).

   Object lock needs versioning. If you select any option other than Off, versioning is set to On and stays on.

   > [!WARNING]
   >
   > You can enable object lock only when you create the bucket. You cannot enable it later. In Compliance mode, no user can delete or modify a protected object version until its retention period expires. Verify the retention period before placing your order.

7. In the **Versioning** section, select one of these options:

   * **Off** -- Keep only the latest version of each object. This is the default.
   * **On** -- Keep every version of each object, so you can recover an object that was overwritten or deleted.

   You can also turn on versioning after you order. After versioning is on, you can't turn it off.

8. In the **Configuration** section, specify the storage amount, then select the unit (GB or TB).

   * With a contract term, the **Storage** field specifies the amount of storage you commit to. The minimum is 10 TB.
   * With No Minimum Term, the field is named **Estimated storage**. The minimum is 1 GB.

   The default storage amount is 10 TB.

9. In the **Pricing** section, specify these fields:

   * **Contract Term** -- Select a contract term. Longer terms result in a lower monthly rate. *12 Months* is selected by default.
   * **Contract Renewal** -- Automatically renews the contract at the same price and term length when the current term ends. This is enabled by default. If you disable it, the contract rolls over to a month-to-month term at the end of the current term, without the term discount.

     For more information, see [Managing Auto Renew](https://docs.megaport.com/portal-admin/auto-renew.md).

   Contract Renewal is not available when you select No Minimum Term.

   For more information about contract terms, see [Megaport Object Storage Pricing and Contract Terms](https://docs.megaport.com/finance/storage-pricing.md).

10. Review the order summary, then click **Add Object Storage**.

    ![Order summary panel showing the bucket configuration, pricing, and the Add Object Storage button](https://docs.megaport.com/images/storage/object/create-object-storage-order-summary.png)

    The newly created bucket is added to your cart, ready for checkout.

11. Click **Review Order** to proceed through the checkout process, or click **Save** to save the configured services before placing the order.

12. Review the Important Information section and confirm agreement with the Service Agreements.

    If you do not have a promotion code, skip to the **Order Now** step. If you do have a promotion code, enter it into the **Enter discount code** field then click **Apply**. Alternatively, if a code already appears in the **Discounts** field, verify it is correct and click **Apply**.

    The promotional discount appears below the Standard Term discount.  This discount is not reflected in the Monthly Rate shown here, it is applied at the time of billing.  If an invalid or expired code causes an error with your order, contact your Megaport Account Manager for a replacement code.

    ![Add Promo Code](https://docs.megaport.com/images/snippets/add-promo-code.png)

    If you entered an incorrect promotion code, you can remove it by clicking **Remove**.

    > [!NOTE]
    >
    > In addition to entering a promotion code manually, there are two other ways to apply promotion codes.
    >
    > * **Auto-apply** -- Megaport automatically applies the promotion code to your order. It appears automatically on the Checkout page.
    > * **Manual list** -- Eligible promotion codes appear at checkout for any applicable services in your cart. You can then select and apply them.

13. Click **Order Now**.

After the bucket is provisioned, create an access key for each app that uses the bucket, then connect your apps using the S3 endpoint and the access key. For more information, see [Configuring a Megaport Object Storage Bucket](https://docs.megaport.com/storage/object/configuring-object-storage.md).

## Editing a Megaport Object Storage bucket before ordering

After you add a bucket to your cart, you can change its configuration before you place the order.

**To edit a Megaport Object Storage bucket in your cart**

1. In the cart, under Configured Services, click  (Edit) next to the bucket.

   ![Configured Services panel with the Edit icon highlighted next to the bucket](https://docs.megaport.com/images/storage/object/create-object-storage-cart-edit.png)

   The Edit Object Storage page appears, showing the current settings for the bucket.

2. Update the settings as required.\
   The fields are the same as those you specify when you create a bucket.

3. Click **Update Object Storage**.\
   The bucket is updated in your cart and the Services page opens.

## Helpful references

* [Configuring a Megaport Object Storage Bucket](https://docs.megaport.com/storage/object/configuring-object-storage.md)
* [Megaport Object Storage Billing](https://docs.megaport.com/finance/storage-billing.md)
* [Megaport Object Storage Overview](https://docs.megaport.com/storage/object.md)
* [Megaport Object Storage Pricing and Contract Terms](https://docs.megaport.com/finance/storage-pricing.md)
* [Organizing Services into Projects](https://docs.megaport.com/portal-admin/projects.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.