Overview
Tencent Cloud LighthouseCOS(LHCOS) service provides a user-friendly file operation and management console, allowing users to upload, download, and manage files in any format. It supports native data distribution and data processing, featuring low cost, high efficiency, and ease of use. This makes it suitable for various scenarios such as personal blogs, mini-program development, and classroom environment demonstrations.
Preparations
When using the LHCOS service for the first time, you need to learn several basic concepts:
Object: The smallest unit of resource granularity. A file can be considered an object, which can be in any format such as images, documents, audio, and video files.
Bucket: A bucket can be understood as a "container" for storing objects and serves as a "virtual partition" for organizing data. A single bucket can hold an unlimited number of objects.
Region: Refers to the geographical locations where Tencent Cloud-managed data centers are distributed. Each bucket corresponds to one region, and data is stored in buckets within these regions.
Endpoint: The internet address for accessing objects. Users can upload or download objects via the endpoint.
Step 1: Register a Tencent Cloud account
Before using the Tencent Cloud LHCOS service, you need to register a Tencent Cloud account. Click the button below to begin registration. (If you have already registered, skip this step.)
Step 2: Complete identity verification
Step 3: Activate the LHCOS service
In the Tencent Cloud console, choose Cloud Products > Lighthouse, go to the Lighthouse console, in the sidebar, choose Light Storage > COS service, and follow the page prompts to activate the LHCOS service. (If you have already activated it, skip this step.) Step 4: Create a bucket
A bucket is a container for storing files. Before managing files, we need to create a bucket to store objects:
2. Click Create Bucket, enter the following configuration information, and keep other configurations as default.
Region: The region to which the bucket belongs. It is recommended to select the same region as the Lighthouse instance, such as Guangzhou.
Name: Enter the bucket name. The name cannot be modified after it is set.
3. Click OK to complete the creation.
Note:
LHCOS buckets are set to private read/write by default, and public access is not allowed. Public access poses security risks such as traffic theft. If public access is required, please go to the property configuration to make changes. Tencent Cloud recommends using secure modes such as pre-signed URL distribution for file distribution.
Step 5: Upload an object
Select files from local to upload to the bucket:
1. Click View File List to go to the file list page.
2. Choose Upload File > Select File, and choose the file to be uploaded to the bucket, such as a file named exampleobject.zip.
3. Click Upload to upload the file exampleobject.zip to the bucket.
Step 6: Download Object
Download cloud data to local:
1. Click the Download button to the right of the file exampleobject.zip to go to the Download File page.
2. Click OK.
Note:
By default, if the object to be downloaded can be directly opened in a browser, accessing it via a temporary link will preview the object rather than download it.
Encountered an issue?
We sincerely apologize for the issue you encountered during use. You can contact us.