running FS in the Amazon cloud / other scalability options
Our FS app will be under near-zero load much of the time, and then spike with our large (highly customized) conference call applications. So, we'd like to investigate running it in an easily scalable environment, a la the Amazon cloud. Three questions 1) Are the current images available here *current*, can someone tell from the version numbers? I looked for version history on the wiki but couldn't find it. The amazon command line command: ec2-describe-images -x all -v |grep freeswitch yields the following three (repeated in the verbose mode) <imageLocation>rbuilder-online/freeswitch-0.0.1-x86_11952.img.manifest.xml</imageLocation> <imageLocation>freeswitch-fedora-6-svn-rev-9178/image.manifest.xml</imageLocation> <imageLocation>rbuilder-online/freeswitch-0.0.1-x86_11963.img.manifest.xml</imageLocation> IMAGE ami-999672f0 freeswitch-fedora-6-svn-rev-9178/image.manifest.xml 811137716590 available public x86_64 machine IMAGE ami-1be30672 rbuilder-online/freeswitch-0.0.1-x86_11952.img.manifest.xml 099034111737 available public i386 machine IMAGE ami-dae306b3 rbuilder-online/freeswitch-0.0.1-x86_11963.img.manifest.xml 099034111737 available public i386 machine 2) If not, does anyone want to help set up a current Amazon image? I'll provide the Amazon account if you can install FS in it. 3) Does anyone have other recommendations for services that can burst to high usage, without paying for high usage 24x7? I don't see VPS providers that can burst to much RAM/CPU for the few hours/month we'll need it. Thanks! -- =========================== Brian Burt 415-308-4258 mobile (best) freeswitch@brian-burt.com ===========================
On Sep 3, 2008, at 8:22 PM, Brian B wrote:
Our FS app will be under near-zero load much of the time, and then spike with our large (highly customized) conference call applications.
So, we'd like to investigate running it in an easily scalable environment, a la the Amazon cloud.
Three questions 1) Are the current images available here *current*, can someone tell from the version numbers? I looked for version history on the wiki but couldn't find it. The amazon command line command: ec2-describe-images -x all -v |grep freeswitch yields the following three (repeated in the verbose mode) <imageLocation>rbuilder-online/freeswitch-0.0.1- x86_11952.img.manifest.xml</imageLocation> <imageLocation>freeswitch-fedora-6-svn-rev-9178/ image.manifest.xml</imageLocation> <imageLocation>rbuilder-online/freeswitch-0.0.1- x86_11963.img.manifest.xml</imageLocation>
Well you can take mine which is the freeswitch-fedora-6-svn-rev-9178 one and start it.. update FS.. and repackage it back to S3... Its fairly easy. Just start it.. cd /usr/src/freeswitch.trunk and "make current", then repackage.
IMAGE ami-999672f0 freeswitch-fedora-6-svn-rev-9178/ image.manifest.xml 811137716590 available public x86_64 machine IMAGE ami-1be30672 rbuilder-online/freeswitch-0.0.1- x86_11952.img.manifest.xml 099034111737 available public i386 machine IMAGE ami-dae306b3 rbuilder-online/freeswitch-0.0.1- x86_11963.img.manifest.xml 099034111737 available public i386 machine
2) If not, does anyone want to help set up a current Amazon image? I'll provide the Amazon account if you can install FS in it.
Give me tomorrow and I'll have the freeswitch-fedora-6-svn-rev-9178 image updated to the latest SVN.. then i'll automate a script to take the previous image.. update it.. and republish it to s3 on a weekly basis... but its the default config... I would rather have it come out in a specific config for ec2... maybe we can work together on that? It costs me 19 cents a month to host one image. :)
3) Does anyone have other recommendations for services that can burst to high usage, without paying for high usage 24x7? I don't see VPS providers that can burst to much RAM/CPU for the few hours/ month we'll need it.
Not that I can remember. EC2 is really nice.
Thanks!
-- =========================== Brian Burt 415-308-4258 mobile (best) freeswitch@brian-burt.com ===========================
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Thanks for the speedy response Brian W! I was able to get the Amazon instance running, ssh to it etc (the hard part), but couldn't get a softphone to register, nor a sip connection from elsewhere to sip:5000@the.ip:5060 to give the IVR voice. I did ec2-authorize default -p 5060 to open port 5060 through the AWS gateway. I was also able to open up the mod_event socket and listen in ... but just to heartbeats. Any other thoughts on getting the sip connections/registration through?? Thanks, -Brian On Wed, Sep 3, 2008 at 7:13 PM, Brian West <brian@freeswitch.org> wrote:
IMAGE ami-deff1bb7 freeswitch-fedora-6-svn-rev-9432/image.manifest.xml 811137716590 available public x86_64 machine
Its updated.
/b
On Sep 3, 2008, at 8:22 PM, Brian B wrote:
freeswitch-fedora-6-svn-rev-9178
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Hi Folks, Maybe I do not understand Amazon cloud, so please explain: it is perfect solution for scaling server side - no doubts, but how about traffic there ? It is to be paid, so if you let telecomm traffic through, then transmission (counted in GBs) will be hell expencive ! I agree, that for small traffic it may not be the issue, but how about running apps with hundreds calls per minute ? Am I wrong ? Regards, /\/\arekg
I think you need to do some more reading. I've not done a direct comparison of the bandwidth costs but based on volumes alone I think it's pretty cheap. The more people using them over time, economies of scale kick in further too. You also have to consider quality of bandwidth. If you host with a cheap provider, you'll need to consider latency and packet loss as the major factors - you'll not get many customers if the voice quality of your lines suck. Conversely I don't think Amazon can associate it's name with cheap providers. Besides, it's a very cheap mechanism for start-ups to, erm, start up. Hardly any capital investment needed. Marek Gorecki wrote:
Hi Folks,
Maybe I do not understand Amazon cloud, so please explain: it is perfect solution for scaling server side - no doubts, but how about traffic there ?
It is to be paid, so if you let telecomm traffic through, then transmission (counted in GBs) will be hell expencive !
I agree, that for small traffic it may not be the issue, but how about running apps with hundreds calls per minute ?
Am I wrong ?
Regards, /\/\arekg
are you using SIP over TCP?? Try this instead: ec2-authorize default -P udp -p 5060 -s 0.0.0.0/0 Dimitri On Sat, Sep 6, 2008 at 4:14 AM, Brian B <freeswitch@brian-burt.com> wrote:
Thanks for the speedy response Brian W!
I was able to get the Amazon instance running, ssh to it etc (the hard part), but couldn't get a softphone to register, nor a sip connection from elsewhere to sip:5000@the.ip:5060 to give the IVR voice.
I did ec2-authorize default -p 5060
to open port 5060 through the AWS gateway.
I was also able to open up the mod_event socket and listen in ... but just to heartbeats.
Any other thoughts on getting the sip connections/registration through??
Thanks,
-Brian
On Wed, Sep 3, 2008 at 7:13 PM, Brian West <brian@freeswitch.org> wrote:
IMAGE ami-deff1bb7 freeswitch-fedora-6-svn-rev-9432/image.manifest.xml 811137716590 available public x86_64 machine
Its updated.
/b
On Sep 3, 2008, at 8:22 PM, Brian B wrote:
freeswitch-fedora-6-svn-rev-9178
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Here is a stealth (alpha) service that will be available at the end of the Sept. Service description: AgileCloud leverages EC2 to provide a multi-tiered hosting environment with pre-built images for load balancers, database servers, and application servers. By pre-building agility and elasticity, now users can (almost)"automagically" instantiate each type of server to use as nodes in their server farm or customize a generic base image for any number of purposes. AgileCloud offers: 1- Manage Cloud computing (eC2/S3/EBS) and virtualized servers Monitoring. 2- LoadBalancing 3- Active FOS (FailOver System) 4- Dynamic-DNS 5- Backup-Service (Enterprise, SMB, Personal-PC/Mobile) storage 6- SocialMedia / Social Network / Web2.x Elastic Computing Hosting 7- Secure On-Demand Distributed (outsource) Development Platform 8- On-Demand VoIP2.x Infrastructure -E
participants (6)
-
Brian B
-
Brian West
-
Dimitri Prado
-
EdPimentl
-
James Green
-
Marek Gorecki