LAMP stack on Amazon EC2

February 16, 2009 by Kapil Bharati · Leave a Comment
Filed under: Tech 

This post lists down the high level steps and useful links to get started with EC2

Tools:

  • Elasticfox- Firefox Add-On, to manage your instance via Firefox.
  • S3Fox- Firefox Add-On, to manage your S3 buckets, ACL and files via Firefox. Only issue is that I cannot set the expire time using S3Fox … you can go for BucketExplorer, costs $30. I use S3Fox to upload / download files from my desktop
  • s3sync- Ruby based command line utility to manage your buckets, files etc. I have it installed on my instance, to sync up my datafiles etc to S3 on a daily / weekly basis
    To Sync the entire folder – use s3sync
    ./s3sync.rb -r /directory/to/sync bucket-name:directory/path
    To Upload one file – use s3cmd
    ./s3cmd.rb put bucket-name:path/to/file/file-name /path/to/source/
  • Putty – to ssh or scp to the instance, if on windows. Refer to the amazon for details on setup

Setup:

Excellent post on this topic: “Tutorial: Running a php/mySQL server on EC2 with EBS”

Speak Your Mind

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!