amazon-ec2

How can I get my Elastic IP working for my EC2 Instance?

I set up an EC2 instance, which went very smoothly, and I can currently access it via the public DNS. Once I had this working, I requested an Elastic IP, which I then assigned to the instance. This appears to have worked properly, and describing my instances from the command line shows the correct IP assigned to the instance. However, ...

When would you need multiple servers to host one web application?

Is that called "clustering" of servers? When a web request is sent, does it go through the main server, and if the main server can't handle the extra load, then it forwards it to the secondary servers that can handle the load? Also, is one "server" that's up and running the application called an "instance"? ...

When should one use the following: Amazon EC2, Google App Engine, Microsoft Azure and Salesforce.com?

I am asking this in very general sense. Both from cloud provider and cloud consumer's perspective. Also the question is not for any specific kind of application (in fact the intention is to know which type of applications/domains can fit into which of the cloud slab -SaaS PaaS IaaS). My understanding so far is: IaaS: Raw Hardware (Proc...

Recommended EC2 AMI for high traffic PHP web service

I hope I'm asking this question in the right place. I have a web service serving widgets with about 500K hits /day. Traffic is expected to double monthly. It is currenty on VPS with Plesk 8 /Centos 5 / Apache 2/ Php 5.2.6 /Mysql 5.0.45 / Memcached / APC I'm seeing occasional kmemsize errors and also tcpbuff errors. To solve this I d...

Problems with PHP API for Amazon CloudWatch service ... returning Internal Error Response Status Code: 400

I am trying to set up the PHP API for CloudWatch found here. There are 2 samples with the library and I have managed to get the first (ListMetricsSample.php) to display a list of the metrics available for my running instances in Europe. As far as I can see though this just lists the metrics, there are no values for the metrics given in t...

how to create a security group with dynamic IP address on amazon web service

hello.. i need to run an instance and access with my ip address..but the problem is that myISP changes my IP adress every day.plz help me how do i create a security group so that my instance remains accessible even if my ip changes.... thanks in advance.. ...

Can I call multiple FFMPEG processes on a multi-core LAMP machine from PHP?

I am using PHP to call an FFMPEG command using exec(). The script that initiates this command is called from another PHP script using proc_close(proc_open('php /phpdirectory/process.php &', array(), $foo)); This works great. The ffmpeg command is called and runs 'in the background' leaving the first script to return to the user and i...

MySQL index creation is slow (on EC2)

I have a fairly simple table requestparams ( requestid varchar(64) NOT NULL, requestString text, ) ENGINE=MyISAM; After populating the table with "LOAD DATA", I am changing the schema and making "requestid" the primary key. There are 11 million rows in this table and the data size is less than 2GB (size of the MYD file.) The ind...

Why is my Amazon EC2 instance "pending"?

I've been evaluating several cloud compute providers, Amazon EC2 among them. I started an instance with a Windows image, and ever since then it's been "pending", for more than 30 minutes now. Is this a typical amount of wait for an instance to start? This would be highly undesirable for my purpose. Perhaps I started it incorrectly? I co...

Cloud Monthly Pricing Calculator

Amazon did a great job by providing an online calculator for AWS; resides here: http://calculator.s3.amazonaws.com/calc5.html Which really helps to find your way among a swarm of cloud options. Is there similar a tool for GAE (Google App Engine) or Microsoft Azure? ...

Are there any big names running on the cloud?

Are there any big names running on the cloud? Especially on GAE and Amazon? ...

SSL stopped working on IIS6 after Windows Update

I have a Windows 2003 image with IIS6 installed that just installed a block of Windows Updates. This webserver was using port 443 and an SSL certificate properly up until this patch, and it will no longer respond at all on port 443 to requests. I have tried removing and re-installing the certificate, and it will still not respond on por...

EC2 non root user login

Is there a way to log into an EC2 ubuntu ami or a way to set up an ubuntu ami so that non-root users can log in? I tried creating a user and logging in with the associated password. I also tried using the private key, copied the authorized-keys file into the .ssh directory of the non-root user's home directory and tried to log in to th...

Architecture of a PHP app on Amazon EC2

I recently experienced a flood of traffic on a Facebook app I created (mostly for the sake of education, not with any intention of marketing) Needless to say, I did not think about scalability when I created the app. I'm now in a position where my meager virtual server hosted by MediaTemple isn't cutting it at all, and it's really comin...

what can cause a time gap in data on an amazon ebs partition?

we're admitedly new to the ebs world. having set up a new production couchdb server on amazon ec2+ebs, we ran into an issue where about 7 hours worth of data simply disappeared. to the point where the couchdb logs have a gap in them for that very time frame. we know that things were working fine, then we started to experience issues and ...

Non-Common Ports on Amazon EC2

Assume that I want to listen to a non-common port (9090 for example) 24/7 and send data on another non-common port (8980 for example). Is that possible in an Amazon EC2 instance? (Windows 2003 or 2008) Note: I have done some search and I have found that if I want to do so; then I have to open ALL ports; which does seem wrong to me. ...

Db Backup Options (for Cloud DBs like Amazon ESB and GAE)

What are db backup options for (offline): 1 - Amazon EC2 2 - GAE (Google App Engine) Note: For example ESB (Amazon Elastic Block Store) provides differential snapshots which is great; and we can have backups in Amazon S3, which is great too. But I do not know if I can have latest version of my db, on my local machine. Thanks ...

What are differences between Red5 and Flash Media Server

I'm building a simple flash app that records user voice. I'm new to flash. What should I consider when choosing between red5 and flash media server? Can they both be hosted on EC2? Thanks! ...

Will it ever be possible for developers to not have to worry about server configuration? Should we have to worry about this?

I'm currently looking at hosting solutions for my Ruby on Rails SaaS web application, and the biggest issue I see is that if I go with something like Amazon EC2, then I still need to configure my own server and install what I need (e.g. database, programming framework, application server, etc.). Each one of these is an opportunity for s...

Is an Amazon Machine Image (AMI) immutable?

(Thanks in advance for tolerating my seems-to-be-stupid question). I mean: Consider a VMWare Windows 2003 image. If I 1 - start this image and then 2 - run a program that writes something to a file and then 3 - stop the VMWare image and then 4 - start the VMWare image then still that file resides on hard disk of the VMWare image. Is...