I should really spend time documenting all of this, but instead I’ll just do a quick dump:
- First you’ll need a “Dynamic DNS” provider. Currently there is no guarantee that your EC2 instance will have the same IP address forever. I chose ChangeIP They have a plan that is $6/year/domain once you’ve listed the first domain at $15.
- If you’re already locked into a registrar like http://register.com don’t worry. Just change their DNS settings to point to ns1.changeip.com That’s how I’ve got it setup. register.com is my registrar and changeip.com is my DynDNS.
- If you want to do SMTP on your new domain don’t forget to setup MX records for the domain. Otherwise you get “relaying not permitted” errors.
- There’s no guarantee that the instance will remain available. It could die at any moment and because it’s a virtual instance it’s more likely to die than even physical hardware. So BACKUPS are essential. I’ve got two scripts one for a full backup and one for incremental backups of e-mail and databases etc. You can use the former to quickly spin up a new instance (which is the instance exactly as is was up to 24 hours ago) and then user the later to recover the most recent changes to e-mail, etc. One caveat about the full backup one… EC2 has a image-size limit of 10GB so if your instance has lots of data this strategy won’t work (not the SMS notification on filesystem size error)
- Webmin is great for system administration.
- Don’t forget that you need to permission ports in your EC2 instance for everything you wish to have access.
- The EC2 Firefox plug-in is great!
- I’m using Exim for SMTP/mail… It does a nice job with e-mail aliases and “catch-all” addresses like andy-is-clever@aharbick.com
- Exim may solve this, but I don’t know… I’ve got a dozen+ domains on the machine and the e-mail is tied to a user account so aharbick@fivepints.org is the same as aharbick@aharbick.com is the same as… I kinda like that. Though the way that I handle is is with procmail rules to move messages based on the domain they were sent to. Here’s my .procmailrc
See more progress on: move all of my domains to an EC2 instance
No comments:
Post a Comment