Enabling a cloud connection to OpenStack Swift

You can use the management GUI or command-line interface to enable a cloud connection to OpenStack Swift interfaces. OpenStack Swift provides a set of standard interfaces that can be used to create private cloud solutions.

Important: As of 10 December 2018, no new accounts of Object Storage OpenStack Swift (infrastructure) can be created on IBM Cloud®. Existing Object Storage OpenStack Swift (infrastructure) accounts will continue to work and be supported. Therefore, transparent cloud tiering is only supported by IBM Cloud for users who have an existing Object Storage OpenStack Swift (infrastructure) account.
To enable a cloud connection between the system and OpenStack Swift interfaces in the management GUI, complete these steps:
  1. In the management GUI, select Settings > System > Transparent Cloud Tiering.
  2. Click Enable Cloud Connection.
  3. On the Welcome page, click Next. If encryption is not activated or configured on the system, several warnings display. Encryption cannot be configured later after the cloud account is created.
  4. If a DNS server is not configured on the system, enter the IP address and name of the server that converts the host name of the cloud service provider to IP addresses for the system. You can configure up to two DNS servers for cloud accounts. Click Next.
  5. On the Cloud Service Provider page, select OpenStack Swift.
  6. Expand the OpenStack account and enter the following information:
    Tenant
    Enter the name of the OpenStack tenant that the system uses to access the cloud storage.
    User name
    Enter the user name that is associated with the account. The user name identifies clients that can access content that is stored by the cloud service provider.
    Password
    Enter the password that is associated with the user name for the cloud account.
    Endpoint
    Enter the URL that the system uses to access the cloud service provider.
    Container prefix
    Enter a short string that is added to the beginning of the container name to identify which containers are associated with the system. Prefixes can also be used to identify multiple systems that use the same cloud account to store snapshots of volume data.
    SSL Certificate
    Select the SSL certificate that is used to authenticate the system to the cloud service provider.
    Keystone
    Select this option if Keystone authentication is to be used. If this option is not set, the system uses OpenStack TempAuth. Verify with the administrator of the cloud service provider whether Keystone authentication is used.
    Note: The system supports OpenStack Swift cloud service providers that use Keystone authentication 2.0. Later versions of Keystone authentication are not supported.
    Encryption
    If encryption is configured on the system, this value is preselected. If encryption is not enabled on the system, this option is unavailable.
    Bandwidth
    Determine how bandwidth is used for downloads to and uploads from the cloud service provider. Specify No Limit to allow the connection to use unlimited bandwidth, regardless of other operations that occur on the system. If you do not want to give unlimited bandwidth to these operations, you can specify the maximum amount of bandwidth that the connection can use for either downloads or uploads.
  7. Click Next.
  8. On the Summary page, verify all the settings and click Finish.
To enable a cloud connection between the system and OpenStack Swift interfaces in the command-line interface, complete one of the following steps:
  1. If you want to enable a cloud connection to OpenStack Swift interfaces with Keystone authentication, enter the following command:
    mkcloudaccountswift -containerprefix svc_backups -keystone 
    -endpoint https://mysecurecloud.company.com:5000/auth/v2.0 -tenantname tenant 
    -username username -password 'password' -certificate /tmp/my_server_cert.pem
  2. If you want to enable a cloud connection to OpenStack Swift interfaces that do not use Keystone authentication, enter the following command:
    mkcloudaccountswift -containerprefix svc_backups 
    -endpoint http://mycloud.company.com:8080/auth/v1.0 -tenantname tenant 
    -username username -password 'password'