HP Helion Public Cloud is offering $100 per month free usage. Here is guide to get started to develop on OS X Yosemite using Python Library. We have stopped using Rackspace Cloud, so we have absolutely no support for any Rackspace related guide. HP is over a century old company and they manufactures the hardwares. HP, IBM, Dell, Fujitsu etc. will have better raw infrastructure for enterprise grade cloud. Digital Ocean is neither true cloud nor has all the services. Obviously, you will need a CDN and other services if you are a Digital Ocean user.
HP Helion Public Cloud : Rackspace is Open But Within Their Infrastructure
Basically managing API, Keystone, Tenant ID are so difficult, the server backup actually not useful. Rackspace has various problems, which many well standing users have pointed out in their blogs. Rackspace is not a manufacturer, hence can not be compared with any cloud infrastructure provider like HP. It is near impossible to resell Rackspace’s materials for higher cost plus with time, there has been huge change in cloud market. Unless it is bigger website, one can use Heroku or OpenShift at zero cost. Indeed, many a thousand of clients left Rackspace and shifted their infrastructure since May 2014. What was great about Rackspace 4 years ago (the support), that practically is provided by HP, IBM, Dell, Fujitsu etc. brands too. HP can frankly sprinkle few millions in wastage to test. All of us buy PC, computer components from these brands. When the services cost lesser, quality is good; it is better to buy Mercedes over Ferrari. Because of Worldwide support, chance of partnerships.
OS X Yosemite has too much issues. We are talking about Homebrew – iTerm2 – ZSH setup. HP Cloud will not write much about Apple’s hardware! How we can setup the OpenStack Python tools is written in this guide.
---
OpenStack is vendor specific and it is very difficult to move the server images in real. Obviously, the way we install and configure CLI tools varies.
Rackspace was really good in 2010-11. There were not much options at that time. Today, a server with 28GB RAM costs 7 dollar per month. Yes! Sounds odd, but there are providers growing. If Heroku or OpenShift can be used at zero cost, why an IaaS will not cost only 7 USD. We have not tested that 28GB RAM VPS, but we are using HP Cloud. Somewhere we wrote, basically Hostgator shared hosting also uses OpenStack! But the Tenant ID is of Hostgator. Learning these has the clear advantage of offering services or opening reseller CMS specific PaaS service.
In other words, MySQL backup and FTP backup is golden and truly open and compatible with all the systems.
HP Helion Public Cloud : Using Python OpenStack CLI Tools on OS X Yosemite
Basic thing is that, the OpenStack Python Client Tools can give huge pain if you try to install via iTerm2. The combination does not support sudo
command and pip install
has issues. The pain is so much, that it is better to use easy_install
from Terminal with sudo
command, make login changes in .zshrc
(that profile file stuff) and ultimately use OpenStack CLI Tools
from iTerm2. Usage will not demand sudo
. UNIX has wheel group. Here is a generalized official guide –
1 | https://community.hpcloud.com/article/command-line-interface-cli-tool-installation-instructions |
It is not impossible to forget one’s own fathers’ name if he/she tries to follow the guide on OpenStack official website. Reason is – they are written for the software engineer employees, not the end consumer cum developers. Software engineer employees are verbally whipped to work. When we are not employees, there is no one to call names to make us working. It adds a negative point – none loves to troubleshoot such huge problems.
Open your Terminal. Open .zshrc
with the command nano .zshrc
and add these lines at the bottom of the file :
1 2 3 4 5 6 7 8 9 10 11 12 13 | # HP Cloud export OS_TENANT_NAME=YOUR_PROJECT_NAME export OS_USERNAME=YOUR_USERNAME export OS_PASSWORD=YOURPASSWORD # US West export OS_AUTH_URL=https://region-a.geo-1.identity.hpcloudsvc.com:35357/v2.0/ # US East export OS_AUTH_URL=https://region-b.geo-1.identity.hpcloudsvc.com:35357/v2.0/ # US West export OS_REGION_NAME=region-a.geo-1 ## US East #export OS_REGION_NAME=region-b.geo-1 # HP Cloud |
Keep only one – suppose # US East
. YOUR_PROJECT_NAME
, YOUR_USERNAME
and YOURPASSWORD
are variables. As HP Cloud is RAW, unlike Rackspace, we can create a Project and show the full real data on video guides. Rackspace, by default provides ONE project. In easy words, you can not have a client or sub user. This is bad for company’s development. Software engineer employees can steal data and fly away, so, you should create a different user group. Fujitsu has kind of same setup.
^ + O
writes to file in Nano and ^ + X
exists. New Mac keyboards has no ^
written on the control
key. ^
= control key on Mac. [SHIFT] + 6
is not control
function, its for writing the symbol. A cleaned up stuff to copy will look like this :
1 2 3 4 5 6 | <pre title="location $HOME"> export OS_TENANT_NAME=123456789012345-Project export OS_USERNAME=TheCustomizeWindows export OS_PASSWORD=qVTr6hiTRMn49 export OS_AUTH_URL=https://region-a.geo-1.identity.hpcloudsvc.com:35357/v2.0/ export OS_REGION_NAME=region-a.geo-1 |
These are fully fake values. Now run :
1 2 3 4 5 | python -V # Python 2.7.2 # OpenStack does not support Python 3 sudo easy_install pip sudo pip install python-novaclient |
It is normal to see hundreds of errors. Actually it throws errors but the setup is almost complete. Else you need to check these dependencies :
1 2 3 4 5 6 7 8 9 | libxml2 libxml2-devel libxslt libxslt-devel python-pip python-devel libffi-devel openssl-devel gcc |
Now run :
1 2 3 4 | sudo easy_install python-novaclient sudo easy_install python-neutronclient sudo easy_install python-keystoneclient sudo easy_install python-swiftclient |
You need to run source .zshrc
to load the environment. All will work fine. As it is not an examination hall, a bit going outside copy-book style will not harm. You can add colors via .zshrc
or .vimrc
. White fonts looks bad. Containers should take a different color.