Skip to content

S3 Channel சேர்க்கவும்

எப்போது பயன்படுத்துவது

S3 channel பயன்படுத்தலாம், நீங்கள்:

  • Cloudflare R2, Backblaze B2, MinIO, AWS S3 அல்லது மற்ற S3-compatible object storage service ஒன்றை connect செய்ய விரும்பினால்.
  • standard S3 model-ஐ விரும்பினால்: Endpoint, Access Key, Secret Key.
  • native Cloudflare R2 binding channel பயன்படுத்த விரும்பவில்லை என்றால், அல்லது provider Cloudflare R2 அல்ல என்றால்.

தொடங்குவதற்கு முன் தேவையானவை

தேவைபயன்பாடு
S3 Endpointobject storage service-இன் S3 API endpoint.
Bucket namefiles சேமிக்கப்படும் bucket.
Regionstorage region. Cloudflare R2-க்கு பொதுவாக auto.
Access Key IDS3 access key ID.
Secret Access KeyS3 secret access key.
CDN domainfile access-க்கு optional custom domain.

Cloudflare R2-ஐ S3 API மூலம் பயன்படுத்தும் உதாரணம்:

text
Endpoint: https://your-account-id.r2.cloudflarestorage.com
Bucket: your-r2-bucket-name
Region: auto
Access Key ID: copied from the Cloudflare R2 API token
Secret Access Key: copied from the Cloudflare R2 API token

எங்கு சேர்ப்பது

  1. System Settings திறக்கவும்.
  2. Upload Settings-க்கு செல்லவும்.
  3. மேல் வலது மூலையில் Add Channel கிளிக் செய்யவும்.
  4. S3 தேர்வு செய்யவும்.

Field Reference

Fieldபயன்பாடுRequired
Channel nameஇந்த S3 channel-க்கு எளிதாக அறியக்கூடிய பெயர், உதா. s3test அல்லது R2-S3.Yes
Enable channelஇந்த channel upload selection-ல் பங்கேற்க வேண்டுமா என்பதை கட்டுப்படுத்தும்.Recommended
Endpointமுழு S3 service endpoint, https:// உடன்.Yes
Custom CDN domainOptional. set செய்தால் generated file links இந்த domain-ஐ முன்னுரிமை தரும்.No
Bucket namebucket name, உதா. s3test அல்லது img-r2.Yes
Bucket regionRegion. Cloudflare R2-க்கு பொதுவாக auto.Yes
Access Key IDS3 access key ID.Yes
Secret Access KeyS3 secret access key.Yes
Path-style accesscompatibility switch. default off. சில MinIO, OpenList, self-hosted S3 services-க்கு தேவைப்படலாம்.No
Quota limitcapacity அடிப்படையில் upload selection-ஐ கட்டுப்படுத்தும்.No
Capacity limitquota limit enabled ஆன பிறகு required, உதா. 10 GB.Required when quota limit is enabled
Thresholdusage இந்த percentage அடைந்ததும் write நிறுத்தும், உதா. 90%.Required when quota limit is enabled
Remarkஉங்கள் maintenance notes.No

Cloudflare R2 S3 API Keys உருவாக்கவும்

  1. Cloudflare Dashboard திறக்கவும்.
  2. R2 Object Storage-க்கு செல்லவும்.
  3. Manage R2 API Tokens அல்லது API token management entry கண்டறியவும்.

![R2 API token entry](../../image/upload/s3/r2 api token入口.png)

  1. target bucket அணுகக்கூடிய R2 API token உருவாக்கவும்.

Create an account API token

  1. generated Access Key ID மற்றும் Secret Access Key copy செய்யவும்.

Copy the token values

  1. R2 bucket page-க்கு திரும்பி bucket name confirm செய்யவும்.
  2. account-இன் S3 API endpoint note செய்யவும். பொதுவாக:
text
https://your-account-id.r2.cloudflarestorage.com

Setup Steps

  1. Upload Settings திறக்கவும்.
  2. Add Channel கிளிக் செய்யவும்.
  3. S3 தேர்வு செய்யவும்.
  4. அறியக்கூடிய channel name உள்ளிடவும், உதா. s3test.
  5. Endpoint-ல் S3 API endpoint உள்ளிடவும்.
  6. custom CDN இருந்தால் Custom CDN domain நிரப்பவும்; இல்லையெனில் காலியாக விடவும்.
  7. bucket name உள்ளிடவும்.
  8. region உள்ளிடவும். Cloudflare R2 உதாரணத்துக்கு auto.
  9. Access Key ID மற்றும் Secret Access Key உள்ளிடவும்.
  10. provider தெளிவாக கேட்கவில்லை என்றால் path-style access off வைத்திருக்கவும்.
  11. capacity control வேண்டும் என்றால் quota limit enable செய்து capacity limit மற்றும் threshold நிரப்பவும்.
  12. Save கிளிக் செய்யவும்.

Add S3 configuration

Verify செய்வது

Checkசரிபார்ப்பு
Channel card appearsSave செய்த பிறகு Upload Settings-ல் S3 channel card தெரியும்.
Channel is enabledcard மேல் வலது switch on ஆகவே இருக்கும்.
Key fields are saveddetail view-ல் Endpoint, Bucket, Region, path-style access மற்றும் related fields தெரியும்.
Upload workstest image upload செய்து object target bucket-ல் வந்ததா பார்க்கவும்.
Link opensupload-க்கு பிறகு கிடைக்கும் image link திறக்க வேண்டும்.
Capacity display worksquota limit enabled என்றால் used capacity மற்றும் configured limit காட்ட வேண்டும்.

S3 capacity statistics provider bucket-ஐ real time query செய்வதில்லை. ImgBed local file records அடிப்படையில் கணக்கிடுகிறது. S3 configuration save செய்த பிறகு current D1 records-ல் இருந்து quota ledger recalculated ஆகும்.

Quota query succeeded

FAQ

path-style access enable செய்ய வேண்டுமா?

பொதுவாக வேண்டாம்.

உங்கள் provider virtual-hosted-style URLs support செய்யவில்லை என்றால், அல்லது documentation path-style access கேட்கிறது என்றால் மட்டும் enable செய்யவும்.

CDN domain எதற்கு?

bucket முன் CDN அல்லது custom access domain வைத்திருந்தால் அதை இங்கு நிரப்பவும்.

அமைத்த பிறகு generated file links அந்த domain-ஐ முன்னுரிமை தரும். CDN இல்லையெனில் காலியாக விடவும்.

upload fail ஆனால் என்ன பார்க்க வேண்டும்?

  1. Endpoint முழு https:// URL உடன் உள்ளதா.
  2. bucket name சரியா.
  3. Region provider requirement-க்கு பொருந்துகிறதா.
  4. Access Key ID மற்றும் Secret Access Key முழுமையாக copy செய்யப்பட்டதா.
  5. key-க்கு target bucket write permission உள்ளதா.
  6. provider path-style access கேட்கிறதா; கேட்பின் enabled உள்ளதா.

Quick Checklist

text
S3 Endpoint, Bucket, Region, Access Key, Secret Key தயார் செய்யவும்
-> Upload Settings திறக்கவும்
-> Add Channel
-> S3 தேர்வு செய்யவும்
-> Endpoint / Bucket / Region / Access Key / Secret Key நிரப்பவும்
-> தேவையெனில் CDN domain நிரப்பவும்
-> default ஆக path-style access off வைத்திருக்கவும்
-> தேவையெனில் quota limit enable செய்யவும்
-> Save
-> test image upload செய்து பார்க்கவும்

Released as user documentation for CloudFlare ImgBed.