mirror of
https://github.com/oceanprotocol/docs.git
synced 2024-11-15 09:44:51 +01:00
61 lines
2.9 KiB
Markdown
61 lines
2.9 KiB
Markdown
---
|
|
description: How to use Google Storage for your NFT assets
|
|
---
|
|
|
|
# Google Storage
|
|
|
|
**Google Storage**
|
|
|
|
Google Cloud Storage is a scalable and reliable object storage service provided by Google Cloud. It allows you to store and retrieve large amounts of unstructured data, such as files, with high availability and durability. You can organize your data in buckets and benefit from features like access control, encryption, and lifecycle management. With various storage classes available, you can optimize cost and performance based on your data needs. Google Cloud Storage integrates seamlessly with other Google Cloud services and provides APIs for easy integration and management.
|
|
|
|
**Prerequisite**
|
|
|
|
Create an account on [Google Cloud](https://console.cloud.google.com/). Users might also be asked to provide payment details and billing addresses that are out of this tutorial's scope.
|
|
|
|
**Step 1 - Create a storage account**
|
|
|
|
**Go to** [**Google Cloud console**](https://console.cloud.google.com/storage/browser)
|
|
|
|
In the Google Cloud console, go to the Cloud Storage Buckets page
|
|
|
|
<figure><img src="../../.gitbook/assets/hosting/Screenshot 2023-06-15 at 15.52.29.png" alt=""><figcaption></figcaption></figure>
|
|
|
|
**Create a new bucket**
|
|
|
|
<figure><img src="../../.gitbook/assets/hosting/Screenshot 2023-06-15 at 15.54.21.png" alt=""><figcaption></figcaption></figure>
|
|
|
|
**Fill in the details**
|
|
|
|
<figure><img src="../../.gitbook/assets/hosting/Screenshot 2023-06-15 at 15.55.16.png" alt=""><figcaption></figcaption></figure>
|
|
|
|
**Allow access to your recently created Bucket**
|
|
|
|
<figure><img src="../../.gitbook/assets/hosting/Screenshot 2023-06-15 at 15.56.34.png" alt=""><figcaption></figcaption></figure>
|
|
|
|
**Step 2 - Upload a file**
|
|
|
|
<figure><img src="../../.gitbook/assets/hosting/Screenshot 2023-06-15 at 15.58.29.png" alt=""><figcaption></figcaption></figure>
|
|
|
|
**Step 3 - Change your file's access (optional)**
|
|
|
|
**If your bucket's access policy is restricted, on the menu on the right click on Edit access (skip this step if your bucket is publicly accessible)**
|
|
|
|
<figure><img src="../../.gitbook/assets/hosting/Screenshot 2023-06-15 at 16.08.42.png" alt=""><figcaption></figcaption></figure>
|
|
|
|
<figure><img src="../../.gitbook/assets/hosting/Screenshot 2023-06-16 at 08.15.45.png" alt=""><figcaption></figcaption></figure>
|
|
|
|
**Step 4 - Share the file**
|
|
|
|
**Open the file and copy the generated link**
|
|
|
|
<figure><img src="../../.gitbook/assets/hosting/Screenshot 2023-06-15 at 16.12.10.png" alt=""><figcaption></figcaption></figure>
|
|
|
|
<figure><img src="../../.gitbook/assets/hosting/Screenshot 2023-06-16 at 08.16.46.png" alt=""><figcaption></figcaption></figure>
|
|
|
|
**Step 5 - Publish the asset using the generated link**
|
|
|
|
Now, copy and paste the link into the Publish page in the Ocean Marketplace.
|
|
|
|
<figure><img src="../../.gitbook/assets/hosting/Screenshot 2023-06-15 at 16.26.56.png" alt=""><figcaption></figcaption></figure>
|
|
|