Basically, I'm migrating from GAE to AWS. I have a bucket on GAE and I'd like to download all the files. I can't seem to find the command. Does anyone know how to do this?
You can copy all files using gsutil.
Related
So I have to separate apps hosted at google cloud and I would like to know if it's possible from the app1 to send a file to a specific folder in app2. I tried to ssh into an instance but I can find anything.I'm new to google cloud so if anyone knows anything please let me know.
You can use gcloud app instances scp command. For more information about the command and how to use it, please see the link below:
[https://cloud.google.com/sdk/gcloud/reference/app/instances/scp][1]
I am new to google cloud. I am using xamp in my laptop. I have created a project in php called "test" in my htdocs. Its works succesfully on my localhost. I have an account at google cloud and I have setup lamp and it works successfully. I was trying to find a way to upload my folder "test" (which includes all my php files) to google cloud. Do I need to use Google App Engine Launcher? Is there an easier way to do this? i.e example to use filezilla? Anybody knows where I can find a tutorial about how to do this? Thanks
You need to download Google App Engine SDK for PHP from here. Detailed procedure for uploading and managing PHP app in Google App Engine is described here.
I am new in web development with python and flask and mongodb database. What I see is that everybody advises to use Apache to serve files because it's more efficient. But what if I store all my files in MongoDB using GridFS? In this case I do not serve my files by Apache anymore but directly by flask, is it the wrong thing to do? Thanks
If you are in a spot where you need to use GridFS to store files, then you will have to use Flask to serve them.
However, if you don't have to use GridFS I would recommend against it, especially as a newbie to web development. There will be a lot more guides to help you along when you get stuck. After you have Flask figured out, you can add on GridFS.
When an application is deployed in GAE cloud (Appspot.com); Is there a way to update or modify the static files on the src/main/webapps folder? For example the HTML and JSP files?
Either upload a modified HTML and JSP without redeploying the whole application?
Much like what we can do with Apache Tomcat, where we can modify the contents of the deployed app?
As far as I know, there is no other way short of redeploying the entire app. App Engine runs in a sandbox, and write file access is one of the things disallowed by the security manager.
Unfortunately, "Writing to local files is not supported in App Engine" http://goo.gl/kxNM5
I'm newbie in Google App Engine.
I can't found information about appcfg.py, which explains how to specify a few files to uploading. When I'm executing
appcfg.py update .
it's uploading all project folder and it takes a lot of time.
How can I upload to server only main.py, for example?
You can't only upload part of the application, you upload the entire application at once.