IBM Object Storage, 更好更便宜的对象存储,来自于业界第一的商业软件Cleversafe的云平台化方案,

COS

说明

COS 是IBM 的对象存储软件Cleaver Safe 提供的云存储服务,支持S3等多种协议

产品 https://www.ibm.com/cloud/object-storage

下单 https://cloud.ibm.com/catalog/services/cloud-object-storage

文档 https://cloud.ibm.com/docs/services/cloud-object-storage

 

 

Doc

文档

S3fuse  https://cloud.ibm.com/docs/infrastructure/network-attached-storage?topic=network-attached-storage-MountCOSs3fuse

Cyberduck https://cloud.ibm.com/docs/infrastructure/objectstorage-swift?topic=objectstorage-swift-OSSCyberduck

Cloudfuse https://cloud.ibm.com/docs/infrastructure/objectstorage-swift?topic=objectstorage-swift-OSSCloudfuse

 

Type https://cloud.ibm.com/docs/services/ibm-cos?topic=ibm-cos-object-storage-in-the-ibm-cloud

1)IC 购买的 https://cloud.ibm.com/docs/services/cloud-object-storage/getting-started.html

2)SL 购买的 classic https://cloud.ibm.com/docs/infrastructure/cloud-object-storage-infrastructure/about-cos.html

 

resiliency option 冗余保存参数 https://www.ibm.com/cloud/object-storage/resiliency

分别支持跨国,多点,单机房多机器冗余

-- Cross Region: Data is stored across three regions within a geography for highest availability and resiliency.

-- Regional: Data is stored in multiple data center facilities within a single geographic region for best availability and performance.

--- Single Site: Data is stored across multiple devices in a single data center for when data locality matters most.

 

COS 下单类型,

- Standard for data with active workloads.

- Vault for less-active workloads.

- Cold Vault for cold workloads.  (veeam 2nd copy, veeam 冷备可以选这个选项

- Flex for dynamic workloads.

 

 

Free

COS 免费体验, 一个账号可以用lite plan free tier 下单

    1 COS Service Instance

    Storage up to 25 GB/mo.

    Up to Data Retrieval 10 GB/mo.

    Up to 5GB Public Outbound

 

 

Price

价格

 

price  https://www.ibm.com/cloud-computing/bluemix/pricing-object-storage#location

页面中间, 有个select region 的下拉框, 选择AP Hongkong 2

收费参数 有3个, 按照存储容量费用,下载消耗流量费用,请求数费用,共3部分费用相加。

1) storage capacity存储容量

2) public outbound bandwidth下行下载流程

3) requests下载次数 每千次

 

举例01,

5TB veeam 2nd copy use Cold Vault 上传备份平日无下载 (自带Veeam,不用ibm提供Veeam SaaS软件费用)

  Storage capacity = 0.0068 *5000 = 34

  Bandwidth  (GB/Month) = 0  因为只上传,平日不需下载

  Operational requests ( per 1000) = 0.025

总费用= 34.0025

 

 

操作

IBM COS

创建配置

A 创建COS 对象存储

登入到cloud.ibm.com 

产品搜索框输入object storage, 选择COS, 或直接 https://cloud.ibm.com/catalog/services/cloud-object-storage

下单 COS, 有Lite free免费试用选项,standard 选项, (2个都可以,我选standard)

order standard instance

输入参数

  service name= COS-Veeam, 

  tag (可选) =jiang

提交后,就开通了COS, 后续按使用量来收费

 

B 配置COS bucket

继续配置,或者后续到菜单resource list, Storage,或直接到 https://cloud.ibm.com/resources

找到刚才创建的COS 继续配置

在左边菜单栏,选择Bucket

create bucket 输入参数

 bucket name= bucketveeam01

 resiliency= single site,location= HKG02    

(注:2nd copy 冷备,可以用最便宜 Cold Vault for backups with Veeam)

storage class= code vault

service credentials 输入参数

  name= ServiceCredentials-1,  

  role= writer,

create Service Credentials with HMAC enabled

  new service id = service-id-veeam-01

  Include HMAC Credential

生成后,点击 view credential,里面有后续要在veeam工具配置填入信息

{

  "apikey": "DEH6PwKrE2_nBqqj-EkQTchyqYcho1heljBfqiZE1paG",

  "cos_hmac_keys": {

    "access_key_id": "fc91be3f65214c33816440724cbbb3cd",

    "secret_access_key": "737ce475ce82745720bfc8479baad2b7307f3ee60131b6b1"

  },

  "endpoints": "https://control.cloud-object-storage.cloud.ibm.com/v2/endpoints",  这个是通用的,不用这个

  "iam_apikey_description": xxx   "iam_apikey_name": xxx   "iam_role_crn": xxx   "iam_serviceid_crn": xxx,  "resource_instance_id": xxx"

}

 

C 记下COS bucket Endpoint

在左边菜单栏,选择Endpoint

刚才上面我们reliliency选的不是cross, region, 选的是Single site. 这里同样选 Single Site, Location=HKG02, 显示结果

Public hkg02:  s3.hkg02.cloud-object-storage.appdomain.cloud  后续要用这个

Private hkg02:  s3.private.hkg02.cloud-object-storage.appdomain.cloud

 

说明:因为对象存储,IBM先后用openstack switch, cleaver safe COS 不同产品,不同版本,不同机房,

他们的end point url各自是不同的,现在例子用了COS, HKG02, 要记下用这个end point url.

 

D 测试

浏览器拖动PC本地文件到 COS Bucket 可以上传文件,说明配置成功。

 

Logo

华为开发者空间,是为全球开发者打造的专属开发空间,汇聚了华为优质开发资源及工具,致力于让每一位开发者拥有一台云主机,基于华为根生态开发、创新。

更多推荐