I was interested to hear that you run a website on EC2 and S3. Perhaps you could answer a few questions that I have, as I'm thinking of doing something similar but haven't quite got my head around how it all works:
Do you store your static files (.html, .php, .jpg, etc) on the EC2 instance or do you store them on S3? How do you handle software updates to your EC2 instance (i.e. updating PHP, Linux, etc)? Do you actually upgrade the EC2 instance or do you replace the AMI with a new one? If you replace the AMI with a new one, what happens to any files you had stored within the file system (i.e. do they get removed or can you automatically copy them to the new AMI instance)? I'm thinking here about configuration files the you've personalised (php.ini, etc). If you had to set them up again from scratch every time you upgraded the AMI then that would be a real pain. If you're running a web server on EC2, does that mean that the EC2 instance is running all the time, just waiting for a web request to come in? Or it is somehow woken up when a request comes in and then goes to sleep afterwards? I'm just wondering how it works because you're paying by the hour, aren't you? What sort of costs are you paying for running the site in the cloud? Thanks! On Sep 29, 4:37 pm, lenz <[email protected]> wrote: > not sure where you're going here. i run a php3/mysql4 legacy app for a > larger NZ company on EC2/S3 on several nodes - no framework only butt > ugly 20th century php/html/js mangled together. it runs as nice on EC2 > as it does everywhere else. > what differences do you thing you will run into when running your app > somewhere else? php is request based which makes it really easy to run > on several machines as long as your sessions are in a central > database. > > maybe i miss something but the framework will most likely be the > smallest of your concerns. getting the whole stuff clustering nicely, > spawning more nodes if needed, databases replicated, all that will be > the more interesting thing i guess :-) > > cheers > lenz > > On Wed, Sep 29, 2010 at 1:44 PM, aaron v1.4.10 > > <[email protected]> wrote: > > I'm looking at building an application which will probably run on a > > cloud environment. And will have quite some volume of traffic. > > Generally I use Code Igniter, but am also considering Zend Framework > > (but this really isn't a Framework debate). I'm not expecting any > > issues, but would be interested in other peoples' experiences using a > > Framework on a Cloud, the good, the bad and the ugly. > > > -- > > NZ PHP Users Group:http://groups.google.com/group/nzphpug > > To post, send email to [email protected] > > To unsubscribe, send email to > > [email protected] > > -- > twitter: @norbu09 > current project: iWantMyName.com > painless domain registration (finally) -- NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to [email protected] To unsubscribe, send email to [email protected]
