Object Storage (Storage service, referred to as OSS) is a massive, secure, and highly reliable cloud storage service provided by Aliyun. Resilient expansion of storage capacity and processing capabilities, paying by volume really makes you focus on your core business. You can also easily use with other cloud products, widely used in massive data storage and backup, data processing and processing, content accelerated distribution, business data mining analysis and other business scenarios
Basic concepts
Object
In Oss, each file of a user is an object, and a single file can support 5TB. object contains key, data, and user meta. The key is an object name, and the user meta is a description of the data
Object naming specification:
Use UTF-8 encoding rule length must be between 1-1023 bytes
Object Group
An object group is a loose collection of one or more object. Users can manipulate object Group like normal object, including Get,range query,delete,list. But the data for object group and the data containing the object are not closely related.
Bucket
Each object stored on the OSS must be contained in bucket, and the bucket name is globally unique across the OSS and cannot be modified. An application, such as a picture-sharing site, can correspond to one or more bucket. A user can create up to 10 bucket, but the sum of the number and size of object stored in each bucket is unlimited, and the user does not need to consider the scalability of the data.
Bucket Naming conventions:
Can only include lowercase letters, numbers, and dashes (-)
Must begin with lowercase letters or numbers
Length must be between 3-255 bytes
Service
Service for a user is the virtual storage space that OSS provides to the user. Users can have one or more bucket in this storage space.
Access ID & access key (API key)
When a user registers an OSS, the user is assigned a pair of access IDs and access keys, called ID pairs, that identify the user and authenticate the signature to the OSS.
After you have successfully created an OSS storage service through oss.aliyun.com, you can go to the central administration-get API key to get access ID & access key
Object Storage OSS can be understood as a storage cluster that is open to use and infinitely large in space. Compared to traditional self-built server storage, it has many advantages:
Object Storage OSS |
Self-built server storage |
Reliability
|
Service availability is no less than 99.9%. Automatic scale expansion does not affect the external service; Data persistence is no less than 99.99999999%. Data automatic multiple Redundancy backup |
Limited by hardware reliability, easy to problem, once the disk bad, easy to appear irreversible data loss. Manual data recovery is difficult, time-consuming and consuming.
|
Safety
|
Provide enterprise multi-level security protection and DDoS attack, automatic black hole cleaning Multi-user resource isolation mechanism; Support for remote disaster-tolerant mechanism Provide a variety of authentication and authorization mechanism and whitelist, anti-theft chain, master account function |
Cleaning and black hole equipment need to buy separately, the price is expensive Security mechanisms need to be implemented separately, with high development and maintenance costs
|
Cost
|
The lowest cost of 0.14/gb/only need to be a month, monthly also send free amount Multi-line BGP backbone network, no bandwidth limit, uplink flow free No need to transport personnel and custody costs, 0 cost operation Dimension |
High one-time investment, low resource utilization Storage is limited by hard drive capacity and requires manual expansion Single or dual-line access speed is slow, bandwidth limit, peak period need to artificially expand Need special operation and maintenance, high cost
|
Data processing capabilities
|
Provide image processing, audio and video transcoding, content accelerated distribution, yellow service, archiving services and other data value-added services, and constantly enrich |
Additional purchase required, separate deployment
|
Windows version of the tool, it seems inconvenient, do not know how to upload pictures to the OSS, if there is a similar FTP tools.