I have the aws/s3 gem which comes with a command line program to interact with s3. I have already created a bucket in the management console names "products.mydomainname.com" but I cannot seem to read it via the API. For example, I do:
mball-lt:fsg tamoyal$ s3sh
>> Version
=> "0.6.2"
>> AWS::S3::Base.establish_connection!(:access_key_id => "MyID", :secret_access_key => "MySecret")
=> #<AWS::S3::Connection:0x1011d4140 @access_key_id="MyID", @http=#<Net::HTTP s3.amazonaws.com:80 open=false>, @secret_access_key="MySecret", @options={:access_key_id=>"MyId", :secret_access_key=>"MySecret", :port=>80, :server=>"s3.amazonaws.com"}>
>> Service.buckets
=> []
So as you can see, even though I have created a bucket in the AWS console, I cannot read the bucket. Now I try to write the bucket and then read it:
>> Bucket.create("products.frontierstrategygroup.com")
=> true
>> Service.buckets
=> []
Am I missing something here?