Skip to content

Instantly share code, notes, and snippets.

require 'fog'
service = Fog::Compute.new(
provider: 'rackspace',
rackspace_username: ENV['RAX_USERNAME'],
rackspace_api_key: ENV['RAX_API_KEY'],
rackspace_region: :ord
)
# Adjust these settings based on your needs.