Scaling PHP in the Cloud

HasGeek’s seventh event, focusing on the challenges of scaling from single to multi-server deployments for PHP-based websites.

Using Amazon EC2 to Scale Your Web Application

Submitted by Ravi Pratap (@ravipratap) on Jun 8, 2011

Section: Deployment Technical level: Beginner Session type: Tutorial Status: Confirmed & Scheduled


Introduce participants to EC2 and help them get started with using Amazon EC2 to deploy and scale a web application

(This is a Lecture+Demo session)


  • Learn how to create EC2 instances & deploy your application to them
  • Learn about the various Amazon web services and how you can use them: EC2, S3, CloudFront, Route 53, etc.
  • Understand basic AWS terminology: Instances, Instance types, AMIs, Security groups, Elastic IPs, Elastic Load Balancers, EBS volumes, etc.




  • Kiran Jonnalagadda (@jace) Crew 9 years ago

    EC2 101 was much needed. Thanks for proposing this.

  • Ravi Pratap (@ravipratap) Proposer 9 years ago

    NetRoY: Custom AMIs built on top of a standard one (like Ubuntu or Fedora), not from scratch. I’ll remember to mention the free micro instances :)

  • Deepak Jois 9 years ago

    Please introduce AWS Identity and Access Management ( as part of your talk. It is now supported in the AWS Management Console web interface also, and there is no charge to use it. I have found that very few people are aware of IAM and the benefits it provides, and hence they dont make use of it. Merely making them aware of it right at the beginning can make a huge difference to securely accessing their AWS resources.

    Full Disclaimer : I work in AWS and I used to be on the IAM team till a couple of weeks ago and was involved in launching it.

  • Ravi Pratap (@ravipratap) Proposer 9 years ago

    Kiran: no problem.

    Deepak: I consider IAM an advanced topic and probably not appropriate for an EC2 101 session, so I’m going to have to think about this. As it is, I’m worried that I may not stay under 30 minutes :)

    • Deepak Jois 9 years ago

      I wasnt talking about covering IAM concepts, but more about introducing it as a sort of best practice when using AWS. Think of it as the cloud equivalent of a Linux user securing his box after a fresh install, by locking out the root account and creating a user with sudo priveleges. It should be fairly simple to demo the IAM console and urge users to create an “admin” user and use keys tied to that user, for calling AWS APIs. These keys can be easily revoked if they get compromised.

      Having said all that, 30min does seem a bit short :).

      • Kiran Jonnalagadda (@jace) Crew 9 years ago

        I suspect we’re seeing the making of a second session on access control best practices. SSH keys, IAM users, et al.

        • Ravi Pratap (@ravipratap) Proposer 9 years ago

          Agreed, that would be an advanced topic for a separate session

  • Aditya (@netroy) 9 years ago

    Ravi: will you be also talking about creating custom AMIs ?
    Do mention the “free” micro-instance for a year… more folks will give it a try.

  • Kiran Jonnalagadda (@jace) Crew 9 years ago

    Ravi, I’ve added a new session type “tutorial” that probably describes this better than “Lecture+Demo”.

    • Ravi Pratap (@ravipratap) Proposer 9 years ago

      Great, I’ve updated the type of this session to “Tutorial”

      • Kiran Jonnalagadda (@jace) Crew 9 years ago

        Now I need to do comment notifications. :-)

        • Ravi Pratap (@ravipratap) Proposer 9 years ago

          :) These Reddit-style comments are a bit confusing to me, to be honest. A simpler post/reply commenting style seems more appropriate IMHO.

Login to leave a comment