Loading...
 
Skip to main content

History: EC2

Preview of version: 22

Disclaimer:
  1. This is experimental, use at your own risk
  2. Data which is created in EC2 instances do not survive beyond the instance (no persistance). If the instance crashes or is shut down, your data just vanished.
  3. Do not run production servers on this. This is intended as a demo.

Getting EC2 to install a fresh TikiWiki or basic Ubuntu

  1. Get amazon web services account
  2. Activate EC2
  3. Install http://developer.amazonwebservices.com/connect/entry.jspa?externalID=609
  4. Restart Firefox
  5. Configure account in ElasticFox
    1. Click on Credentials
    2. Enter Access Key ID and Secret Access Key from aws.amazon.com > Your Account > Access Identifiers > AWS Access Key Identifiers
    3. You should see some AMIs appearing
  6. Go to tab "Key pairs"
    1. Click on green button to "Create a new pair"
    2. This will generate a *.pem file, that you should save on your hard drive. This is used to login later, without a password, with WinSCP or Putty.
  7. Go to AMIs and instances,
    1. pick an AMI (Amazon doesn't supply these but we can use or a 3rd party AMI)
      • ami-240ce84d TikiWiki 2.2 and trunk from 2008-11-04
      • ami-7806e211 is a lean install of Ubuntu 8.10
    2. Right-click and launch
    3. Make sure KeyPair is the one you created before
    4. All other options can stay the defaults
  8. You should see something new in "Your instances"
  9. Security Groups
    • "Your Groups" should be "default"
    • Below, in "Group permissions" click green button to add permissions
    • Don't change anyhing but Port Range 22 to 22
    • And Port Range 80 to 80
    • And Port Range 5901 to 5901
    • That was to add SSH, HTTP and VNC access
  10. Go back to AMIs and instances
    • Refresh your instance
    • Copy PUBLIC address to clipboard (If it's blank, be patient while it boots up). This address is dynamic and will change everytime your create an instance
  11. Use this IP address to connect to your instance, via SSH
    1. Use private key generate above (*.pem)
  12. Access via the Web. For example:

TikiWiki 2.2 for Amazon EC2 Ubuntu 8.10 intrepid AMI built by Vincent Brousseau http://tikiwiki.org/EC2


There are 2 TikiWikis installs per AMIs
http://ec2-XXX-YYY-WWW-ZZZ.compute-1.amazonaws.com/ 2.x
http://ec2-XXX-YYY-WWW-ZZZ.compute-1.amazonaws.com/trunk/ trunk (future 3.x)

Also installed:
Php5, mysql5, gd, svn

If you installed the basic Ubuntu

[+]

Todo

  1. Setup backups / persistence on S3

History

Advanced
Information Version
drsassafras Mass search and replace 36
View
Marc Laporte 35
View
campbe13 34
View
theblacklabrador 33
View
Marc Laporte 32
View
Marc Laporte 31
View
Marc Laporte 30
View
Marc Laporte 29
View
Marc Laporte 28
View
Marc Laporte 27
View
Marc Laporte 26
View
Marc Laporte 25
View
Marc Laporte 24
View
Marc Laporte 23
View
Marc Laporte 22
View
Marc Laporte 21
View
Marc Laporte 20
View
Marc Laporte 19
View
Marc Laporte 18
View
Marc Laporte 17
View
Marc Laporte 16
View
Marc Laporte 15
View
Marc Laporte 14
View
Marc Laporte 13
View
Marc Laporte 12
View
  • «
  • 1 (current)
  • 2