I am following this link https://cloud.google.com/cloud-build/docs/quickstart-build and trying to understand how to use google cloud built to deploy code on a google compute engine.
I have created a repository on GitHub and already set up the cloud build by following link https://github.com/marketplace/google-cloud-build
For now, manually I have installed PHP, Apache on compute engine and hosted my code under /var/www/html and it is working.
So please suggest me the steps How can I achieve automated built deployment to compute engine.
Thanks in advance.
Related
I want to load the Hortonworks sandbox VirtualBox/VMware image in Google Compute Engine. Is it possible? If yes, how?
I am able to load the image locally in the laptop, but that eats up all the resources and slows down everything.
An easier approach to trying out HDP on Google Compute Engine would be to use bdutil to deploy a Hadoop cluster which you can configure to install any subset of HDP components, rather than converting a VM image from one format to another.
There are two possible approaches:
Using bdutil, modify ambari_env.sh and add ZEPPELIN to the list of services in AMBARI_SERVICES variable to get it installed at the same time as other services.
Alternatively, use Ambari UI after your cluster is deployed to add the Zeppelin service.
Hello fellow Developers,
We are developing a mobile web application using AngularJs, NodeJs and MYSQL. Our client wants to deploy the application on Google Cloud. My question is:
Is deploying application which is based on above technology stack (AngularJs, NodeJs and MySQL) possible on Google Cloud?
Can we use Mysql on Google Cloud or we have to use Google Cloud SQL to store and retrieve data?
Can you share your experience of deploying application on Google Cloud.
Regards,
Vikram
1) You can definitely deploy any stack to Google Cloud using the Google Compute Engine.
2) Yes, you can manage your own MySQL instance on a Google Compute Engine instance. Cloud SQL has a lot of restrictions, so I wouldn't use for anything non-trivial.
3) From my experience, Google Cloud is not very mature, and hard to use unless you are playing by their rules. We were on Google Cloud for a while, but recently migrated everything to AWS due to many Google-specific issues. Support is minimal, and backlog issues are rarely addressed.
Is there a way to create a VM instance on Google Cloud using a VHD? It looks pretty straight forward and well documented on the Azure cloud but there is no information I can find on G-Cloud.
Seems like I'm wasting my time recreating my servers on the Google Cloud and I'm quickly losing site of the value of the Google Cloud.
You can bring your own image to GCE. You can follow the instruction on the public documentation on GCE. There's also this video that explains the process.
VHD and VHDX virtual disk files can be converted to GCE compatible disks using steps here. For more sophisticated workflows the image import workflows in the compute-image-tools repository can be useful.
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
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
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.
I have a legacy website created in PHP and MySQL. I wish to migrate this onto Google App Engine (Python).
Has anybody done this before? Any examples, tips, resources, tools you'd like to share?
I believe I will have to use "bulkloader" introduced in the GAE docs. Still haven't figured out how to get started.
I have two tasks:
Migrate from MySQL DB to local GAE App data store
Convert from MySQL -> CSV/XML -> Production data store
Help will be appreciated! :-)
--Sri
GAE now supports PHP (experimental) and CloudSQL which is very similar to MYSQL. I am currently writing a few testing apps. You can try to apply here.
To enable your PHP applications to be deployed to App Engine, visit https://gaeforphp.appspot.com/ to register your application to be whitelisted
Try from a regular gmail account.