Set Up an Amazon S3 Bucket
On this page
If you want to use Amazon S3™ as the storage provider for your WHMCS installation, you will need to create an S3 bucket.
Create an S3 Bucket
To create an Amazon S3 bucket:
- Log in to your Amazon account.
- Go to S3.
- Click Create bucket.
- Choose your desired region.
- Select a bucket type.
- Enter a name for your bucket.
- Configure the other bucket settings according to your needs. In most cases, for private buckets, you use the default settings.
- Go to IAM.
- Click Users in the left-side menu.
- Click Create user in the top-right corner.
- Enter a username.
- Click Next.
- Select Attach existing policies directly.
- Click Create policy. The policy editor will display.
- Select S3 for Service. The available S3 permissions settings will appear.
- Under Access Level, select the following permissions:
- ListBucket under List.
- GetObject under Read.
- PutObject, ReplicateObject, and DeleteObject under Write.
- Under Resources, select Specific.
- Click Add ARNs under bucket.
- Enter the name of the bucket that you created earlier.
- Click Add.
- Click Add ARN under object.
- For Resource bucket name, enter the name of the bucket that you created.
- Select Any object name.
- Click Add ARNs.
- Click Next.
- Under Policy details, enter a name for the new policy and, optionally, a description to help you identify it later.
- Click Create Policy. A success message will appear.
- Return to the previous tab and refresh the list of policies.
- Select the policy that you created.
- Click Next.
- Click Create user.
- Select the user.
- In the Summary section, click Create access key.
- Select Third-party service.
- Select the checkbox under Confirmation.
- Click Next.
- Click Create access key.
- Copy and store the displayed ID and secret. You will need them in order to configure the bucket in WHMCS.
- Click Done.
Last modified: October 30, 2024