EC2 instance using Amazon SQS queues

Hits: 462  Amazon Simple Queue Service (Amazon SQS) offers a reliable, highly scalable, hosted queue for storing messages. Amazon SQS can be used to applications that perform different tasks, without losing messages. Amazon SQS enables users to build an automated workflow. Amazon Elastic Compute Cloud (EC2) is a web service that provides resizable compute capacity in [...]

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:  

JSP S3Upload

Hits: 320  JavaScript is good alternative to bypass AWS bucket policies <%@ include file=”config.jsp” %> <%@page import=”java.util.Calendar”%> <%@page import=”java.util.Date”%> <%@page contentType=”text/html” pageEncoding=”UTF-8″%> <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”> <html xmlns=”http://www.w3.org/1999/xhtml”><head> <title>S3 Upload – JSP Demo</title> <meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8″> <script src=”sha1.js”></script> <script src=”webtoolkit.base64.js”></script> <script src=”script.js”></script> <script> function uploadS3() { var awsid = ‘<%=awsAccessKey %>’; [...]

Tagged with:  

How to create subaccounts and share buckets using IAM and CloudBerry S3 Explorer

On October 12, 2010, in Amazon Cloud EC2 S3, LAMP, Open Source, Web Services, by Sandeep Verma

Hits: 260  Note: this post applies to CloudBerry Explorer 2.4.2 and later. As always we are trying to stay on top of the new functionality offered by Amazon S3 to offer the most compelling Amazon S3 and CloudFront client on Windows platform. A few weeks ago Amazon introduced Identity and Authentication Management (IAM) Service. It is [...]

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 [...]

Amazon EBS

On January 23, 2010, in Amazon Cloud EC2 S3, CentOS, Fedora, LAMP, Linux, Web Services, by Sandeep Verma

Hits: 170  Amazon Elastic Block Storage (EBS) We can use Amazon EBS just like as the CD/DVD/Pen Drives on our PC/Laptops Servers for backup or data transfer… EBS can attach to an EC2 instance, we can use EBS to save work files in it.. for it we have to mount it in the instance after backup [...]

Configure Amazon EC2

On July 13, 2009, in Amazon Cloud EC2 S3, Fedora, LAMP, Linux, Tips, Tricks, Web Application, Web Services, by Sandeep Verma

Hits: 109  1.Boot 2 linux servers on EC2 2.Assign elastic IP to each of them 3.Register a domain (eg svnlabs.com) 4.On the domain settings – create 2 host records – ns1.svnlabs.com and ns2.svnlabs.com and point each record to each of the elastic IPs. 5.On your 2 nameserver instances – create dns zone for ns1. and ns2 [...]

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...