Asterisk on EC2!

March 14, 2008

Using the instructions found on Donald Flood’s blog, I’ve complied a complete asterisk Amazon EC2 image for public use!

Donald’s instructions were easy to follow and right on, but for convienice and personal use, I decided that compling an image would make launching multiple systems easier.

Using the instructions found on Donald Flood’s blog, I’ve complied a complete asterisk Amazon EC2 image for public use!

Donald’s instructions were easy to follow and right on, but for convienice and personal use, I decided that compling an image would make launching multiple systems easier.

Just launch AMI-8f08ede6 for a pre-complied Asterisk 1.4.8 system, running sample config.

If you’re new to EC2, beyond figuring out how to launch the instance, you’ll need to take a few additional steps to have a usable system.

  1. edit the /etc/sip.conf file and fill in your own values for the externip and localnet variables.
  2. define your firewall rules to allow:
    1. udp 10000-20000, 4569, 5036, 5060
    2. tcp 5060
    3. tcp 22, 80
  3. configure your carriers and endpoints
  4. define your dialplan

Webmin is installed, so if you’d like to use it, launch it by running /etc/webmin/start, and make sure you open tcp port 10000.

There are known problems with this AMI - and they are somewhat serious, depending on what you plan on doing with your EC2 instance. The primary, is that there are no Zaptel drivers installed, therefor no timeing source is included. This means no queues or conferences. I haven’t go much beyond sending calls to the demo context, so I can’t speak for the relability of this installation.  Finally, there’s no GUI. If you find any other problems, please do let me know. If you branch any other AMI off of this one, also, please do let us know!

Unfortunatly, if you’re looking for a TrixBox-like system, this isn’t it yet. I offer no support, nor do I accept any liability for problems which my arise from your use of this AMI.
ENJOY!

Credit due to http://www.donaldflood.com/2007/07/21/installing-asterisk-on-amazon-ec2/

One Response to “Asterisk on EC2!”

  1. [...] The ResVoip Project [...]

Leave a Reply