S2
S2 is a lightweight S3-compatible object storage service with built-in Web Console, suitable for providing private object storage to sites, applications and development environments in lazy cats.
##Functional characteristics - S3 compatible API: Supports standard AWS SigV4 authentication and can be directly used by AWS CLI, SDK and common development tools. - Built-in Web Console: You can manage buckets, upload files, preview text and pictures, and delete objects in the browser. - The default login method is clear and direct: the Web Console uses the browser Basic Auth, and you can enter directly by filling in the `s3_access_key_id` / `s3_secret_access_key` configured during installation. - Single service and dual entrances: The default domain name opens the Console, and the `api-` prefix domain name exposes the S3 API to avoid mixing browser entrances and client entrances. - Data persistence: Object data is uniformly dropped to `/lzcapp/var/data` and will remain after restarting or upgrading. ###Opening an app for the first time 1. Open the application and enter the Lazy Cat Configuration Wizard. 2. Fill in `S3 Access Key ID`,`S3 Secret Access Key` and optional `Initial Buckets` in the wizard, such as `smoke-demo`, and then click Start Deployment. 3. After the deployment is completed, it will jump to the lazy cat address, and then the browser Basic Auth login box will pop up first. 4. Fill in `S3 Access Key ID` for the user name, fill in `S3 Secret Access Key` for the password, and enter the S2 Web Console after logging in. 5. After logging in, the home page displays 'Storage Overview / No Bucket Selected' by default; this is normal, indicating that the Console is open, but no buckets have been selected. 6. Click the target bucket in the bucket list on the left to enter the object list page before continuing uploading, previewing or deleting files. 7. If you need to use the S3 API for scripts, SDKs, or AWS CLI, point the endpoint to `https://api-s2. Your box name.heiyu.space`. ###Suggestions for filling in configuration wizard parameters 1. Letters, numbers, hyphens--and underscores__are recommended for `S3 Access Key ID`, such as `s2admin` and `s2test-20260518-b`. 2. 'S3 Access Key ID' is not recommended to contain spaces, Chinese or ': / @ ? #`These special characters avoid triggering compatibility issues in the browser, CLI, or SDK. 3. 'S3 Secret Access Key' recommends using a random high-intensity string of at least '16' bits. A longer length will be more secure. 4. If S3 Secret Access Key contains special characters, pay attention to quotes and escapes when using it in shells, environment variables, or scripts. ###Using AWS CLI to access S3 APIs | 1 |Configure environment variables| `AWS_ACCESS_KEY_ID=<s3_access_key_id entered during installation>` `AWS_SECRET_ACCESS_KEY=<s3_secret_access_key entered during installation>`| Credentials ready to complete| | 2 |List bucket| `aws --endpoint-url https://api-s2. Your box name.heiyu.space s3 ls`| You can see buckets such as 'smoke-demo'| | 3 |upload object| `aws --endpoint-url https://api-s2. Your box name.heiyu.space s3 cp ./ api-test-2026.txt s3://smoke-demo/api-test-2026.txt` |upload success| | 4 |download object| `aws --endpoint-url https://api-s2. Your box name.heiyu.space s3 cp s3://smoke-demo/api-test-2026.txt ./ api-test-2026-downloaded.txt` |The download was successful and the file content was consistent|

