Web Design Forum: Installing Nginx, PHP-FPM, MySQL on Amazon EC2 - Web Design Forum

Jump to content

WDF
WDF Premium Memberships Reseller Hosting
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Installing Nginx, PHP-FPM, MySQL on Amazon EC2 A quick how to

#1 User is offline   makethetick 

  • Forum Newcomer
  • Pip
  • Group: Members
  • Posts: 33
  • Joined: 23-January 11
  • Reputation: 2
  • Gender:Male
  • Experience:Intermediate
  • Area of Expertise:Designer/Coder

Posted 23 March 2011 - 11:03 PM

I've just put together a blog post on installing nginx, php-fpm and mysql on a Ubuntu instance on Amazon's EC2.
This is will worth playing with as you can use the free tier without spending a penny for your first year.

I'm sure this will come in handy to a couple of you.
The link is: http://www.deanbarro...pfpm-mysql-ec2/
0

#2 User is online   Jock 

  • like a boss
  • PipPipPipPipPip
  • Group: Members
  • Posts: 1,476
  • Joined: 15-May 10
  • Reputation: 246
  • Gender:Male
  • Location:Scotland

Posted 23 March 2011 - 11:24 PM

Nice post, didnt know about that free tier, shame I'm already a customer :(

Not a criticism just a comment - but why not sqlite instead of mysql? Just seems more logical to me given the usage of nginx and phpfpm.
0

#3 User is offline   makethetick 

  • Forum Newcomer
  • Pip
  • Group: Members
  • Posts: 33
  • Joined: 23-January 11
  • Reputation: 2
  • Gender:Male
  • Experience:Intermediate
  • Area of Expertise:Designer/Coder

Posted 24 March 2011 - 08:48 AM

Good point, however in my project I plan to use multiple servers with master/slave replication so mysql is the best option.
0

#4 User is offline   cepa 

  • Dedicated Member
  • PipPip
  • Group: Members
  • Posts: 100
  • Joined: 24-June 11
  • Reputation: 11
  • Gender:Male
  • Location:Krakow, Poland
  • Experience:Nothing
  • Area of Expertise:Web Developer

Posted 24 June 2011 - 09:44 PM

View PostJock, on 23 March 2011 - 11:24 PM, said:

Not a criticism just a comment - but why not sqlite instead of mysql? Just seems more logical to me given the usage of nginx and phpfpm.


sqlite has a poor performance when it runs in production env, and also im not sure about its thread safety and thread race issues

amazon ec2 is nice untill your transfer rate doesnt get too high, a dedicated server might be many times cheaper
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users