[Freeswitch-users] Docker or a traditional VM-based deployment?
Jose Fco. Irles Durá
josefu at gmail.com
Thu Aug 13 08:44:27 UTC 2020
Our big problems are:
- any container can run on any node, their ip must go with it.
- avoid NAT balancers for performance reasons (and another point of
failure that must to be clustered)
After a lot of testing, the selected option had pacemaker/corosync for
managing HA and macvlan for the network problem.
Our system is not full elastic but for our requirements is ok.
Best regards
El jue., 13 ago. 2020 a las 9:25, Sam van Herwaarden
(<svanherwaarden at precisionag.org>) escribió:
>
> The macvlan solution sounds very interesting - would you mind elaborating on which problems the solution solves and how it works? Are there any downsides to the approach? Is this with docker swarm or compose?
>
> Thanks!
> Sam
>
> On Thu, Aug 13, 2020 at 8:57 AM Jose Fco. Irles Durá <josefu at gmail.com> wrote:
>>
>> Hi!
>>
>> We use FreeSWITCH with docker for all our services. For the network
>> problem, we use macvlan interfaces.
>>
>> Best regards!
>>
>> El mié., 12 ago. 2020 a las 23:36, Flavio Donadio
>> (<flavio at donadio.com.br>) escribió:
>> >
>> > David, Sergey, Marcel and Sam,
>> >
>> >
>> > Thanks for your great input.
>> >
>> > The --network=host requirement is a showstopper for me, since I intended on using Azure’s Docker container hosting (to avoid getting a full VM). If I use that, I have no control of the host network parameters, since my container would be running in a host I can’t control.
>> >
>> > So, my best choice is a full VM… and study the possibility of having it scheduled to run only during business hours… Or maybe just let it run 24/7 and see how much it costs. Based on the minimum requirements, I guess the lightest VMs are very capable of running FreeSWITCH.
>> >
>> > Marcel, thanks for your 2 cents — which are worth WAY more than that, especially the database tip.
>> >
>> >
>> > Regards,
>> > Flavio
>> >
>> >
>> > On 11 Aug 2020, at 11:15, David Villasmil <david.villasmil.work at gmail.com> wrote:
>> >
>> > Well, you can configure the instance to shut down at say 8pm and start again at 8am or something like that
>> >
>> >
>> >
>> > On 11 Aug 2020, at 06:42, Sergey Safarov <s.safarov at gmail.com> wrote:
>> >
>> > you can use my docker image
>> > https://hub.docker.com/repository/docker/safarov/freeswitch
>> >
>> > here is Debina based image with vanilla config.
>> >
>> >
>> > On 11 Aug 2020, at 05:06, Sam van Herwaarden <svanherwaarden at precisionag.org> wrote:
>> >
>> > We use Docker throughout our stack, with the exception of FreeSWITCH. You can run FreeSWITCH in docker and I'm sure for some people it will have advantages. There are a few issues I ran into:
>> > - FreeSWITCH needs a very large number of open ports when using SIP (thousands). Docker is not designed for this and this is the reason people tell you to use host networking (that way you skip the docker port mapping system).
>> >
>> >
>> > On 11 Aug 2020, at 04:57, Marcel Haldemann <marcel.haldemann at convercom.ch> wrote:
>> >
>> > Hi,
>> >
>> > Just my 2 Cents about FreeSwtich and Docker if you are interested in learning about Docker and single-machine Orchestration:
>> >
>> >
>> > _________________________________________________________________________
>> >
>> > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
>> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
>> > Build your next product on our scalable cloud platform.
>> >
>> > Join our online community to chat in real time https://signalwire.community
>> >
>> > Professional FreeSWITCH Services
>> > sales at freeswitch.com
>> > https://freeswitch.com
>> >
>> > Official FreeSWITCH Sites
>> > https://freeswitch.com/oss
>> > https://freeswitch.org/confluence
>> > https://cluecon.com
>> >
>> > FreeSWITCH-users mailing list
>> > FreeSWITCH-users at lists.freeswitch.org
>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> > https://freeswitch.com
>>
>>
>>
>> --
>> Jose Fco. Irles Durá
>>
>> _________________________________________________________________________
>>
>> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
>> Build your next product on our scalable cloud platform.
>>
>> Join our online community to chat in real time https://signalwire.community
>>
>> Professional FreeSWITCH Services
>> sales at freeswitch.com
>> https://freeswitch.com
>>
>> Official FreeSWITCH Sites
>> https://freeswitch.com/oss
>> https://freeswitch.org/confluence
>> https://cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> https://freeswitch.com
>
> _________________________________________________________________________
>
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
> Build your next product on our scalable cloud platform.
>
> Join our online community to chat in real time https://signalwire.community
>
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> https://freeswitch.com
--
Jose Fco. Irles Durá
More information about the FreeSWITCH-users
mailing list