Fixed asset hosting tutorial broken links

This commit is contained in:
Anamaria Loznianu 2023-04-06 18:23:23 +03:00
parent 62d92a38b8
commit 766b8b7b9e
1 changed files with 21 additions and 21 deletions

View File

@ -77,27 +77,27 @@ Go to the AWS portal for S3: https://aws.amazon.com/s3/ and select from the uppe
**Fill in the details**
![Create an account - 2](../.gitbook/assets/hosting/hosting-services/aws-2.png))
![Create an account - 2](../.gitbook/assets/hosting/aws-2.png))
**Create a bucket**
After logging into the new account, search for the available services and select `S3` type of storage.
![Create an account - 3](../.gitbook/assets/hosting/hosting-services/aws-3.png)
![Create an account - 3](../.gitbook/assets/hosting/aws-3.png)
To create an S3 bucket, choose `Create bucket`.
![Create an account - 4](../.gitbook/assets/hosting/hosting-services/aws-4.png)
![Create an account - 4](../.gitbook/assets/hosting/aws-4.png)
Fill in the form with the necessary information. Then, the bucket is up & running.
![Create an account - 5](../.gitbook/assets/hosting/hosting-services/aws-5.png)
![Create an account - 5](../.gitbook/assets/hosting/aws-5.png)
**Step 2 - Upload asset on S3 bucket**
Now, the asset can be uploaded by selecting the bucket name and choosing `Upload` in the `Objects` tab.
![Upload asset on S3 bucket - 1](../.gitbook/assets/hosting/hosting-services/aws-6.png)
![Upload asset on S3 bucket - 1](../.gitbook/assets/hosting/aws-6.png)
**Add files to the bucket**
@ -105,13 +105,13 @@ Get the files and add them to the bucket.
The file is an example used in multiple Ocean repositories, and it can be found [here](https://raw.githubusercontent.com/oceanprotocol/c2d-examples/main/branin_and_gpr/branin.arff).
![Upload asset on S3 bucket - 3](../.gitbook/assets/hosting/hosting-services/aws-7.png)
![Upload asset on S3 bucket - 3](../.gitbook/assets/hosting/aws-7.png)
The permissions and properties can be set afterward, for the moment keep them as default.
After selecting `Upload`, make sure that the status is `Succeeded`.
![Upload asset on S3 bucket - 4](../.gitbook/assets/hosting/hosting-services/aws-8.png)
![Upload asset on S3 bucket - 4](../.gitbook/assets/hosting/aws-8.png)
**Step 3 - Access the Object URL on S3 Bucket**
@ -123,7 +123,7 @@ Go to the `Permissions` tab and select `Edit` and then uncheck `Block all public
If editing the permissions is unavailable, modify the `Object Ownership` by enabling the ACLs as shown below.
![Access the Object URL on S3 Bucket - 1](../.gitbook/assets/hosting/hosting-services/aws-9.png)
![Access the Object URL on S3 Bucket - 1](../.gitbook/assets/hosting/aws-9.png)
**Modifying bucket policy**
@ -148,13 +148,13 @@ Note that the `<BUCKET-NAME>` must be chosen from the personal buckets dashboard
After saving the changes, the bucket should appear as `Public` access.
![Access the Object URL on S3 Bucket - 2](../.gitbook/assets/hosting/hosting-services/aws-10.png)
![Access the Object URL on S3 Bucket - 2](../.gitbook/assets/hosting/aws-10.png)
**Verify the object URL on public access**
Select the file from the bucket that needs verification and select `Open`. Now download the file on your system.
![Access the Object URL on S3 Bucket - 3](../.gitbook/assets/hosting/hosting-services/aws-11.png)
![Access the Object URL on S3 Bucket - 3](../.gitbook/assets/hosting/aws-11.png)
**Step 4 - Get the S3 Bucket Link & Publish Asset on Market**
@ -164,7 +164,7 @@ Go to [Ocean Market](https://market.oceanprotocol.com/publish/1) to complete the
Copy the `Object URL` that can be found at `Object Overview` from the AWS S3 bucket and paste it into the `File` field from the form found at [step 2](https://market.oceanprotocol.com/publish/2) as it is illustrated below.
![Get the S3 Bucket Link & Publish Asset on Market - 1](../.gitbook/assets/hosting/hosting-services/aws-12.png)
![Get the S3 Bucket Link & Publish Asset on Market - 1](../.gitbook/assets/hosting/aws-12.png)
### Azure storage
@ -180,44 +180,44 @@ Create an account on [Azure](https://azure.microsoft.com/en-us/). Users might al
Go to the Azure portal: https://portal.azure.com/#home and select `Storage accounts` as shown below.
![Create a storage account - 1](../.gitbook/assets/hosting/hosting-services/azure-1.png)
![Create a storage account - 1](../.gitbook/assets/hosting/azure-1.png)
**Create a new storage account**
![Create a storage account - 2](../.gitbook/assets/hosting/hosting-services/azure-2.png)
![Create a storage account - 2](../.gitbook/assets/hosting/azure-2.png)
**Fill in the details**
![Add details](../.gitbook/assets/hosting/hosting-services/azure-3.png)
![Add details](../.gitbook/assets/hosting/azure-3.png)
**Storage account created**
![Storage account created](../.gitbook/assets/hosting/hosting-services/azure-4.png)
![Storage account created](../.gitbook/assets/hosting/azure-4.png)
**Step 2 - Create a blob container**
![Create a blob container](../.gitbook/assets/hosting/hosting-services/azure-5.png)
![Create a blob container](../.gitbook/assets/hosting/azure-5.png)
**Step 3 - Upload a file**
![Upload a file](../.gitbook/assets/hosting/hosting-services/azure-6.png)
![Upload a file](../.gitbook/assets/hosting/azure-6.png)
**Step 4 - Share the file**
**Select the file to be published and click Generate SAS**
![Click generate SAS](../.gitbook/assets/hosting/hosting-services/azure-7.png)
![Click generate SAS](../.gitbook/assets/hosting/azure-7.png)
**Configure the SAS details and click `Generate SAS token and URL`**
![Generate link to file](../.gitbook/assets/hosting/hosting-services/azure-8.png)
![Generate link to file](../.gitbook/assets/hosting/azure-8.png)
**Copy the generated link**
![Copy the link](../.gitbook/assets/hosting/hosting-services/azure-9.png)
![Copy the link](../.gitbook/assets/hosting/azure-9.png)
**Step 5 - Publish the asset using the generated link**
Now, copy and paste the link into the Publish page in the Ocean Marketplace.
![Publish the file as an asset](../.gitbook/assets/hosting/hosting-services/azure-10.png)
![Publish the file as an asset](../.gitbook/assets/hosting/azure-10.png)