Infrastructure as a service cloud development
I have updated the Storage Availability Areas and Dynamic Disk Attach / Detach Demo presentation. There was a mistake on slide 15, Find storage volume offering information, which I corrected. While was changing that I also added more description on individual steps to make the use of parameters more clear. The link is in the same place in the IBM SmartCloud Enterprise asset repository:
I have uploaded the same storage demo presentation to slideshare.net here:
You do not need a SmartCloud Enterprise account to view it there and it will be able to be found by Internet search engines.
You can access all the documentation assets relating to cloud APIs in the SCE asset repository by searching on the sce_api tag:
1.May 31, 2012 10:00 AM Eastern US
2.Asia Pacific Alternate Meeting May 31, 11:00 am Beijing time
3.Alex Amies: Storage Management in SCE
The demo illustrates the use of storage availability areas and dynamic attach / detach features in an end-to-end data back-up and verification scenario on SmartCloud Enterprise with the command line tool and Java API.
A storage volume in SmartCloud Enterprise is a virtualized block storage unit. It can be mounted to a virtual machine as a storage device and formatted with a file system to store data. Other terms sometimes used to refer to the same concept in SCE are storage unit or just volume. Cloud users can use storage availability areas to store data in different areas within the same data center for the back-up purposes.
When creating a storage volume a storage availability area can optionally be chosen for the volume to be provisioned to. If no storage availability is chosen then one will be assigned by the system. When cloning a storage volume it may be cloned to a different data center.
A storage volume may be attached to a virtual machine instance after creation using dynamic attach. This is in contrast to static attach where a storage volume is attached to a disk during the virtual machine creation time. The storage volume may be detached without deleting the virtual machine instance using dynamic detach.
The presentation for the demo with screen shots, sample commands, and code snippets is here:
You need an SCE user account to access this. Email me at firstname.lastname@example.org to be invited to the meeting.
You can view the Javadoc for the SmartCloud Enterprise (SCE) Java API directly at this URL:
You need an SCE user account to access that URL. Sign up for the trial if you don't have an account already!
In addition, the asset download for the Java API for includes a Javadoc zip bundle that is handy to use in your IDE. For example, in Rational Software Architect or Eclipse you can mouse over the API's to view the Javadoc, as shown below.
Notice that it includes the Javadoc zip, as shown in the screenshot below.
Download all the files by clicking the Download this Asset button.
2. Enable Javadoc in the Java Build Path tab of the Project Properites dialog. Open up the entry for DeveloperCloud_API_Client-2.1.jar, as shown below.
Storage Management in SCE
1.May 30, 2012 10:00 AM Eastern US
2.Asia Pacific Alternate Meeting May 31, 11:00 am Beijing time
I will present on use of storage management features from the command line and API.
Change in the name of the group: I have changed the name of the group from the SCE API User Group to the SCE Developers Group.
Send me an email (email@example.com) if you would like to be added to like to be receive a meeting invitation.
Connecting to remote Linux desktops on is frequently needed in cloud applications. Because the remote machines are on the Internet you should be avoid sending unsecured network traffic to them and also avoid opening insecure services, like VNC, on the Internet.
I have written a technical article in the SCE asset repository that explains how to connect to a remote Linux desktop securing by tunneling VNC traffic over SSH. Besides encrypting the network traffic the technique avoids the need to open the firewall for VNC. The technique is explained for OpenSSH and PuTTY. I presented this at an SCE User Group last year and just updated it to include instructions for tunneling through a firewall to a virtual machine on a private VLAN. The TechNote will be useful to readers who have basic experience with SSH and Linux. The article is here:
Apache Libcloud is a cloud management API written in Python. It is provides a uniform API that connects to multiple cloud providers, including IBM SmartCloud Enterprise, and 23 others. Its goal is to provide a basic yet functional cloud library. Libcloud includes modules for managing virtual machines, storage, and load balancers. The current version is 0.5.2. It depends on Python 2 and will not run on Python 3. All the Linux virtual machine images in the SCE image library include a Python 2 interpreter. On Windows you can freely download and install a Python 2 interpreter from python.org.
I wrote a technical article in the SCE asset repository that explains the basics of using the Apache Libcloud
Python API with IBM SmartCloud Enterprise. Here is the link:
Sengor has contributed to the libCloud project and also helped my add an update for the SmartCloud Enterprise driver. Details are here:
Thanks to Sengor for his help.
In this post I will highlight some experience with Rational tools on IBM SmartCloud Enterprise (SCE). Rational development tools support cloud in several different ways: by being available as pre-built virtual machine images for use on the cloud; by providing a way to manage cloud resources, and by providing tools that can directly support cloud infrastructures. The use of Rational tools work on SCE are outlined in this presentation:
that I gave with Scott Peddle and Harm Sluiman at Innovate last year. The deck outlines business scenarios for use of Rational tools in cloud projects, describes the different Rational tools available in the SCE catalog, and describes the use of Rational Asset Manager in SCE. The Rational tools on SCE include Rational Asset Manager, Rational Application Developer, Rational Quality Manager, Testing as a Service, Rational Software Architect, Rational Build Forge, and Rational Team Concert. The ability to provision and manage J2EE servers on SCE directly from Rational Application Developer and Rational Software Architect is particularly useful. There is a deep dive on the use of Rational Asset Manager to support cloud-based asset development, especially development of virtual machine images.
Also, just a reminder that the IBM SmartCloud Enterprise promotion is still ongoing and allows new customers to test drive the cloud for free for a limited period. Details here: