Tag: S3

Adding CORS Headers Using Lambda@Edge and Amazon CloudFront

Cross-origin resource sharing (CORS) defines a way for client web applications that are loaded in one domain to interact with resources in a different domain, it allows to build rich client-side web applications and selectively allow cross-origin access to your resources. To see how to enable CORS on most web servers see https://enable-cors.org/index.html. If you’re …

Continue reading

Uploading a Large File to Amazon S3

The largest single file that can be uploaded into an Amazon S3 Bucket in a single PUT operation is 5 GB. If you want to upload large objects (> 5 GB), you will consider using multipart upload API, which allows to upload objects from 5 MB up to 5 TB. The Multipart Upload API is …

Continue reading

Automatic Backup of MySQL Database to Amazon S3. Use of Object Expiration to Delete Old Backups

The importance of backing up a database needs no further demonstration. The following will create daily, weekly and monthly backups for our database and copy them to an Amazon S3 Bucket (MyBucketName) in MyBucketName/Daily, MyBucketName/Weekly and MyBucketName/Monthly folders respectively. To control the cost of our backup solution, we will set expiration to each file to …

Continue reading

Installing Alfresco Community With MySQL on Ubuntu Server on AWS EC2 With Content Stored on Amazon S3

At the top of almost every Linux distribution, the Debian-based Ubuntu surpasses all other Linux server distributions – from its simple installation to its excellent hardware discovery to its world-class commercial support. Amazon Web Services is indisputably the largest cloud service provider. MySQL is the world’s most popular open source database. Alfresco is the world’s …

Continue reading