Skip to Main Content

Cloud Platform

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Java cloud service - error in creating Storage Container

3401525Apr 4 2017 — edited Apr 5 2017

Hi,

I want to create 1st JCS instance.

I aam following this tutorial video: https://www.youtube.com/watch?v=5DHsE2x5mks

To create container, I am following step by step procedure given at document: http://www.oracle.com/webfolder/technetwork/tutorials/obe/cloud/objectstorage/creating_containers_REST_API/creating_containers_REST_API.html

Though I am facing following error: I should get < http:1.1 201 created

pastedImage_1.png

I am not even able to see STORAGE instance in our cloud services page.

pastedImage_2.png

Could you please suggest me the solution.

Best,

Dhruval

Comments

Manish Kapur-Oracle

Hi Dhruval,

You are using an old tutorial. Refer to the docs and video below. Creating storage containers can now be done via UI and is very easy.

Before You Begin with Oracle Java Cloud Service

https://youtu.be/lN8kwYEedIg

Be sure you also select a Replication Policy before you create your first storage container. See Selecting a Replication Policy for Oracle Storage Cloud Service in Using Oracle Storage Cloud Service. Hope it helps!

DilipG

Hi,

Please refer below scripts and add your credential details in script accordingly.

Syntax:

curl -v -s -X PUT -H "X-Auth-Token: AUTH_tk85388cfc91ece053145e3ff386e96552" https://storage.us2.oraclecloud.com/v1/Storage-myIdentityDomain/myFirstContainer

Script:

curl -v -s -X PUT -H "X-Auth-Token:  AUTH_tk85388cfc91ece053145e3ff386e96552"   https://storage.us2.oraclecloud.com/v1/Storage-dgcloud/myFirstContainer

Regards,

Dilip

SanjeevChauhan

By 403 it seems like your token is expired. You can generate new x-auth-token token and then try.

If your only aim is to create a directory, you can use cloudberry to work with cloud storage.

Technology Blog: Oracle Cloud: Using Cloud Berry to connect with Cloud Storage

Thanks

Sanjeev

1 - 3
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on May 3 2017
Added on Apr 4 2017
3 comments
205 views