Hello Patrick, I do not have personal experience with Laravel but I found this community guide on how to Run Laravel on Google App Engine Flexible Environment <https://cloud.google.com/community/tutorials/run-laravel-on-appengine-flexible> which demonstrates how you can use composer.json to run post-deploy commands and this third-party package <https://github.com/shpasser/GaeSupportL5> which offers a queue service provider.
Having both Python and PHP installed on your instance might require you to use a custom runtime <https://cloud.google.com/appengine/docs/flexible/custom-runtimes/about-custom-runtimes> but it is definitely feasible. As for having one of your instances fulfill a different role than the others the simplest way is probably to run it as a different service on App Engine, though if you have extensive needs for precise control of your instances you might want to look into Container Engine <https://cloud.google.com/container-engine/>. I hope this helps! Let me know if I should expand on any part of this answer. On Thursday, August 10, 2017 at 9:02:22 AM UTC-4, Patrick Finucane wrote: > > I am looking into google app engine as a alternative to AWS ec2/ELB. One > problem I see is that there isn't an obvious way to consume the laravel > queue. > > If we deploy our laravel app across a few aws ec2 instances, we can use > the same deployment process etc to include one instance as the queue runner. > > But with app engine, because it is a black box, it seems like we need to > do something like a google compute instance to run cli php to run the > artisan command. This is annoying because we will have to worry about > scaling the queue worker instances, which kind of defeats the purpose of > google app engine. > > > Is anyone running a fully functioning, (ie with queue) laravel application > on google app engine? If so, any resources you can point to would be > helpful? > > Is it possible to running php cli commands and supervisor (python) on a > google app engine php flex environment? > -- 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 [email protected]. To post to this group, send email to [email protected]. 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/2792cc4a-ffc9-4a85-ba74-2e0a8ad4eb95%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
