Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Make specific folders writeable in laravel coaster cms in google app engine

Currently I am using google app engine with laravel custom cms coaster cms. How can I make the following folders writable?

Error on Google App engine

Tried all normal commands, chmod given permission check the above image

permission for the folders

like image 464
saurabh kamble Avatar asked Sep 01 '18 12:09

saurabh kamble


2 Answers

While App Engine runs on VM's, this does not mean that you should rely on changing their permissions. Remember that App Engine is a managed VM, this means that even if you make the folders writable on an instance, if App Engine scales up or has to destroy the instance you modified, you would need to make the changes on the new instances (which you shouldn't be doing).

I would recommend you to use Compute Engine with a managed instance group in order to solve this issue as this would be more practical than to mingle with every instance that spawns for you app.

like image 113
rsalinas Avatar answered Oct 24 '22 22:10

rsalinas


You can put the commands you need to make Coaster CMS folders writable, in a dockerfile for your App Engine Flex VMs. That way when the VM is launched, it's properly configured.

If that doesn't work, then you can use startup scripts to setup/configure all your GCE VMs at startup.

like image 3
Ying Li Avatar answered Oct 24 '22 23:10

Ying Li