API

The Power of CloudStack Automation

Leaseweb uses the open source Apache CloudStack technology to manage the complex and sizeable infrastructure used to host tens of thousands virtual servers in our VPS and private cloud platforms around the world.

CloudStack offers a powerful open API.  It is so effective that even the management UI is in essence only a fancy web front-end to that API.

At Leaseweb we rely completely on the CloudStack API for our automation. Both the integration with our customer facing systems such as the customer portal and order forms, as well as coupled back-end systems for billing and such, all call on the API.

Additionally, our platform engineers extensively use the API to manage, maintain, and upgrade the platforms.  The latter may come as bit of a surprise.  APIs are often seen as the exclusive realm of developers who create custom code with quite a steep barrier against casual ad-hoc use.

That is where cloudmonkey comes into play.  Cloudmonkey is an open source tool that simplifies and wraps even the most complex API calls in an easy to use, zero programming command-line utility, complete with a history and TAB-completion.

Actions that are cumbersome to perform in the management UI, let alone too error-prone and time-consuming to manually repeat multiple times in datacenters on three different continents, can quickly be reduced to several lines of shell script.  Simple reports often only require no more than a single command such as the following example that lists the total private capacity, the current usage and the remaining capacity:

cloudstack automation

A little-known fact is that our private cloud customers also get full access to that same powerful API.

To get started with the API and your own CloudStack automation, please refer to this more technical How-To in our Knowledge Base which explains in detail how to enable API access, and provides some more real-world usage examples for cloudmonkey.

 

Deploy Software RAID through the LeaseWeb Customer Portal or API

bareMetal_USP_controlFor businesses or organizations whose data is particularly sensitive or mission critical, disk fault tolerance and optimized performance aren’t luxury add-ons but absolute must haves. A Redundant Array of Independent Disks (RAID) provides the additional capacity, reliability and performance they need by combining an array of physical hard disks into a single logical disk.

RAID is a common feature on servers and almost all storage platforms because no single disk could meet all the capacity and performance demands of a busy server. To make RAID an even more valuable feature for customers, LeaseWeb has now automated its implementation – making it much quicker to deploy. Currently the feature is only available for CentOS, Debian and Ubuntu but we are working to bring the feature on board for more operating systems in the near future.

Read the rest of this entry »

LeaseWeb on Twitter

Why Open Source Platforms Are an Effective Tool for Your Business lsw.to/li1 #leasewebblog #opensource

test Twitter Media - Why Open Source Platforms Are an Effective Tool for Your Business https://t.co/Gup4QyVJut #leasewebblog #opensource https://t.co/kUjG7lbCpV

. @Leaseweb and @HPE are bringing you a #Cloud #Hosting and #Cybersecurity Meetup in Amsterdam! Join us after the @MSH_Summit for an exciting evening! lsw.to/lip

test Twitter Media - . @Leaseweb and @HPE are bringing you a #Cloud #Hosting and #Cybersecurity Meetup in Amsterdam! Join us after the @MSH_Summit for an exciting evening! https://t.co/AdJ6ZlvL05 https://t.co/y1nzCvkRcD

We are live! Watch the livestream for Twino FinTech Talks hosted by Leaseweb facebook.com/TWINOeu/videos… #fintech @Leaseweb @TWINO_eu

test Twitter Media - We are live! Watch the livestream for Twino FinTech Talks hosted by Leaseweb https://t.co/twy0zqHJl0 #fintech @Leaseweb @TWINO_eu https://t.co/4tCGQVufC8

.@Leaseweb supports @MSH_Summit as a Silver Sponsor [Dutch] lsw.to/liX - We are excited to see you all there!

test Twitter Media - .@Leaseweb supports @MSH_Summit as a Silver Sponsor [Dutch] https://t.co/pdTPKeHs5i - We are excited to see you all there! https://t.co/lBUx6KmMic