• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » How To Use IBM Cloud CDN and Cloud Object Storage

By Abhishek Ghosh December 17, 2018 7:22 pm Updated on December 17, 2018

How To Use IBM Cloud CDN and Cloud Object Storage

Advertisement

Previously we published various guides on Rackspace Cloud Files to use CDN and Cloud Object Storage for hosting static website to hosting jQuery powered video players. Lately, Rackspace Cloud Files has been very costly with a fixed per month fees for just having the account. We have similar guides on HP Cloud CDN (HP Public Cloud has been closed). Other CDNs like KeyCDN not exactly cost effective and has marketing tricks. We noticed that IBM Cloud CDN uses Akamai. This website uses CacheFly CDN and it is too costly for ordinary usage. Performance of CacheFly CDN for reverse proxy, without doubt, is among the best. But again, it is very costly for day to day testing works where upload is the need.

New users must identify that IBM Cloud CDN and Cloud Object Storage are two separate services. It is practical to have an IBM Cloud account verified with a credit card. We have not tested with a free account. Only using IBM Cloud Object Storage will help to upload the content and make it publicly accessible. That will be great for only the US users (most of the internet users are from the US). Adding IBM Cloud’s CDN service will make that thing globally distributed – it is a good optional addition for global users. We are describing two systems as separate two paragraphs.

 

How To Use IBM Cloud Cloud Object Storage

 

We will suggest using Amazon S3 command line tool (s3cmd is a quite popular tool) for the command line users. It is very easy to configure with IBM Cloud. IBM has their own tools, as well as OpenStack tools can be used. However, they are not just easy – configuring security demands a good grasp of using different IaaS services. CyberDuck is a good GUI tool for any kind of object storage and CDN.

Advertisement

---

As for Amazon S3 command line tool, as a prerequisite :

  1. Microsoft Windows 10 needs configuring Ubuntu Bash
  2. Any GNU/Linux needs nothing more to do
  3. MacOS X needs nothing more to do, yet we commonly use iTerm2 with Homebrew

We need to have Python PIP installed (steps not shown in this guide). Just run this command to install S3CMD :

#
pip install s3cmd
#

In the meantime, go to IBM Cloud’s dashboard, and then to Cloud Object Storage. Create a “service credential”. You’ll find the official guide here :

#
https://console.bluemix.net/docs/services/cloud-object-storage/iam/service-credentials.html#service-credentials#

It is just clicking an option on left-hand side pane of Cloud Object Storage management window.

Add Inline Configuration Parameters as :


{"HMAC":true}

The above parameter makes Cloud Object Storage compatible with the S3 authorization methods. Look at the JSON output in that webpage. You’ll need access key and secret key from that output. Rest we are supplying you here.

How To Use IBM Cloud CDN and Cloud Object Storage

After it get installed, run :

#
s3cmd --configure
#

You’ll be asked the below questions :

Access Key: 
Secret Key: 
Default Region [US]:
S3 Endpoint [s3.amazonaws.com]: 
DNS-style bucket+hostname:port template for accessing a bucket [%(bucket)s.s3.amazonaws.com]:
Encryption password:
Path to GPG program [/usr/bin/gpg]: 
Use HTTPS protocol [Yes]: 
HTTP Proxy server name:

You’ll input like this :

Access Key: 
Secret Key: 
Default Region [US]: 
S3 Endpoint [s3.amazonaws.com]: s3-api.us-geo.objectstorage.softlayer.net
DNS-style bucket+hostname... : %(bucket)s.s3-api.us-geo.objectstorage.softlayer.net
Encryption password:
Path to GPG program [/usr/bin/gpg]: /usr/bin/gpg
Use HTTPS protocol [Yes]: Yes
HTTP Proxy server name: 

Your configuration will be saved in the file `~/.s3cfg`. You can run `cat` on that file or open with text editor like `nano`. The important part of the configuration file as this summary :


[default]
access_key = 
access_token = 
...
bucket_location = US
...
expiry_date =
expiry_days =
...
gpg_command = /usr/bin/gpg
...
host_base = s3-api.us-geo.objectstorage.softlayer.net
host_bucket = %(bucket)s.s3.amazonaws.com
...
secret_key = 
send_chunk = 65536
...
website_endpoint = http://%(bucket)s.s3-website-%(location)s.amazonaws.com/
website_error =
website_index = index.html

You can run command of this format to upload `example.txt` from same directory you are to upload it in the bucket named `some-bucket` :



s3cmd --acl-public put example.txt s3://some-bucket/example.txt

You’ll receive response like :

upload: 'bashrc.old.txt' -> 's3://some-bucket/example.txt'  [1 of 1]
 3106 of 3106   100% in    3s  1007.41 B/s  done
Public URL of the object is: http://some-bucket.s3-api.us-geo.objectstorage.softlayer.net/example.txt

Open that URL on browser to view the content :

#
http://some-bucket.s3-api.us-geo.objectstorage.softlayer.net/example.txt
#

That is it. If you want to install CyberDuck as a visual tool to upload then first download the application and install it. There is a guide here :

#
https://console.bluemix.net/docs/services/cloud-object-storage/gui/cyberduck.html#transfer-files-using-cyberduck

#

 

How To Use IBM Cloud CDN

 

It is funny to use IBM Cloud CDN. It is simply reverse proxy to Cloud Object Storage. Create a CDN instance with a domain name like `bluemix.net` or `ibm.com` (it does not matter as long you are not going to use your own domain).

Your main work is at Object Storage settings (not server), use S3 object store option, endpoint will be `s3-api.us-geo.objectstorage.softlayer.net`, bucket name is name of bucket in Cloud Object Storage (otherwise it will fail to find where is the file), change SSL certificate from DV SAN (default) to “default”. You’ll get some new URL for the CDN, like `bucket.cdnedge.bluemix.net`. Whenever any file or directory will be uploaded on Object Storage as publicly available, it will be available via CDN.

Tagged With cyberduck ibm cloud object sotorage , file transfer protocol in ibm cloud object storage , How to locate the bucket name in the IBM cloud storage details? , ibm cloud object storage cdn , ibm cloud storage language:en , ibm object storage language:en

This Article Has Been Shared 153 Times!

Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to How To Use IBM Cloud CDN and Cloud Object Storage

  • Pricing War in Cloud Computing Storage Started Again

    Like We Have Seen In The Past, Pricing War in Cloud Computing Storage Started Again. A Downward Pricing For The Next 18 Months is Predicted.

  • Integration of Apache Hadoop With OpenStack Swift

    The Topic Integration of Apache Hadoop With OpenStack Swift Is Not Exactly New. You Can Follow Our Guide Specially For Handling OpenStack.

  • Object Storage vs. Block Storage

    Block storage is as simple as like normal hard drives. In object storage, storage architecture manages data as objects. Both has pros & cons.

  • Cloud Foundry Versus IBM BlueMix (IBM Cloud)

    New Users Often Seek Cloud Foundry Versus IBM BlueMix (IBM Cloud) Comparison For Understanding the Tools and Open Source Technology Behind.

  • Difference Between Object Storage and Block Storage

    Difference Between Object and Block Storage Often Seeked By the Users. In both kinds, original files usually splitted. Data is bundled with metadata tags in object storage.

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Exploring the Benefits and Advantages of Microsoft’s Operating System March 22, 2023
  • Web Design Cookbook: Accessibility March 21, 2023
  • Online Dating: How to Find Your Match March 20, 2023
  • Web Design Cookbook: Logo March 19, 2023
  • How Starlink Internet Works March 17, 2023

About This Article

Cite this article as: Abhishek Ghosh, "How To Use IBM Cloud CDN and Cloud Object Storage," in The Customize Windows, December 17, 2018, March 23, 2023, https://thecustomizewindows.com/2018/12/how-to-use-ibm-cloud-cdn-and-cloud-object-storage/.

Source:The Customize Windows, JiMA.in

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT