How can I deploy an HTML5 web application in Google Cloud platform?

3.2k Views Asked by At

I am working on an HTML5 web application, which I need to host in Google cloud platform.

How can I deploy the web application, which is based on HTML5/CSS3, jQuery to Google Cloud platform/App Engine?

Clarification: My web application is build using HTML5/CSS3 with javascript to process data. I am using Visual Studio IDE for development of the same. As per my understanding, apart from the supported languages like java, Python, etc, we can deploy html5 web application to Google cloud platform. How can I package my HTML5 application, which is not using any specific language and deploy to App Engine?

Thanks Ambily

2

There are 2 best solutions below

6
On

You can deploy to a bucket directly:

The Website Configuration feature enables you to configure a Google Cloud Storage bucket to simulate the behavior of a static website. You can define main pages or directory indices (for example, index.html) for buckets and "directories". Also, you can define a custom error page in case a requested resource does not exist.

No programming language at all required :)

Google Cloud Storage

0
On

You need a account with Google Cloud Platform to start with. Assuming you have that. Go to cloud console where you find all the admin menus for creating instances.

You need to create a compute engine instance, if you want to create full fledged website.

Steps to follow:

Create a instance (linux, 10GB disk, 1.7GB memmory) and configure it for all required components. After this you can move your files to your website folder usually "htdocs" You will be assigned with an empirical IP address. Using zone management tools you can add a new domain. All that using the admin panel, no complexity involved.

You may required to configure proxy, if you need access to other machines.