Hello Wolfram,
Google Cloud Platform definitely can host your web site. You have a wealth of choices at your disposal. The one option that requires least code change is simply using a virtual machine offered by the Google Computer Engine to host your OS and application. This option has the advantage that your operating system and the programming language used to create your ap on your PC do not have to change. The “Invoking Legacy Code on Google Cloud Platform” documentation page covers this case in some detail.
Access to your stored files uses the Google Drive API; you may find more details in the "Google Drive APIs" document.
At the other extreme, you may consider re-coding your application completely, let’s say in Java (other languages are available as well), and deploying it in the app engine standard environment. All necessary steps are covered in the “Quickstart for App Engine Standard Environment for Java” documentation page. The re-coding touches your above paragraphs starting with “how the program is to be used online”. These steps do not include the Arduino part, that should remain unchanged.
The app engine standard environment is more constrained and involved, so you may prefer the flexible environment in the end, that offers more choices with respect to the programming languages available. A comparison, in support of your decision, can be read in the “Choosing an App Engine Environment” document.
If you decide, after reading the pros and cons laid out in the above document, to adopt the flexible environment, an easy to follow howto start guide is available through the “Quickstart for Java in the App Engine Flexible Environment” documentation item.
You may choose to look at a more involving introductory example titled “Bookshelf App for Java on App Engine Standard Environment”.
Hello Wolfram,
Google Cloud Platform definitely can host your web site. You have a wealth of choices at your disposal. The one option that requires least code change is simply using a virtual machine offered by the Google Computer Engine to host your OS and application. This option has the advantage that your operating system and the programming language used to create your ap on your PC do not have to change. The “Invoking Legacy Code on Google Cloud Platform” documentation page covers this case in some detail.
At the other extreme, you may consider re-coding your application completely, let’s say in Java (other languages are available as well), and deploying it in the app engine standard environment. All necessary steps are covered in the “Quickstart for App Engine Standard Environment for Java” documentation page. The re-coding touches your above paragraphs starting with “how the program is to be used online”. These steps do not include the Arduino part, that should remain unchanged.
The app engine standard environment is more constrained and involved, so you may prefer the flexible environment in the end, that offers more choices with respect to the programming languages available. A comparison, in support of your decision, can be read in the “Choosing an App Engine Environment” document.
If you decide, after reading the pros and cons laid out in the above document, to adopt the flexible environment, an easy to follow howto start guide is available through the “Quickstart for Java in the App Engine Flexible Environment” documentation item.
Hoping the above information proves of help to you, I remain at your disposal for eventual more in-depth questions.
--
You received this message because you are subscribed to the Google Groups "Google Cloud Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-dev/7a13d7ac-ff7e-4294-aa04-16c8c35b46fb%40googlegroups.com.
Hi George,I agree that a virtual machine from GCE is likely the simplest way to "lift and shift" a legacy workload onto GCP. I also agree that App Engine (once the code is rewritten in a supported language, such as Java, Python, Go) would offer advantages via the "fully managed" nature of App Engine, but, App Engine does not supply, to the best of my knowledge, a way to perform the step "uses Arduinio to compile", which, I believe, involves running the Arduino compiler in a separate process (App Engine does not allow spawning separate processes).So, GCE would appear to be the platform of choice for this task. One more caveat is about running the operating system of choice: for simplicity, the OS to run under GCE should be picked among the supported "images" listed at https://pantheon.corp.google.com/compute/images?_ga=1.226336410.1416047412.1481760212&pli=1&project=google.com:stackex&organizationId=433637338589 (several versions of Linux distributions and Windows Server -- some, in particular the Windows versions, require extra expenditure for licensing). It is possible to build and run a "custom image", but it's nowhere as simple as running a supported one.Alex
--On Tue, Mar 7, 2017 at 9:57 AM, 'George (Cloud Platform Support)' via Google Cloud Developers <google-cloud-dev@googlegroups.com> wrote:--Hello Wolfram,
Google Cloud Platform definitely can host your web site. You have a wealth of choices at your disposal. The one option that requires least code change is simply using a virtual machine offered by the Google Computer Engine to host your OS and application. This option has the advantage that your operating system and the programming language used to create your ap on your PC do not have to change. The “Invoking Legacy Code on Google Cloud Platform” documentation page covers this case in some detail.
At the other extreme, you may consider re-coding your application completely, let’s say in Java (other languages are available as well), and deploying it in the app engine standard environment. All necessary steps are covered in the “Quickstart for App Engine Standard Environment for Java” documentation page. The re-coding touches your above paragraphs starting with “how the program is to be used online”. These steps do not include the Arduino part, that should remain unchanged.
The app engine standard environment is more constrained and involved, so you may prefer the flexible environment in the end, that offers more choices with respect to the programming languages available. A comparison, in support of your decision, can be read in the “Choosing an App Engine Environment” document.
If you decide, after reading the pros and cons laid out in the above document, to adopt the flexible environment, an easy to follow howto start guide is available through the “Quickstart for Java in the App Engine Flexible Environment” documentation item.
Hoping the above information proves of help to you, I remain at your disposal for eventual more in-depth questions.
You received this message because you are subscribed to the Google Groups "Google Cloud Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-dev/7a13d7ac-ff7e-4294-aa04-16c8c35b46fb%40googlegroups.com.
You received this message because you are subscribed to the Google Groups "Google Cloud Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-dev/CAE46Be-8iNyGNOysnr5WpE8dGot_sA%3DHsWDpOvhFUbhwb-z5Sw%40mail.gmail.com.
Just realized that my initial response didn't go to the entire list, so here it goes. Another option I'd recommend is packaging the app in a Docker container. It makes it easier to test on your local machine and then just deploy the container on a Compute Engine VM.Depending on how "production-ready" and how much traffic you expect, the answer may vary. Also, have you already written a web server or is that something you plan to do as part of moving the app to the cloud?Here are a few options I can think of:- Compute Engine: Get a Google Compute Engine VM and do whatever you'd be doing on your local machine but on a cloud-based machine. You can get a VM running Windows or one of many flavors of Linux. This is "the DIY way". The next two options will make your life easier.- App Engine: Write the whole thing as an App Engine app. You can use App Engine Standard or App Engine Flex. It would be best to rewrite the app in one of the supported languages, however. App Engine Standard is very well suited to quick development of web applications without having to worry about infrastructure. It doesn't support C++ modules, however. App Engine Flex allows any language using custom containers, but that would be a steeper learning curve than using App Engine Standard.- Containerize the application: If you can get the application running on a Linux system you can containerize it into a Docker image, and then deploy the image in the cloud. The "correct" way of doing this is to create a Dockerfile that defines the container, installs any needed dependency, sets up the environment, downloads source code or artifacts, conducts any necessary builds. You would then build a Docker image from the Dockerfile, and finally run an container instance of the image. Another way of going about this (though much more hacky and definitely not following software development best practices) is to create a Docker container, access the container, develop inside the container, save the container, and run the container. You can then deploy the container image to Google Container Engine, or run it manually on any machine or VM that has the Docker runtime installed.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-dev/CAGzTrLvPru26gQaZzaxbFRTNerCH7PFF3EVuyyFT%2BuQGTWozVA%40mail.gmail.com.