Alicloud OSS tutorial

Time:2020-9-29

Ali OSS

1. Overview

OSS (object storage service) is a restful object storage service provided by alicloud, which can store and access any type of data in any application, at any time, in any place.

  • Storage type

OSS providesStandard (frequently accessed data)Low frequency access (infrequently accessed data)Archiving (long term data)Three storage types

  • Storage space (bucket)

Storage space is the container you use to store objects. All objects must belong to a storage space. Storage space has various configuration properties, including region, access rights, storage type, etc. The corresponding type of data can be stored according to different types of storage space.

  • object

Object is the basic unit of OSS data storage, also known as OSS file. Objects are defined byObject metaUser dataandFile name (key)form.
The object is identified by a unique key within the storage space. Object meta information is a group of key value pairs, which represents some properties of the object, such as the last modification time, size and other information. At the same time, you can also store some custom information in the meta information.

  • region

Physical location of OSS data center

Endpoint indicates the domain name of OSS external service access. OSS provides external services in the form of HTTP restful API. When accessing different regions, different domain names are required. The domain names needed to access the same region through intranet and extranet are also different.

  • Access key

Access key (AK) refers to the accesskeyid and accesskeysecret used in access authentication. OSS uses the symmetric encryption method of accesskeyid and accesskeysecret to verify the identity of the sender of a request. Accesskeyid is used to identify the user; accesskeysecret is the key used by the user to encrypt the signature string and OSS to verify the signature string, which must be kept confidential.

  • Common related services

    • Image processing: you can perform various operations such as format conversion, scaling, clipping, rotation, adding watermark to the image resources stored on OSS.
    • Cloud Server: provide simple and efficient cloud computing services with scalable processing capacity
    • CDN (content distribution network): the experience of caching OSS resources to edge nodes in various regions, using the data cached by edge nodes to promote the same file, which is repeatedly downloaded by edge node customers.

OSS easy to use

The process of using alicloud management console to complete basic OSS operations is as follows:
Alicloud OSS tutorial
http://cloud.video.taobao.com… (official video teaching)

You can also use the graphical management tool ossbrowser, the command-line management tool ossutil, and a variety of language supporting SDK. Please refer to https://help.aliyun.com/docum…

Recommended Today

Understand mybatis step by step through the project

Reprint please be sure to indicate the source, original is not easy! Related articles:Understand mybatis < 1 > step by step through the project All code address of the project:Github-Mybatis Mybatis solves the problem of JDBC programming 1. The frequent creation and release of database links results in the waste of system resources, which affects […]