Amazon S3 Guide
To improve security, we will create a policy that grants only the necessary permissions for file uploads.
Create policyService, type S3, then selectS3Actions, type PutObject, and choose bothPutObject and PutObjectAclResources, make sure Specificis marked, then click theAdd ARN linkAnyto enable access to all your bucketsNote:You can deselectAnylater if you prefer to specify a particular bucket name.
Any for the object name as wellAdd in the Add ARN(s) dialogReview policyShareX_PutObjectCreate policyCreate New GroupShareXNext StepPolicy TypeFilter using the dropdown and chooseCustomer ManagedShareX_PutObjectif you followed the naming suggestion.Next StepCreate GroupAdd userProgrammatic accessNext: PermissionsShareXif you used the suggested name.Next: TagsNext: ReviewCreate userImportant:On this page, either note downAccess key ID and Secret access keyfor safekeeping or clickDownload .csvto download them as a file. These credentials will be needed in ShareX later.
CloseWhile not mandatory, these steps are recommended to help secure your account.
It may be necessary to enable multi-factor authentication and set up a strong password policy.
Your uploaded files will reside within this bucket.
Create bucketImportant:If you plan to use a custom domain with S3, the bucket name must match your CNAME. For example, if your desired URL ishttps://i.example.com/image.png, the bucket name should be i.example.com. More information can be found here.
Tip:This site offers a way to assess regional ping times:cloudping.info
Block all public accessoption is not selected.Create bucketDNS configuration is required if you plan to use your own domain.
Consider an example where you're usingCloudflare, your bucket is namedi.example.com, and it resides in theEU (Frankfurt)region. Your DNS settings would then be configured as follows:
CNAMEii.example.com.s3.eu-central-1.amazonaws.comA complete list of regional endpoints is available underShareX main window -> Destinations -> Destination settings -> Amazon S3 tab -> Endpoints.
The designated target should be{bucketname}.{endpoint}.
Additional details are available here.
Destinations -> Destination settingsAmazon S3 tabAccess key ID and Secret access keythat you recorded earlier.%y/%mo, which organizes uploads into subfolders like2020/04Use custom domainoption and type it into the provided text box, for instance,https://i.example.comYou are now prepared to useAmazon S3 in ShareX!