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.
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
I am not even able to see STORAGE instance in our cloud services page.
Could you please suggest me the solution.
Best,
Dhruval
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!
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
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