AWS CloudFront with PHP

Hits: 469  Amazon CloudFront is a web service for content delivery (CDN). It integrates with other Amazon Web Services EC2 / S3 to give developers and businesses an easy way to distribute content to end users with low latency and high data transfer speeds. http://aws.amazon.com/cloudfront/ Digital Inspiration – Thanks to http://www.labnol.org… it always provides help for [...]

SaaS built using a PaaS (Google App Engine) and using IaaS (Amazon EC2)

Hits: 380  SaaS = PaaS + IaaS Tools for Development, Testing and Implementation: * Amazon Web Services (AWS) * Google App Engine (GAE) * Google Chart Libraries * Eclipse IDE VaR Cloud Presentation SVNLabs References: Google AppEngine: http://code.google.com/appengine/ Amazon EC2: http://aws.amazon.com/ec2/ Google Chart: http://code.google.com/apis/chart/ “A lamp does not speak. It introduces itself through it’s light. Achievers [...]

Tagged with:  

fbsocialmarketing.com

Hits: 100   FB Social Marketing is a Social Media Marketing company specializing in the development of Facebook Fan Pages for your business. Be sure to check out complete line of training videos. I have partnered with Shelle Kind of fbsocialmarketing.com and we have released the Amazon S3 / EC2 Solution for Facebook fanpage apps. Visit [...]

Tagged with:  

Amazon S3 & Facebook Fanpage app

On April 26, 2011, in Amazon Cloud EC2 S3, Amazon Web Services, Concentrate, facebook, Imagine, LAMP, Launch, Observe, Tricks, by Sandeep Verma

Hits: 633  I want to link Amazon S3 https object like “https://s3.amazonaws.com/bucket/index.html” to facebook iframed fan page… But it returned error…. 405 Method Not Allowed Code: MethodNotAllowed Message: The specified method is not allowed against this resource. ResourceType: OBJECT Method: POST RequestId: XXXXXXXXXXXXX HostId: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX OR PreconditionFailedAt least one of the pre-conditions you specified did not [...]

Tagged with:  

Backup mysql database to amazon S3

On February 2, 2010, in Amazon Cloud EC2 S3, CentOS, Fedora, LAMP, Linux, PHP, Tips, Tricks, Web Application, Web Services, by Sandeep Verma

Hits: 433  Below is the simple code to create sql script of database on Amazon EC2 server using “mysqldump”… then upload this sql script to Amazon S3 bucket using command line S3 tool “s3cmd”… <?php $sqlbackup=”/usr/bin/mysqldump -v -u root -h localhost -r /var/www/html/backup/”.date(“Y-m-d-H-i-s”).”_db.sql -pdbusername  databasename 2>&1″; exec($sqlbackup, $o); echo implode(“<br /> ”, $o); $file = ”/var/www/html/backup/”.date(“Y-m-d-H-i-s”).”_db.sql”; $bucket = ”s3bucketname”; exec(“/usr/bin/s3cmd  put –acl-public –guess-mime-type  –config=/var/www/html/.s3cfg   ”.$file.”  s3://”.$bucket.”  2>&1″, $o); echo implode(“<br /> ”, $o); ?> 0 */12 * * * env php -q /var/www/html/s3bkup/s3bkup.php > /dev/null 2>&1 (per [...]

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...