Amazon s3 with Codeignitor


When selecting the deployment environment as Amazon AWS, it comes up with a nice tool called Amazon S3 (Amazon Simple Storage Service) which can be used as a storage for static content, especially as a content delivery network (CDN).

Amazon S3 provides a simple web services interface that can be used to store and retrieve any amount of data, at any time, from anywhere on the web, and it also consists with a set of APIs to manipulate it via most of the popular programming laguages.

In our project we maintained a separate server, accessed via FTP to store all the images used in the application. The application was developed on top of CI framework, so we didn’t had any problem communicating with the FTP server since the framework itself was geared with a feature rich FTP library. Amazon AWS environment was selected as the hosting environment. With the introduction of Amazon AWS environment we opted to use Amazon S3 as our image repositiry for the project. I found an Amazon S3 PHP library developed for CI on Git Hub. Later extended it to suite our requirements. It can be downloaded over here.

1 Comment

  1. August 25, 2013 at 5:09 pm

    See the Script “CodeIgniter AWS S3 Integration Library” If you work in Codeigniter and also use AWS then must use it. Using this library you can easily integrate S3 i your new/existing Codeigniter project.
    http://codecanyon.net/item/codeigniter-aws-s3-integration-library/4993914


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: