Knowledge

How to deploy files to Amazon S3?

Amazon S3 is a good idea to host large media, like images and videos, or static HMTL sites with CSS and Javascript files which you can link to your website or application instead of deploying them directly to your web server.

Configure AWS permissions

  1. Log in to your AWS account and go to IAMUsers
  2. Click Add a new user and fill in the details. Make sure to check the Programmatic access type.
  3. On the permissions page switch to Attach existing policies directly and check the following policies:

    AWSElasticBeanstalkFullAccess
    AmazonS3FullAccess
    
  4. Once the user is created, make sure to copy the Access key and Secret key.
Configuring AWS permissions
Configuring AWS permissions

Configure transfer to Amazon S3

  1. Create/update a pipeline in Buddy and click the Amazon S3 action
  2. Paste the previously copied keys to activate the AWS integration
  3. Select the Bucket ID to which you want to upload the files
  4. (Optional) Set up the Remote path where the files in the bucket will be deployed
  5. Click Test connection & add action to save changes
Configuring AWS permissions
Configuring AWS permissions

Clicking More options will expand additional settings where you can:

  • Enter your Cloud Front ID
  • Set up custom headers
  • Tick the Public box if you want the files to be accessible via HTTP
  • Tick Use reduced redundancy to send the files in RRS mode. You can find out more about RRS here
  • Choose the files to be ignored on the deployment
  • Enter custom name for the action
Download Buddy Enterprise
esc

Sign up for free

No setup fees. No requirements. No obligation.

or sign up with