This topic describes how to create and delete a project in the Simple Log Service console.
A Simple Log Service project is a resource management unit that is used to isolate and manage resources. A project contains resources such as Logstores, Metricstores, Eventstores, and machine groups. You can access Simple Log Service resources in a project. For more information, see Project.
Create a project
You can create up to 50 projects for each Alibaba Cloud account.
Log on to the Simple Log Service console.
In the Projects section, click Create Project.
In the Create Project panel, configure the parameters and click Create. The following table describes the parameters.
The name of the project. The name must be unique in a region and cannot be changed after the project is created.
The description of the project.
The region of the project. You can select a region based on log sources. After you create a project, you cannot change the region where the project resides or migrate the project to another region.
If you want to collect logs from an Elastic Compute Service (ECS) instance, we recommend that you select the region where the ECS instance resides. This way, Simple Log Service can use the internal network of Alibaba Cloud to accelerate log collection.
The disaster recovery type of the project. After the project is created, you cannot change the type.
Locally Redundant Storage
Locally redundant storage (LRS) stores multiple copies of your data on multiple devices of different facilities in the same zone. LRS ensures data durability and availability even if hardware failures occur.
Zone-redundant Storage (ZRS) stores multiple copies of your data across multiple zones in the same region. If a zone becomes unavailable, data that is stored in other zones in the same region is still accessible.Important
Simple Log Service ZRS is in public preview. To enable ZRS, submit a ticket.
Simple Log Service ZRS is supported in the following regions: China (Hangzhou), China (Shanghai), China (Beijing), China (Zhangjiakou), China (Ulanqab), China (Shenzhen), China (Hong Kong), and Singapore.
You cannot disable ZRS after it is enabled.
For more information about ZRS, see Zone-redundant Storage.
Enable Log Collection
The service logs that you want to store. After you select the service logs, Simple Log Service stores the logs that are generated in the current project in a specified project. For more information, see Service logs.
If you select Detailed Logs, Simple Log Service stores full operation logs in a Logstore of the specified project.
If you select Important Logs, Simple Log Service stores logs of the consumer group latency and Logtail heartbeats in a Logstore of the specified project.
If you select Job Operational Logs, Simple Log Service stores logs of data import, Scheduled SQL, and data shipping jobs in a Logstore of the specified project.
Log Storage Location
After you select the service logs, you must select a project to store the service logs. Valid values:
Automatic creation (recommended)
Other project in the same region as your project
View the endpoint of a project
After you create a project, you can view the endpoint of the project on the Project Overview tab.
In the Projects section, click the project that you want to manage.
On the Project Overview tab, view the endpoint of the project.
To access projects in different regions, you must use different endpoints. To access projects in the same region over an internal network or the Internet, you must also use different endpoints. For more information, see Endpoints.
Delete a project
After you delete a project, all logs stored in the project and the configurations of the project are deleted and cannot be restored. Proceed with caution.
In the Projects section, find the project that you want to delete and click Delete in the Actions column.
In the Delete Project panel, enter the project name and select a reason. Then, click OK.
Project-related API operations
Create a project
Delete a project
Query a project
Query all projects
Modify a project