Cloud Storage

Setup Amazon S3

17min
overview manage large files uploaded by users without the cost of any extra hardware store the files uploaded on your onprintshop web store on aws (amazon web services) amazon simple storage service (amazon s3) is a storage service offered by amazon all the customers of onprintshop can store and manage any amount of data range of use cases, such as websites, mobile applications, backup and restore, archive, enterprise applications, iot devices, and big data analytics purpose the service is fast, reliable, secure, safe, and inexpensive thus, with easy steps, you can avail the benefits of aws on your onprintshop website how to integrate read the below systematic guide to integrating amazon s3 services with your onprintshop website 1 get started with aws account 1 get started with aws account visit the aws console site and sign up to avail of the amazon web services now, sign in with your aws console email address and password 2 create bucket from your aws console 2 create bucket from your aws console the successful login will redirect you to your aws dashboard to create bucket, go to aws dashboard >> 'services' >> under 'storage' > s3 this will take you to the bucket page to create a new bucket, click on the create bucket button enter basic information such as the name of your bucket, region of your region and other basic details complete the remaining steps to create a bucket once done, click on the create bucket button at the bottom of the page note while creating a bucket, select an appropriate region 3 cors configuration 3 cors configuration in order to transfer data from your onprintshop store to aws, configure the cors code to aws account retrieve the code from admin panel store configuration >> external service settings >> cloud storage >> amazon s3 cloud storage >> action >> edit under the settings, click on the help icon against the " enter bucket name " field copy the code displayed 4 set up edit permission on your bucket 4 set up edit permission on your bucket after creating the bucket, you need to edit permissions so that the file is uploaded in your bucket without this permission, your user will not be able to upload a file on the cloud on your aws console, click on your created bucket from the list click on the permissions tab and scroll down to cors configuration click on the edit button paste the cors code copied from admin panel click on the save changes button 5 get access key id and integration details 5 get access key id and integration details after cors configuration, there is a need to create ‘amazon access key id’ and ‘amazon secret key’ you can get the access key from the amazon s3 dashboard >> your account name on top right corner > security credentials on the my security credentials dashboard, locate access keys for cli, sdk, & api access click on the create access key button to get the access key id and secret access key click on the show access key and download key file note download your key file it contains your new access key id and secret access key if you do not download the key file now, you will not be able to retrieve your secret access key again 6 amazon aws s3 configuration with onprintshop web store 6 amazon aws s3 configuration with onprintshop web store in your admin panel, go to store configuration >> external service settings >> cloud storage >> amazon s3 cloud storage >> edit enter necessary details such as bucket name, amazon access key id, amazon secret key, and amazon region 7 enable cloud file upload 7 enable cloud file upload to enable customers to upload files directly into your aws cloud storage you will have to allow cloud file upload for a product from the product section enable this from the admin> products>>products> ‘action’ dropdown of a particular product> settings> ‘upload’ tab> allow cloud file upload> select ‘both’ option after enabling this option your customers will see an option to upload large files on the storefront after the successful integration of amazon s3 cloud storage on your website, a user will be able to upload large files directly into your amazon s3 bucket a folder " orders " will be created with a sub folder with the name same as the order number