amazon-web-services

Modifying software for the cloud

We have a custom software project that's database driven (MySQL) and is built with php and some public and custom libraries. It's currently being hosted on a VPS, and being the intern, I've been assigned the task of researching how we can transition it so it can be hosted in a cloud. My research so far has led me to providers such as...

When to use Amazon Cloudfront or S3

Are there use cases that lend themselves better to Amazon cloudfront over s3 or the other way around? I'm trying to understand the difference between the 2 through examples. ...

How to solve problem with refreashing our uploaded content on Amazon S3?

Hi, We have a problem with refreashing our uploaded content on Amazon S3. We are keeping our software updates on amazon s3. We overwrite old version of our software by new versions on S3. Sometimes our users get old verions of files, when new versions already uploaded and new files located on S3 more then 10 hours already Step by step ...

File Processing with Elastic MapReduce - No Reducer Step?

I have a large set of text files in an S3 directory. For each text file, I want to apply a function (an executable loaded through bootstrapping) and then write the results to another text file with the same name in an output directory in S3. So there's no obvious reducer step in my MapReduce job. I have tried using NONE as my reducer,...

Not able to get the amazon RDS instances using AWS .NET SDK.

I'm not able to connect to my database in RDS from local machine.... Here is my code: Amazon.RDS.AmazonRDSClient client = new Amazon.RDS.AmazonRDSClient(myPublicKey, myPrivateKey); Amazon.RDS.Model.DescribeDBInstancesRequest instanceRequest = new Amazon.RDS.Model.DescribeDBInstancesRequest(); Amazon.RDS.Model.DescribeDBInstancesRespo...

Amazon Product API: ItemLookup with Multiple ASINs

Hi All, So I'm having a bit of trouble figuring out why I get a particular error. [NOTE: I've masked my AccessKey and Signature parameters] The url below returns valid xml for ONE product. http://ecs.amazonaws.com/onca/xml?AWSAccessKeyId=[myAccessKey]&IdType=ASIN&ItemId=B002UD52WQ&Operation=ItemLookup&ResponseGroup=Me...

What are good pointers to start learning AWS?

Request you to refer good tutorials over AWS. EDIT: The reason for posting this question is : As a newbie to cloud computing/AWS, I will start googling with the Keywords. But with the hell lot of information in the web, i may end up just reading the outline or sometime may end up reading nothing or might just get confused. So, with the ...

Amazon, AWS - What is a remap and how to calculate the costs

hi everyone, i got the first report for my account activity. the costs for remapping the elastic ip are quite expensive in relation to the cpu hours. my instance is running from 8 to 21 from monday to friday and from 8 to 9 on saturday and sunday. the start script at 8 associates an elastic ip. could anyone please explain me how to ...

Hosting CakePHP app with Amazon Web Services (EC2, etc.)?

Hello all, I don't think I fully understand Amazon Web Services yet, which is why I'm asking this question. I want to know if AWS would be a nice host for a CakePHP application that of course runs off PHP, and MySQL? Would I have to change or add anything to my code if used a service like EC2? I also noticed that Amazon has it's own da...

Using Amazon EC2 as a webserver with a specific IP address

I'm trying to create a personal/professional website within a college-domain. From the university I've requested a static-IP address which is directed to a website-name "http://lastname.someuniversity.edu". I would like to setup an Amazon EC2 instance to host a website. I know how to create/administer the website on the EC2 instance I j...

Running MRToolkit hadoop jobs on AWS elastic map/reduce

Hi All, Loving MRToolkit -- great to get away from Java while writing Hadoop jobs. It has become apparent that the library was written to interface with an EC2 cluster, and not with Amazon's elastic map/reduce system. Does anybody have insights into running jobs defined using the toolkit on elastic map/reduce servers? It isn't readil...

Returning more Amazon WS results

When using the Amazon ECS API to search for books online, I noticed that only 10 results are returned out of hundreds of thousands. I was wondering how can I change my ItemSearch request so as to have something like 100 or 200 results returned. Thanks. ...

amazon affiliate code for rewards website

I have the iframe code for amazon banner. What I am trying to do is post this banner on our rewards website, and for each order placed through this link, a certain no of points will be added to that persons account in our website. A similar thing like linkshare and commission junction. can i also do the same for amazon? Is this even poss...

Locking with S3

What's the recommended way to implement a simple locking mechanism to be used in conjunction with S3? Example of what I want to do: acquire lock by object id read object from S3 modify data write object to S3 release lock Ideally looking for a cloud based locking mechanism. I could use memcached locally, but then I have to deal wit...

Amazon API - retrieve product description

Does anyone know how to retrieve the product description from the Amazon API? I have asked their forum with no success. I can access the detailed page URL from an ItemLookUp but then I have to screenscrape which is not ideal. Thanks, Steve ...

Requiring external libraries in ruby streaming scripts for Amazon EMR

How do I require external libraries when running Amazon EMR streaming jobs written in Ruby? I've defined my mapper, and am getting this output in my logs: /mnt/var/lib/hadoop/mapred/taskTracker/jobcache/job_201008110139_0001/attempt_201008110139_0001_m_000000_0/work/./mapper_stage1.rb: line 1: require: command not found My ...

Boot WinPE on EC2 and Install Windows to Second Partition

I would like to spawn a EC2 instance that has two partitions. The first would have WinPE, which the instance would boot into on first boot. It would (unattended) install Windows onto the second partition, then reboot into that installed version of Windows. Is this possible? Can you have multiple partitions for an EC2 instance? Can one b...

Can a CDN be beneficial over a DEDICATED SERVER when there seems to be no CDN in our region?

I am considering trying out Amazons CloudFront CDN, which utilizes their S3 service for file storage and springs data to servers closest to the browser, however, we have a dedicated server in South Africa, Johannesburg to be exact, so my question is this: Amazons CloudFront seems to give you the option to have your base server in EU, Am...

Amazon EC2 as web server?

Hi everybody, I have thought a lot recently about the different hosting types that are available out there. We can get pretty decent latency (average) from an EC2 instance in Europe (we're situated in Sweden) and the cost is pretty good. Obviously, the possibility of scaling up and down instances is amazing for us that's in a really exp...

How do I use Amazon itemlookup API with VBA (Excel)

I have a AccessKeyID and a SecretAccessKey, I can't find any working example with VBA on Excel. How can one ItemLookup with VBA, someone has a working example. Do I need besides the two keys for anything else? ...