Aliyun SDK for ruby developers.
Clone or download
Latest commit f86bda1 Mar 23, 2018


Fury Code Climate Test Coverage Travis CircleCI security Dependency Status FOSSA Status

Ruby wrapper of Aliyun API for system adminstrator.


Add gem 'aliyun' to your application's Gemfile:

gem 'aliyun'

And then run:

$ bundle install

Or install it with gem command:

$ gem install aliyun



require 'rubygems'
require 'aliyun'

options = {
  :access_key_id => "_YOUR_API_KEY_",
  :access_key_secret => "_YOUR_API_SECRET_",
  :service => :ecs

service = options
parameters = {}

puts service.DescribeRegions parameters

You can create/fetch access key and secret at

Current support these services:

  • :cdn => CDN (Content Delivery Network)
  • :cms => CMS (Cloud Monitor Service)
  • :dns => DNS (Domain Name Service)
  • :ecs => ECS (Elastic Compute Service)
  • :ram => RAM (Resource Access Management)
  • :rds => RDS (Relational Database Service)
  • :slb => SLB (Server Load Balancer)
  • :sts => STS (Security Token Service)


  1. Fork it ( )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request



FOSSA Status