[Cloud computing] objects stored OSS Getting Started

What is object storage OSS:

Ali cloud object storage service (Object Storage Service, referred to as OSS), Ali cloud mass is provided, secure, low-cost, highly reliable cloud storage service. It has a RESTful API interfaces and platform-independent, able to provide service 99.99999999 percent of persistence. You can, any time, any place to store and access any type of data in any application. OSS for a variety of sites, development companies and developers.

You can use the API provided by Ali cloud / SDK interface or OSS migration tool easily vast amounts of data into or out of Ali cloud OSS. Data stored in the cloud OSS Ali later, you can select the standard type (Standard) Ali OSS cloud service as a mobile application, large sites, photo sharing or major audio and video storage hot spots, you can also choose a lower cost, longer storage period access type low-frequency (infrequent access) and archive types (archive) Ali cloud OSS service as infrequently accessed data backup and archiving.

Detailed tutorial on object storage cloud storage of OSS: [Fun] object storage cloud storage OSS Getting Started

  (This course describes how to use object storage OSS to help students master the use of OSS object storage techniques for cloud developers)

Object Storage OSS advantages:

  • Convenient, efficient use

    • RESTful API provides a standard interface, a rich SDK package, client tools, console. You can easily upload the same file as the use, download, retrieve, manage massive amounts of data for Web sites or mobile applications.

    • Any number and size of the file. You can expand storage space as unlimited amount of storage needed to solve the traditional hardware store expansion problem.

    • It supports streaming writing and reading. Especially for large video and other files on write business scenarios.

    • Support data lifecycle management. You can customize the batch delete or transferred to lower-cost archiving service expiration data.

  • Powerful, flexible security mechanism

    • Flexible authentication, authorization mechanisms. STS URL provides authentication and authorization mechanisms, as well as whitelists and anti-hotlinking function master account.

    • Provide user-level resource isolation mechanisms and multi-cluster synchronization mechanism (optional).

  • Rich, powerful value-added services

    • Picture: support for multiple image formats conversion jpg, png, bmp, gif, webp, tiff, etc., and a variety of operating a thumbnail, crop, watermark, zoom and so on.

    • Audio and video transcoding: provide high-quality, high-speed parallel audio and video transcoding capabilities, so your audio and video files easily cope with a variety of terminal equipment.

    • Accelerate content distribution: OSS as the source station, with CDN to accelerate distribution, with a stable, no bandwidth limits back to the source, cost-effective, a key feature of configuration.

Development History

time Event Description
2016/03/10 Support debris automatic cleaning function, debris can set the life cycle.
2016/03/06 OSS Media SDK officially released, encapsulated data on the device side forward pass OSS camera.
2016/01/14 OSS for setting back to the source, the mirror can be back by pouring station or redirect mode.
2016/01/07 Cross-regional on-line copy function to provide management mechanism of off-site live.
2015/12/07 OSS FUSE release.
2015/11/26 OSS Ruby SDK release.
2015/11/10 OSS Bucket enabled by default picture processing functions.
2015/10/23 Console upload files to limit the release 500MB.
2015/8/20 Line relocation tools oss-import.
2015/7/29 CDN flow back to the source OSS price decline by 40% to 0.15 yuan / GB, OSS area downstream traffic Shenzhen 15% of the price.
2015/7/18 Provide additional write function.
2015/7/8 Support Keep Alive connections, optimizing connection quality.
2015/7/8 Upload file support callback application server.
2015/6/15 Support VPC network connection configuration; support object-level ACL setting.
2015/4/26 Support URL redirection; content refresh initiative covering CDN-write cache.
2015/4/26 OSS access RAM (access control), support for master account and authorize temporary License.
2015/2/10 Providing Beijing, Shenzhen area 5GB free credit, CDN flow back to the source OSS unit price down 66 percent to 0.25 yuan / GB.
2015/1/27 Qingdao area storage unit price decreased by 15%, Shenzhen and Beijing regional areas decreased by 10%, down 5% Hangzhou area.
2014/10/20 Document lifecycle management on line to support high-volume document management.
2014/10/14 External network traffic sub-time charges, half in the morning.
2014/5/28 Qingdao area outside the network traffic unit price decreased by 10%.
2014/3/28 GB of storage per unit price reduction of 40%.
2014/3/15 Support for cross-domain functionality CORS (supported browser user page link)
2014/2/12 OSS support chunked encoding and Post upload form to upload.
2012/11/4 Support server-side encryption.
2012/9/4 CNAME line functions.
2012/8/9 Journaling, which will be owned by the user access requests to the specified Bucket logging in.
2012/6/20 Supports static website hosting features.
2012/3/30 Support to distinguish between internal and external network traffic accounting, ECS reduce user costs.
2012/3/29 Support https.
2012/2/29 Support files uploaded slices.
2011/12/16 Support Copy Object, anti-hotlinking function, HTTP Headers.
2011/10/22 Formally launched charges.

Features at a glance:

Before you use OSS product, I recommend that you read the OSS basic concepts , here introduces the Bucket, and create naming Object definitions Region, Endpoint AccessKey, which can help you better understand the features shown and described.

OSS provides the following features:

Features description
Create storage space Before you upload any files to OSS, you need to create to store the file storage space.
Delete storage space If you no longer need storage space, remove it to avoid further costs incurred.
Modify storage read and write permissions OSS provides access control ACL (Access Control List), you can set the appropriate ACL access control when creating storage space, you can also modify the ACL after the creation.
Set a static Web Hosting The storage space is configured to static websites hosted mode, and access the site through a static storage space domain.
Set the log It provides automatic recording and saving all access logs of the Bucket.
Set up anti-hotlinking OSS is a fee-per-use services, in order to reduce the data you store in OSS are other people hotlinking to generate additional costs, OSS supports security chain based on HTTP header fields referer header table settings.
Management domain The custom domain name is bound to the external OSS domain name, domain names to achieve self-definition file storage space, you can also configure a key Ali cloud CDN achieve acceleration.
管理跨域资源共享 OSS 提供 HTML5 协议中的跨域资源共享 CORS 设置,帮助您实现跨域访问。
设置生命周期 定义和管理存储空间内所有对象或对象的某个子集的生命周期。设置生命周期一般用于文件的批量管理和自动碎片删除等操作。
设置跨区域复制 将源存储空间的数据实时同步到目标存储空间。
设置回源规则 设置回源规则对获取数据的请求以多种方式进行回源读取,满足数据热迁移、特定请求的重定向等需求。
上传文件 您可以上传任意类型文件到存储空间中。
新建文件夹 您可以像管理 Windows 文件夹一样管理 OSS 文件夹。
搜索文件 在存储空间或文件夹中搜索具有相同的名称前缀的文件。
获取文件访问地址 通过获取已上传文件的地址进行文件的分享和下载。
设置文件HTTP头 单个或批量设置文件的 HTTP 头。
删除文件 删除单个文件或批量删除文件。
删除文件夹 删除单个文件夹或批量删除文件夹。
修改文件读写权限 OSS 提供权限控制 ACL(Access Control List),您可以在上传文件的时候设置相应的 ACL 权限控制,也可以在上传之后修改 ACL。
碎片管理 删除存储空间内的全部或部分碎片文件。
事件通知 通过设置事件通知功能,对您所关心的OSS资源上的相关操作及时进行消息通知。
服务实时监控 实时了解OSS服务使用情况,设置相关的报警规则。
图片服务 对保存在OSS上的图片进行格式转换、剪裁、缩放、旋转、水印、样式封装等各种处理。
API 提供 OSS支持的 RESTful API 操作和相关示例。
SDK 提供主流语言 SDK 的开发操作和相关示例。

使用场景:

OSS主要应用于以下场景:

图片和音视频等应用的海量存储

OSS可用于图片、音视频、日志等海量文件的存储。各种终端设备、Web网站程序、移动应用可以直接向OSS写入或读取数据。OSS支持流式写入和文件写入两种方式,如下图所示:

网页或者移动应用的静态和动态资源分离

利用BGP带宽,OSS可以实现超低延时的数据直接下载。也可以配合阿里云CDN加速服务,为图片、音视频、移动应用的更新分发提供最佳体验,如下图所示:

云端数据处理

上传文件到OSS后,可以配合媒体转码服务(MTS)和图片处理服务(IMG)进行云端的数据处理,如下图所示:

阿里云开发者社区全面升级,一站式体验,用得更爽:(阿里云开发者社区首页

Guess you like

Origin blog.51cto.com/14377691/2407324