AWS SDK for Ruby

Get started quickly using AWS with the AWS SDK for Ruby. The SDK helps take the complexity out of coding by providing Ruby classes for many AWS services including Amazon S3, Amazon EC2, DynamoDB, and more. The SDK is provided as individual downloadable packages for each AWS service, which include code and documentation. The SDK is also available through Ruby Gems (

$gem install aws-sdk

code to list 50 s3 buckets

require 'aws-sdk-s3' # v2: require 'aws-sdk' s3 = 'us-west-2') s3.buckets.limit(50).each do |b| puts "#{}" end

$ruby buckets.rb