• 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 » Empty a Swift Container & CDN (HP Cloud)

By Abhishek Ghosh April 13, 2015 6:15 pm Updated on April 13, 2015

Empty a Swift Container & CDN (HP Cloud)

Advertisement

Here is How To Empty a Swift Container & CDN on HP Helion Cloud Where the Container Has Multiple Files and Pseudo Directories. This action can not be done via Web GUI. OpenStack Swift of HP Helion Cloud is linked with Akamai CDN, just like Rackspace. Except HP, none of us are the “admin” of that associated Akamai CDN account. The function is integrated via API. There are web GUI tools to manage HP Cloud CDN for the clients but we will use Python Client on Mac for giving example of How To Empty a Swift Container & CDN a typical Object Container and associated CDN irrespective of the vendor.

 

Empty a Swift Container & CDN (HP Cloud) : Install the Python Client

 

You must have OpenStack Swift Python client installed on your local computer in the way described before and have the OPENSTACKRC file’s content on your active profile file – for iTerm2, Homebrew and ZSH, this can be .zshrc file.

 

Empty a Swift Container & CDN (HP Cloud) : Steps

 

Feedburner does not allow HTTPS urls. We have a fix for that Feedburner Feed URLs for HSTS websites. The linked url is a guide for Rackspace Cloud Files, which is basically OpenStack Swift Object Container linked CDN. Quite obviously, after using for a month in this format of new directories :

Advertisement

---

Vim
1
2
3
4
feeds/14042001501/feed.xml
feeds/14042001502/feed.xml
feeds/14042001503/feed.xml
feeds/15042001501/feed.xml

Empty a Swift Container CDN (HP Cloud)

The feeds container needs flushing. Only one thing to remember in this regard – the active region on your profile file must match with the HP Cloud CDN’s region. You can run a simple command in [example case with .zshrc] :

Vim
1
2
cd ~
cat .zshrc | grep "OS_AUTH_URL"

Then do a listing :

Vim
1
swift list

Then run this format of command :

Vim
1
swift delete <container-name>

You will get kind of list on command line of what is getting deleted. Now, login to HP Cloud account; go to Containers and create container of the name you want. It can be the older name. Set the TTL to very low. If you do not want to delete the container, then run this :

Vim
1
swift delete <container-name> *

Do these steps before publication of a new post in case you are using for feed. Else Feedburner will get 404.

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 Empty a Swift Container & CDN (HP Cloud)

  • Nginx WordPress Installation Guide (All Steps)

    This is a Full Nginx WordPress Installation Guide With All the Steps, Including Some Optimization and Setup Which is Compatible With WordPress DOT ORG Example Settings For Nginx.

  • Changing Data With cURL for OpenStack Swift (HP Cloud CDN)

    Changing Data With cURL For Object is Quite Easy in OpenStack Swift. Here Are Examples With HP Cloud CDN To Make it Clear. Official Examples Are Bad.

  • Python Script to Upload Files to OpenStack Swift (HP Cloud CDN)

    Here is a Simple Python Script to Upload Files to OpenStack Swift, for Our Case HP Cloud CDN. Very easy to use from Mac or Linux Server.

  • OpenStack Swift & HPCloud CDN PHP Bindings : Basics

    Here is the basics of OpenStack Swift & HPCloud CDN PHP Bindings for the WordPress Plugin developers and those who works with PHP based CMS.

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

  • Hybrid Multi-Cloud Environments Are Becoming UbiquitousJuly 12, 2023
  • Data Protection on the InternetJuly 12, 2023
  • Basics of BJT TransistorJuly 11, 2023
  • What is Confidential Computing?July 11, 2023
  • How a MOSFET WorksJuly 10, 2023
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