creating simple php website

343 views
Skip to first unread message

Elaena Musitano

unread,
Jan 6, 2020, 10:16:16 AM1/6/20
to Google Cloud Developers
Just found and installed google cloud, was hoping I could simply host my php website which comes with a couple of small databases
but am totally blown away by the complexity of google cloud platform
so much to learn, 
when all I wanna do is host a simple website
Does anyone have a simple link or way to just upload 10 php pages, 
a couple of js and css files and link these to 3 databases 
all of my site is no bigger than 70mb

Any help greatly appreciated

Cheers

E

EZEKIAS BOKOVE

unread,
Jan 6, 2020, 1:03:20 PM1/6/20
to Google Cloud Developers
Hello
There are several services on Google Cloud for the deployment of a website. If you want to have infrastructure control, you have to use Google Compute Engine. If you don't want to manage the infrastructure, you have to use App Engine. You can also use containers with Cloud Run. For databases you must use Cloud SQL.

https://medium.com/google-cloud/deploy-a-simple-website-with-terraform-and-chef-on-gcp-7c3b607624e8

https://www.qwiklabs.com/focuses/1138?parent=catalog

https://www.qwiklabs.com/focuses/2771?parent=catalog

If you have any questions do not hesitate.

Chris Gerber

unread,
Jan 6, 2020, 1:03:20 PM1/6/20
to Google Cloud Developers
I would recommend reviewing the following resources:
Once you've picked your PHP environment and version, and your database platform of choice, you should see "How-to guide" links that can step you through the process.

Manson Thomas

unread,
Jan 7, 2020, 6:36:23 AM1/7/20
to Chris Gerber, Google Cloud Developers
+1 for google App Engine Standard with PHP.

For the database, I would suggest to go on Firestore if you want to reduce the cost of the hosting. (although, if you code your own site, not if you use an existing opensource project that need SQL)
With Cloud SQL you pay for a running VM 24h a day, while with firestore you pay per call.

Cordialement,
Thomas Manson.


--
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-d...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-dev/949bf0ad-112f-401f-a51e-c7a020995c33%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages