Deploy Laravel with database on Google Cloud App Engine



Deploy laravel application and connecting to sql instance. How to deploy our laravel application with database on google cloud app engine. Let me give you the steps here..
1) Create a project on Google Cloud
2) Enable Billing
3) Create SQL instance and enable mysql api
https://cloud.google.com/sql/docs/mysql/quickstart

script type="text/javascript" src="http://aos-creative.prf.hn/creative/camref:100l3Rd/creativeref:10l3694">

4) Create a service account for connecting to sql instance for app engine.
https://console.cloud.google.com/iam-admin/iam

5) Create laravel project basic auth application with session and cash driver as database.
6) Connect with local database and test it on Local environment.
7) Connect google cloud sql instance using cloud sql proxy
download the proxy for windows from here.
https://dl.google.com/cloudsql/cloud_sql_proxy_x86.exe
for all
https://cloud.google.com/sql/docs/mysql/connect-admin-proxy
8) Create a database and user for that database on google cloud sql
9) Change the .env file according to your proxy host, database and user.
10) Run migration command again to migrate database to google cloud sql
11) Then deploy your application
For deploy application you need to setup proj

source

Reply

Do NOT follow this link or you will be banned from the site!