accessing oracle cloud storage from command line

Note for the purposes of this blog entry, the world “c url” should be interpreted as one word and not two. Unfortunately, the blog editing software that we have prohibits this work and kicks the blog entry out if it is placed in the blog without the space. Can everyone say a collective “Good Grief” and move on. Unfortunately, you will need to delete the space to make everything work properly.

Now that we have the cost and use out of the way, let’s talk about how to
consume these services. Unfortunately, consuming raw blocks, either tape
or spinning disk, is difficult in the cloud. Amazon offers you an S3
interface and exposes the cloud services as an iSCSi interface through a
downloadable object or via REST api services. Azure offers something
similar with REST api services but offers SMB downloadable objects to
access the cloud storage. Oracle offers REST api services but offers NFS
downloadable objects to access the cloud storage. Let’s look at three
different ways of consuming the Oracle Cloud services.

The first way is to use the rest API. You can consume the services by
accessing the client libraries using Postman from Chrome or RESTClient
from Firefox. You can also access the service from the c url command line.

c url -v -X GET -H “X-Storage-User: Storage-metcsgse00026:cloud.admin”
-H “X-Storage-Pass: $OPASS”
https://metcsgse00026.storage.oraclecloud.com/auth/v1.0

In this example we are connecting to the identity domain metcsgse00026.
The username that we are using is cloud.admin. We store the password in an
environment variable OPASS and pull in the password when we execute the
c url command. On Linux or a Mac, this is done from the pre-installed c url
command. On Windows we had to install cygwin-64 to get the c url command
working. When we execute this c url command we get back and AUTH header
that can be passed in to the cloud service to create and consume storage
services. In our example above we received back X-Auth-Token:
AUTH_tk928cf3e4d59ddaa1c0a02a66e8078008 which is valid for 30 minutes. The
next step would be to create a storage container

c url -v -s -X PUT -H “X-Auth-Token:
AUTH_tk928cf3e4d59ddaa1c0a02a66e8078008”
https://storage.us2.oraclecloud.com/v1/Storage-
metcsgse00026/myFirstContainer

This will create myFirstContainer and allow us to store data either with
more REST api commands or tools like CloudBerry or NFS. More information
about how to use the REST api services can be found in an
online tutorial

The second way of accessing the storage services is through a program tool
that takes file requests on Windows and translates them to REST api
commands on the cloud storage. CloudBerry has an explorer that allows us
to do this. The user interface looks like and
is setup with the File -> Edit or New Accounts menu item. You need to fill
out the access to look like . Note
that the username is a combination of the identity domain (metcsgse00026)
and the username (cloud.admin). We could do something similar with PostMan
or RESTClient extensions to browsers. Internet Explorer does not have plug
ins that allow for REST api calls.

The third, and final way to access the storage services is through NFS.
Unfortunately, Windows does not offer NFS client software on desktop
machines so it is a little difficult to show this as a consumable service.
Mac and Linux offer these services as mounting an nfs server as a network
mount. Oracle currently does not offer SMB file shares to their cloud
services but it is on the roadmap in the future. We will not dive deep
into the Oracle Storage Cloud Appliance in this blog because it gets a
little complex with setting up a VM and installing the appliance software.
The documentation for this serviceM is a good place to
start.

In summary, there are a variety of ways to consume storage services from
Oracle. They are typically program interfaces and not file interfaces. The
service is cost advantageous when compared to purchasing spinning disks
from companies like Oracle, NetApp, or EMC. Using the storage appliance
gets rid of the latency issues that you typically face and difficulty in
accessing data from a user perspective. Overall, this service provides
higher reliability than on-premise storage, lower cost, and less
administration overhead.

174 thoughts on “accessing oracle cloud storage from command line”

  1. My husband and i have been contented that John could finish off his analysis through your ideas he acquired from your web page. It is now and again perplexing to simply choose to be making a gift of guidance that some others have been selling. And we also do know we have the blog owner to give thanks to for that. The illustrations you’ve made, the simple site navigation, the friendships you help promote – it’s everything spectacular, and it’s letting our son in addition to our family understand the situation is awesome, and that is truly important. Many thanks for all the pieces!

  2. I intended to post you a very small note to finally say thanks as before with your nice ideas you’ve shown at this time. This is quite tremendously generous with people like you to give easily all that a few people might have supplied for an e-book to end up making some money for their own end, specifically given that you might have tried it if you ever wanted. The solutions likewise acted to be a fantastic way to fully grasp someone else have the identical zeal like mine to realize significantly more with reference to this matter. I believe there are numerous more pleasant opportunities up front for many who scan your blog.

  3. I have to show some appreciation to the writer just for rescuing me from this situation. Right after searching through the internet and meeting notions which are not beneficial, I was thinking my entire life was gone. Existing without the answers to the difficulties you’ve fixed by way of your entire website is a critical case, and ones which could have in a wrong way damaged my career if I had not come across your web site. Your competence and kindness in touching everything was tremendous. I’m not sure what I would have done if I had not encountered such a solution like this. It’s possible to now look forward to my future. Thank you very much for your professional and results-oriented help. I won’t think twice to refer your web site to any person who would like direction on this situation.

  4. I would like to show some thanks to this writer just for bailing me out of this particular circumstance. As a result of exploring through the the net and obtaining techniques that were not powerful, I thought my life was done. Being alive minus the answers to the issues you have solved all through your good blog post is a critical case, and the ones that might have badly damaged my career if I had not encountered your web page. Your expertise and kindness in maneuvering all the pieces was crucial. I’m not sure what I would have done if I had not discovered such a thing like this. I am able to now look ahead to my future. Thank you so much for your high quality and amazing help. I won’t be reluctant to recommend your web blog to anyone who needs direction about this situation.

  5. Thanks a lot for providing individuals with such a pleasant possiblity to read from this blog. It is always very good and full of amusement for me personally and my office colleagues to visit your site minimum thrice weekly to see the newest things you have. Not to mention, I am just usually impressed concerning the striking hints you serve. Certain 2 tips in this posting are essentially the best we have all ever had.

  6. I wanted to write down a brief comment to thank you for all of the splendid information you are giving out at this website. My incredibly long internet look up has at the end of the day been rewarded with reliable concept to write about with my company. I ‘d repeat that most of us readers are unequivocally endowed to dwell in a fabulous community with many lovely professionals with beneficial tips and hints. I feel pretty fortunate to have seen your entire website and look forward to many more entertaining minutes reading here. Thank you once more for all the details.

  7. I enjoy you because of all of the labor on this blog. Debby loves managing investigation and it’s easy to understand why. My partner and i notice all of the powerful method you convey valuable tips and tricks on this web site and as well as increase contribution from other people on the matter while our own daughter is in fact being taught a whole lot. Enjoy the rest of the new year. You’re carrying out a superb job.

  8. I precisely had to say thanks once more. I am not sure the things I would have sorted out in the absence of the actual suggestions revealed by you directly on this subject matter. Certainly was the fearsome circumstance in my circumstances, however , being able to view your specialised tactic you dealt with the issue made me to leap with delight. I am just grateful for the service as well as wish you realize what a great job you were getting into educating many others using a blog. Most likely you’ve never encountered any of us.

  9. I in addition to my guys appeared to be reading through the excellent advice found on the blog and unexpectedly I had a terrible feeling I never expressed respect to the blog owner for those strategies. These men were definitely for that reason excited to see them and already have honestly been having fun with those things. Thank you for truly being indeed considerate and for picking out varieties of incredibly good issues millions of individuals are really eager to learn about. Our sincere apologies for not saying thanks to you earlier.

  10. I intended to put you this little bit of remark to finally say thanks a lot the moment again for your personal exceptional opinions you’ve contributed on this website. It was really incredibly generous with you to convey extensively all that a lot of folks would have marketed for an electronic book to end up making some money for their own end, most notably considering that you could have done it in the event you considered necessary. Those concepts in addition acted to become a great way to recognize that most people have similar interest just as my personal own to see significantly more with reference to this matter. Certainly there are numerous more pleasurable opportunities up front for individuals that examine your blog.

  11. I am glad for commenting to make you understand of the outstanding encounter our child encountered reading through your webblog. She figured out lots of things, including how it is like to possess an excellent teaching character to get many people without difficulty comprehend a variety of impossible things. You actually surpassed our own expectations. Thank you for giving such essential, safe, educational as well as unique thoughts on your topic to Janet.

  12. I am glad for writing to make you understand what a wonderful experience my cousin’s princess had viewing the blog. She figured out many things, with the inclusion of what it’s like to have an ideal helping mindset to let many others just thoroughly grasp a variety of hard to do issues. You actually exceeded her desires. I appreciate you for rendering such effective, trustworthy, informative as well as easy thoughts on that topic to Sandra.

  13. I would like to voice my gratitude for your kind-heartedness for those who actually need help with your area of interest. Your very own commitment to getting the message up and down turned out to be exceedingly beneficial and has continually permitted men and women just like me to reach their dreams. This important information means a lot a person like me and even more to my office workers. Warm regards; from all of us.

  14. Thank you a lot for giving everyone an extraordinarily special chance to read in detail from this site. It really is so amazing and jam-packed with a lot of fun for me and my office mates to visit your site the equivalent of 3 times in a week to study the newest tips you will have. And indeed, we are certainly contented with your sensational things you serve. Some 3 points on this page are clearly the most beneficial we have ever had.

  15. I just wanted to send a brief word to be able to express gratitude to you for those superb tricks you are posting on this site. My particularly long internet search has at the end of the day been paid with extremely good information to write about with my company. I ‘d mention that many of us website visitors actually are unquestionably fortunate to dwell in a superb website with many wonderful professionals with interesting concepts. I feel quite blessed to have seen your entire website page and look forward to some more awesome moments reading here. Thanks once more for a lot of things.

  16. I would like to show my appreciation to the writer just for rescuing me from this dilemma. After looking throughout the online world and getting advice which are not productive, I was thinking my entire life was well over. Living without the presence of approaches to the issues you have solved through this write-up is a serious case, and the kind which might have in a negative way affected my career if I had not encountered the website. The training and kindness in handling every aspect was important. I’m not sure what I would’ve done if I had not come across such a point like this. I can at this time look ahead to my future. Thanks for your time so much for this reliable and results-oriented help. I won’t hesitate to recommend your web page to anybody who should have assistance on this topic.

  17. I would like to show some thanks to this writer just for bailing me out of such a scenario. Right after looking throughout the online world and obtaining solutions which are not pleasant, I believed my entire life was well over. Existing without the strategies to the difficulties you’ve fixed by means of your posting is a crucial case, and the ones which could have badly damaged my career if I had not encountered your site. That understanding and kindness in touching all the pieces was useful. I am not sure what I would’ve done if I hadn’t come upon such a step like this. I can also at this time look ahead to my future. Thanks very much for your skilled and result oriented help. I won’t be reluctant to recommend the sites to anybody who ought to have support on this situation.

  18. I must show my thanks to the writer just for rescuing me from this particular problem. Just after surfing through the search engines and getting concepts which are not powerful, I was thinking my entire life was done. Existing without the presence of approaches to the problems you have fixed through your guide is a serious case, and ones that might have in a negative way affected my entire career if I had not come across the website. Your own personal talents and kindness in maneuvering every aspect was invaluable. I am not sure what I would’ve done if I had not discovered such a thing like this. I’m able to at this moment relish my future. Thanks for your time so much for the specialized and effective help. I will not think twice to recommend your web page to anyone who desires recommendations about this subject.

  19. I intended to send you this very little observation to be able to give thanks as before just for the exceptional techniques you’ve featured in this case. It has been so wonderfully open-handed with people like you to grant unreservedly all that many of us might have made available for an ebook to help make some bucks on their own, most notably now that you could possibly have done it in the event you wanted. The solutions in addition worked to be the good way to be sure that other individuals have a similar zeal the same as my own to grasp way more when considering this problem. I’m sure there are numerous more pleasurable moments in the future for individuals who read carefully your blog.

  20. Thank you so much for giving everyone an extremely memorable chance to read in detail from here. It is often very lovely and also jam-packed with amusement for me and my office friends to search your blog at minimum three times in a week to see the new guides you have. And lastly, I am also certainly fascinated for the unique guidelines served by you. Certain 4 tips in this article are completely the most impressive we have ever had.

  21. I precisely needed to thank you very much yet again. I’m not certain the things that I would have implemented without these thoughts documented by you about that theme. It had become a very frustrating crisis for me, however , spending time with a skilled approach you processed that forced me to leap over fulfillment. I’m just thankful for your help and as well , wish you realize what a great job that you are accomplishing educating many others by way of your blog. I am certain you’ve never met all of us.

  22. I needed to compose you one bit of remark just to thank you the moment again for those pretty tips you have shown in this article. It was certainly incredibly open-handed with you in giving openly all that many people could have marketed as an e-book to help make some profit on their own, and in particular considering that you could possibly have done it in the event you desired. Those solutions likewise served as the good way to recognize that most people have similar dream similar to my very own to see more and more pertaining to this matter. I’m certain there are several more pleasurable moments in the future for individuals who look over your blog.

  23. I must voice my gratitude for your generosity in support of folks that should have help on in this issue. Your special commitment to passing the solution all through had become surprisingly practical and has usually helped others like me to reach their targets. Your valuable hints and tips can mean a lot a person like me and even more to my colleagues. Warm regards; from everyone of us.

  24. I precisely needed to thank you very much yet again. I’m not certain what I might have achieved in the absence of these tips revealed by you about that question. It had become a real distressing situation for me, but discovering a specialized mode you handled it forced me to jump with delight. I’m thankful for the support and even believe you recognize what a great job you were getting into training the mediocre ones all through a blog. Probably you have never come across all of us.

  25. Needed to draft you that little note in order to say thank you over again considering the fantastic basics you have documented here. It was really surprisingly generous with people like you to present publicly precisely what a lot of folks would have made available as an electronic book to make some bucks for their own end, even more so seeing that you might well have done it in case you considered necessary. Those inspiring ideas additionally worked to be a great way to be certain that most people have the identical zeal much like my very own to know the truth a little more with regards to this matter. I think there are many more pleasurable instances ahead for individuals who examine your blog.

  26. Thank you so much for providing individuals with an extremely special chance to read articles and blog posts from this web site. It really is so amazing plus jam-packed with a lot of fun for me personally and my office colleagues to search the blog a minimum of three times a week to read the newest stuff you will have. And of course, we are actually happy for the great inspiring ideas you give. Selected two facts in this article are particularly the simplest we have all ever had.

  27. I precisely wished to say thanks once more. I do not know what I might have created in the absence of the type of ideas provided by you directly on this concern. It previously was a daunting situation for me personally, however , noticing a new skilled strategy you handled it took me to cry with contentment. Extremely thankful for the advice and hope that you are aware of a great job you are always undertaking educating some other people with the aid of your webpage. I am sure you haven’t got to know any of us.

  28. I together with my guys were taking note of the nice tricks from your site and so unexpectedly I had an awful feeling I had not thanked you for those tips. These young boys are already totally thrilled to study all of them and now have truly been loving these things. Appreciate your truly being quite accommodating and then for making a choice on this kind of brilliant subjects millions of individuals are really eager to understand about. My personal sincere regret for not expressing gratitude to you sooner.

  29. I needed to post you this very small remark just to say thanks the moment again with your exceptional solutions you’ve discussed on this website. It’s certainly particularly open-handed with you to provide publicly exactly what most people could have supplied as an electronic book in making some dough for their own end, especially given that you might well have tried it if you ever considered necessary. The tricks in addition acted to become a great way to be sure that most people have the identical interest just as my very own to grasp a whole lot more on the subject of this condition. I’m sure there are a lot more pleasurable instances ahead for individuals who look into your blog post.

  30. I have to express my respect for your kindness in support of people that must have help on the issue. Your real dedication to passing the message all through turned out to be rather productive and have regularly allowed regular people just like me to get to their desired goals. Your entire informative key points denotes a lot a person like me and even further to my colleagues. Thanks a lot; from all of us.

  31. Thanks so much for giving everyone a very remarkable possiblity to discover important secrets from this web site. It can be so excellent and also stuffed with amusement for me and my office peers to search the blog really 3 times in one week to see the newest issues you will have. Not to mention, I am also usually happy considering the special principles served by you. Certain 1 points on this page are particularly the simplest we have had.

  32. I in addition to my guys have been examining the nice key points found on your web page while all of a sudden developed an awful feeling I had not expressed respect to the web blog owner for them. The young men happened to be totally happy to study all of them and have in effect extremely been having fun with those things. I appreciate you for getting very thoughtful as well as for finding variety of wonderful information most people are really eager to understand about. My very own honest regret for not expressing appreciation to earlier.

  33. I truly wanted to write down a remark to express gratitude to you for those stunning tips you are writing at this site. My considerable internet research has now been honored with professional content to exchange with my company. I would admit that most of us visitors are undeniably endowed to dwell in a remarkable website with so many awesome professionals with insightful things. I feel extremely lucky to have come across the web pages and look forward to so many more excellent moments reading here. Thanks a lot once again for all the details.

  34. I simply wanted to appreciate you all over again. I do not know the things I could possibly have followed without these tricks shown by you on that theme. It absolutely was a very alarming issue for me, however , observing a professional style you processed that took me to weep with fulfillment. I am happier for your work as well as wish you realize what an amazing job you happen to be doing instructing people today using a web site. More than likely you’ve never encountered all of us.

  35. I together with my buddies have been going through the good guidelines located on your web page then the sudden came up with an awful suspicion I never thanked the web blog owner for those techniques. Those people were certainly thrilled to read them and now have simply been making the most of those things. Appreciate your indeed being so kind and also for going for such marvelous subject matter millions of individuals are really desperate to be aware of. Our sincere regret for not expressing appreciation to earlier.

  36. My spouse and i got absolutely joyous that Edward managed to finish up his inquiry by way of the precious recommendations he acquired out of your web page. It is now and again perplexing just to always be giving out solutions which usually people today have been trying to sell. And now we recognize we have you to give thanks to for this. Those illustrations you made, the easy blog navigation, the relationships you make it possible to create – it’s got many impressive, and it’s letting our son and the family do think the issue is entertaining, which is certainly seriously important. Thank you for all the pieces!

Leave a Reply

Your email address will not be published. Required fields are marked *