Web app hosted on cloud calling command line tools

u0206397

Senior Member
Joined
Jul 15, 2009
Messages
764
Reaction score
0
Which cloud products would be suitable for hosting a web app written in PHP that calls a binary executable tools, presumably compiled from C/C++?

I looked at AWS. Many serverless or managed sort of products do not allow executing command line tools.

Can only do this in AWS Elastic Compute Cloud (EC2) instance? AWS Beanstalk can do this or not? Lambda confirm cannot.
 

davidktw

Arch-Supremacy Member
Joined
Apr 15, 2010
Messages
13,547
Reaction score
1,301
Which cloud products would be suitable for hosting a web app written in PHP that calls a binary executable tools, presumably compiled from C/C++?

I looked at AWS. Many serverless or managed sort of products do not allow executing command line tools.

Can only do this in AWS Elastic Compute Cloud (EC2) instance? AWS Beanstalk can do this or not? Lambda confirm cannot.

question would be why are you not using a virtual server to host the command line tool? what kind of command line tool is it and what does it do?

you have understand the command line tool will also be executing in a context of an environment, what environment is that? what is the current directory context running the command line process? It is not about server-less or not, it is first about how your tool get executed.

https://alestic.com/2015/06/aws-lambda-shell-2/
 
Last edited:

u0206397

Senior Member
Joined
Jul 15, 2009
Messages
764
Reaction score
0
question would be why are you not using a virtual server to host the command line tool?
Do you mean VPS like DigitalOcean or Linode? They are similar to AWS EC2 instance right?

what kind of command line tool is it and what does it do?
It is some proprietary tool from commercial vendor that does file processing.

you have understand the command line tool will also be executing in a context of an environment, what environment is that? what is the current directory context running the command line process? It is not about server-less or not, it is first about how your tool get executed.

From what I know, the tool is statically compiled and has no dependency on other libraries, framework or environment variables. Just a single executable that takes in an input file and spits out an output file.

Will take a look. Thank you.

Seems like it can actually put files into the Lambda executing environment. New to me.
 
Important Forum Advisory Note
This forum is moderated by volunteer moderators who will react only to members' feedback on posts. Moderators are not employees or representatives of HWZ Forums. Forum members and moderators are responsible for their own posts. Please refer to our Community Guidelines and Standards and Terms and Conditions for more information.
Top