AWS, Technology

Amazon S3 Transfer Acceleration – New Blessing for S3

Amazon has introduced a new feature for AWS S3 (Simple Storage Service) - AWS S3 Transfer Acceleration. This feature lets you transfer files from and to S3 at a much higher accelerated speed. Thus, you can save the file transfer time if you are ready to pay for it. The feature was introduced a few days back and I decided to investigate...

25-Apr-2016

AWS, Grails

Integrating Amazon S3 in Grails Application

Recently in my project, we needed to store documents on some cloud based storage. So we choose Amazon S3 as it is secure and has proper backup mechanism and enough data centres so that we have minimum latency to access the server. Amazon has provided a great API available in different languages and we can use their Java API in our Grails...

04-Aug-2015

Technology

File Upload on Amazon S3 server using CURL request :

Use Case : Sometimes we need to upload file on Amazon S3 or need to write code to upload file. As file upload on S3 using API call requires parameters in specific format and debugging that is very cumbersome task, in that case we can use CURL request with the inputs for debugging. Following are the required Inputs for CURL: Date in...

02-Aug-2015

AWS, Grails

Delete file from Amazon s3 using Javascript sdk

Now a days AWS S3 is commonly used as data storage. So there is one common requirement to delete a file or directory from S3. There are plenty of options avaibale to do the same, so we using javascript implementation for this. There are basic two steps by which you can delete a file from S3. 1. Javascript sdk integration: [java] ...

01-Aug-2015

iOS, Mobility

Upload File on Amazon S3 Using Amazon SDK

Amazon Simple Storage Service (Amazon S3), provides developers and IT teams with secure, durable, highly-scalable object storage. Amazon S3 is easy to use, with a simple web services interface to store and retrieve any amount of data from anywhere on the web. Requirements: iOS 7 and later Xcode 5 and later Version 2 of the AWS...

28-Jun-2015

AWS, Grails

File Upload on Amazon S3 server via HTML Form

Use Case :   File upload was require on web by end user which needs to be frequent and multiple at a time and if it goes through our tomcat server than it would be overhead on server . So for that we directly send the file to S3 server. We can upload file on Amazon S3 Server directly without routing the file through web server by...

20-Apr-2015

AWS, Technology

AWS Lambda Invocation using Amazon S3

To start, we create a Lambda function to consume events published by Amazon S3. For any object uploaded to a bucket, S3 will invoke our Lambda function by passing event information in the form of function parameters. AWS Lambda executes the function. As the function executes, it reads the S3 event data, logs some of the event information...

10-Apr-2015

Android, AWS

File Upload on Amazon S3 server via REST API call

We Can upload file on Amazon S3 Server directly without intervention of web server by using REST API call on S3 Server. Use Case : File upload was required on mobile app without integrating SDK because integrating SDK causes app to be heavier in size and also if it goes through our web server than it would be unnecessary consumption...

10-Apr-2015

Grails

Amazon S3 Bucket Lifecycle

Amazon S3 offers a highly durable, scalable, and secure solution for backing up and archiving your critical data. You can set the lifecycle of the objects stored on the buckets, that will automatically delete or move these objects to the Glacier according to the set rules. Follow these steps to add the lifecycle of an bucket: ...

31-Mar-2014

AWS

Automating deployment of a static website hosted on Amazon S3

Most of us know how to host a static website on Amazon S3, but to deploy the website you would need to run the AWS Cli command everytime manually. In this blog I'll show you how to automatically deploy your website while maintaining version control of your project using server side hook provided by Git. Prerequisite : Git Aws...

by ravi
25-Feb-2014

AWS

How to delete all contents/objects of Amazon S3 bucket

If you have an S3 bucket with a huge number of files, and you want to delete the bucket, you need to empty the bucket first. If the bucket has a handful of files, then it is easy enough from the AWS interface, but if the bucket has a large number of files, then AWS interface is not an option; and you must use s3cmd or may be some other...

12-Nov-2011

AWS, DevOps

Streaming Videos On Demand using Amazon Cloudfront and S3

I came across a scenario where we have to stream Videos On Demand (VOD) using  Amazon CloudFront and Amazon Simple Storage Service (S3). The on-demand streaming is done using Cloudfront Content Delivery Network (CDN). The videos to be served are stored on Amazon S3. I have designed a secure architecture for the same setup. ...

11-Jan-2016