March 26th, 2008

Announcing the Slicehost API

The Slicehost API is an interface to Slicehost services, allowing users to automate tasks as needed. Please note that the current iteration allows access to DNS only. This will change in the future as we add access to more services.

To use the API, you must have a Slicehost account. You may enable or disable API access from this account, and you may re-generate your API password as you see fit. You can find this option in the SliceManager on the API page under the Accounts tab. This API follows a standard ActiveResource pattern as seen in Ruby on Rails.

Resources

18 Comments

  1. Very nice, is there an ETA on setting up (or even better cloning) slices via the API?

    Quality as always.

  2. Awesome! I have absolutely no use for this but still think it’s brilliantly cool! ;)

  3. Great. I would love to see an API to dig into each slice’s stats (e.g. RAM, Disk, swap).

  4. Awesomo!

  5. This is really happening!! Good work guys.

    I knew that “can I have a pony” repetitive attitude would pay off!

  6. Very impressive. I’m wondering what kind of usage guidelines for this. For example, could somebody start their own DNS hosting business based off of your API? I don’t believe you charge per zone we host with you, correct?

  7. Great!!!! You kick ass guys!!!! I was just reading and lot of ideas for simplifying my life came to my mind! Hope there will be more features.

  8. This is really cool! When I get some free time I’m going to create a similar tool to cPanel’s WHM around this.

    Basically this would be a management tool to add/remove/update DNS records, Apache virtual host files and Unix users for each website hosted on your slice.

    I’ll release it as open source on google code, with installation instructions. Like cPanel, it will have fairly strict requirements about how your slice is set up. My slice is very similar to the slicehost setup tutorials (Ubuntu Gutsy, Apache, PHP, Rails, MySQL).

    Please be aware I’m going to create this tool for my own use. I’ll be releasing it as open source so other people can benefit, but I will not have time to make changes that other people request unless I want those changes for my own use. If you request a change that won’t benefit me much, you’ll have to make it yourself or find someone who can. I have too busy a schedule to spend much time on this.

    If anyone wants to know when I’ve got it to a workable state, jump to my website (abhibeckert.com) and drop me an email.

  9. Great news!

  10. Very impressive. Nice work all!

  11. Fricken awesome homegirls!

  12. This rocks.

  13. Great !!!

  14. Nice job! Is there still only access to DNS? Nevertheless well done.

  15. Thanks this api.

  16. I just get an error claiming the app can’t communicate with slicehost. It suggests I check my network connection or API host settings.

    Is the default host incorrect? I tried both WiFi & a 3g connection, which are both working for everything else.

    Caveat: I only enabled API access on the account about 15 minutes ago.

  17. Are you using the Android or iPhone app, or your own application directly using the API?

  18. Rocking cool. I work and play alot with the slicehost app. Useful and easy to make it effective!

Leave a Reply