cloudfoundry-community / s3-cf-service-broker

A Cloud Foundry Service Broker for Amazon S3
Apache License 2.0
22 stars 18 forks source link

support for ceph radosgw (onsite s3) #9

Closed ramonskie closed 9 years ago

ramonskie commented 9 years ago

is there a possibility to set the host? because ceph(radosgw) have almost full s3 support see http://docs.ceph.com/docs/master/radosgw/s3/

we already use ceph for cf droplets

    droplets:
      droplet_directory_key: <%= root_domain %>-cc-droplets-new
      fog_connection:
        provider: "AWS"
        host: "s3.eden.klm.com"
        scheme: "http"
        port: 80
        aws_signature_version: "2"
        aws_access_key_id: "XXXXXXXXXXXXXXXXXX
        aws_secret_access_key: "XXXXXXXXXXXXXXXXXXXXXXX"

so we only need to be able to set ( host, scheme, port, aws_signature_version )

davidehringer commented 9 years ago

@ramonskie The endpoint for the s3 API could be customized (it isn't implemented to allow for this today). But this service broker relies on the AWS IAM APIs in addition to S3. It uses IAM to create users and manage permissions. I don't know much about ceph but I'm assuming that may be an issue.