Move to Cloud: Difference between revisions

From Adam Colton
Jump to navigation Jump to search
No edit summary
No edit summary
Line 25: Line 25:
*Running FTP server
*Running FTP server
*Running GIT
*Running GIT
*AWS command line tools


==Registrars==
==Registrars==
Line 39: Line 40:
*linux sys admin
*linux sys admin
*if I run my own DB, how does load balancing work (I can always just use the Amazon services)
*if I run my own DB, how does load balancing work (I can always just use the Amazon services)
*Can I install command line tools on an instance - then I can have one instance controlling others


[[Category:Projects]]
[[Category:Projects]]
[[Category:Code]]
[[Category:Code]]

Revision as of 18:04, 3 January 2013

Currently reading: Programming Amazon EC2.

Setup

One tiny instance will run all the live sites, another tiny instance will be used for development. This will also host a Git server.

Cost

http://calculator.s3.amazonaws.com/calc5.html

Just messing around with the calculator, I can get a pretty sweet setup for less than $25 a month. If I run everything on a single micro instance, it's free.

Plan

  1. Get a tiny instance up and running with a lamp stack
  2. Buy a test domain from Amazon and get that hooked up
  3. Terminate it and make sure the EBS volume sticks around
  4. Reattach the volume to a new instance
  5. Try attaching the volume to larger instance.
  6. Transfer the sites over (data)
  7. Confirm everything is up, running and works
  8. Transfer domains
  9. Try to figure out SSL

Also try

  • Put the database (data) on a separate EBS volume
  • Try running that volume on a separate instance (one for apache, one for MySql) - this would allow a lot of scaleability
  • Running FTP server
  • Running GIT
  • AWS command line tools

Registrars

http://lifehacker.com/5943452/five-best-domain-name-registrars

Should move away from Dot 5, just not what I need.

Things to Learn

  • How to backup/restore an image
  • Databases - how do they work? (can I get WP setup with the database on another server, can I move the DB around?)
  • cpanel, webmin? Needs some research.
  • I should really learn vim
  • https?
  • linux sys admin
  • if I run my own DB, how does load balancing work (I can always just use the Amazon services)
  • Can I install command line tools on an instance - then I can have one instance controlling others