Hi, I can chip in with a couple of items.
On Thu, Sep 30, 2010 at 1:39 PM, Super Steve <[email protected]> wrote: > 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? > You would only move them onto S3, if you used Amazons Cloudfront, which is a Content Delivery Network. There are a couple of things to keep in mind with this, but wouldn't be too hard. > > 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. > We just upgrade with apt-get upgrade. There is also a script to easily do snapshots, so that you have backups of everything - they are differential, but you only need the latest to restore. > > 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? Yes > Or it is somehow woken up when a request comes in and then > goes to sleep afterwards? No. > I'm just wondering how it works because > you're paying by the hour, aren't you? > yes, but you gotta keep it running > > What sort of costs are you paying for running the site in the cloud? > > Just had a client sign up, they pay ca US$28 per month over 3 years. Cheap as chips. Kind Regards, Jochen Daum P.S.: Do you know a good builder that may want to attend a business breakfast? Chief Automation Officer Automatem Ltd Phone: 09 630 3425 Mobile: 021 567 853 Email: [email protected] Skype: jochendaum Website: www.automatem.co.nz http://twitter.com/automatem http://nz.linkedin.com/in/automatem http://www.xing.com/go/invite/3425509.181107 http://www.aucklandbusinessnetworking.co.nz > 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]<nzphpug%[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]<nzphpug%[email protected]> > -- NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to [email protected] To unsubscribe, send email to [email protected]
