History: EC2
Preview of version: 22
Disclaimer:
- This is experimental, use at your own risk
- 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.
- Do not run production servers on this. This is intended as a demo.
Getting EC2 to install a fresh TikiWiki or basic Ubuntu
- Get amazon web services account
- Activate EC2
- Install http://developer.amazonwebservices.com/connect/entry.jspa?externalID=609
- Restart Firefox
- Configure account in ElasticFox
- Click on Credentials
- Enter Access Key ID and Secret Access Key from aws.amazon.com > Your Account > Access Identifiers > AWS Access Key Identifiers
- You should see some AMIs appearing
- Go to tab "Key pairs"
- Click on green button to "Create a new pair"
- 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.
- Go to AMIs and instances,
- 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
- Right-click and launch
- Make sure KeyPair is the one you created before
- All other options can stay the defaults
- pick an AMI (Amazon doesn't supply these but we can use or a 3rd party AMI)
- You should see something new in "Your instances"
- 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
- 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
- Use this IP address to connect to your instance, via SSH
- Use private key generate above (*.pem)
- 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
- Setup backups / persistence on S3