RabitMq, FFMPEG, NodeJS, Intel webRTC suite, MongoDB

82 views
Skip to first unread message

Deepak Singh

unread,
Nov 1, 2018, 2:10:45 PM11/1/18
to google-a...@googlegroups.com
Hi Team,

I need to install all of the softwares in a single instance (Java flex env).
I am able to do that using SSH connect. 

But, Using eclipse marketplace i cant do it. because every new software installation creates a new instance. for example, NodeJs is installed using marketplace which creates a new instance. Then installing MongoDB from marketplace creates a new instance while i want it to be installed on the previous instance with NodeJS.

Is it possible to get done with marketplace ?   

--
Deepak Singh

Harmit Rishi (Cloud Platform Support)

unread,
Nov 2, 2018, 1:50:08 PM11/2/18
to Google App Engine

Before we dig deeper into this issue of multiple instances being created on GAE:Flex. I would like to clarify what exactly you are trying to do. Specifically when you mentioned you are “using eclipse marketplace” to install new software on the GAE:Flex environment.


Would it possible for you provide more information on this process? Also, is there any documentation or guides that you are following concerning this? I am unsure how Eclipse: Marketplace can spin up instances on GAE as it would instead create instances directly in Compute Engine.


Deepak Singh

unread,
Nov 3, 2018, 4:02:25 AM11/3/18
to google-a...@googlegroups.com
Hi Harmit,

Pls read “using eclipse marketplace” as “using GCP marketplace”. Sorry for the typo.

Here is the complete description --

I need to develop a webRTC based application. It requires following softwares to be installed on the instance which will host the application -
RabitM, FFMPEG, Node.JS, MongoDB, Intel webRTC suite media server with CentOS 7.
All of the above softwares need to be installed on every single instance hosting the application.

I can do it by using 'Create instance' on GCP console. SSH into the instance and install each one by one. Host the application and run it.

I am stuck here -
Need to enable 'Autoscaling' which will spin up upto 6 instances with minimum 1. How will it behave when new instances will be auto created ? Will it have all the softwares installed and configured ?

Also, i want to make a practice of deploying the application using eclipse plugin. Do i need to make a 'custom runtime' and supply dockerFile.
If yes, pls suggest a sample dockerFile and app.yaml.

If any other option available, pls suggest the best possible way to perform the task.


Thanks
Deepak





--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/e5b64931-186c-475d-858a-d2827b251608%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Deepak Singh

Attila-Mihaly Balazs

unread,
Nov 4, 2018, 1:25:14 AM11/4/18
to Google App Engine
Deepak: there are multiple ways to achieve what you're describing on the Google Cloud.

If you need for the instances to serve web traffic, you can create a "custom runtime" for the Google AppEngine Flexible environment: https://cloud.google.com/appengine/docs/flexible/custom-runtimes/

However, this is mainly aimed at web traffic (ie. request-response which finishes in a short amount of time). Since you're looking for something long running (as in a video stream), you probably be better served by an auto-scaling managed instance group (https://cloud.google.com/compute/docs/instance-groups/) which has a load balancer in front (https://cloud.google.com/compute/docs/instance-groups/#instance_groups_and_load_balancing).

Setting this up is as simple as

1) creating one machine
2) setting it up as desired (SSHing into it, setting up packages, etc)
3) creating an instance template from this one machine: https://cloud.google.com/compute/docs/instance-templates/

As you identified, instance groups can have automated scaling or manual scaling and are better suited for long running tasks like video conferencing.

All the best,
Attila

Camillia Till

unread,
Nov 5, 2018, 8:38:58 AM11/5/18
to google-a...@googlegroups.com
Hi don't have 300 have all 

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.

Deepak Singh

unread,
Nov 6, 2018, 4:51:25 AM11/6/18
to google-a...@googlegroups.com
Thank you  Attila for the  advice. 
Looks ok to me.

 Deepak


For more options, visit https://groups.google.com/d/optout.


--
Deepak Singh
Reply all
Reply to author
Forward
0 new messages