Kotling in Google Cloud Platform

How its all has started and where it has came?

Server Room

Colocation

DataCenter

Google Cloud

Network

Google Data Centers

Google Edge PoPs

Google Edge Nodes

Regions

Zones

Network: Standard vs. Premium

GCP Storage Options

Cloud Storage Options

Computing Options

GCP Hosting Options

GAE Solution Components

GAE Services

Typical Web Solution Architecture

Sample Kotlin Cloud App

Google Cloud Codelab: Emojify

Prepare

1. Create GCP project

2. Create Service Account

3. Enable APIs: Vision, App Engine Admin

4. Open Cloud Shell, download code:

$ git clone https://github.com/GoogleCloudPlatform/kotlin-samples.git
$ cd kotlin-samples/getting-started/android-with-appengine/backend

5. Open Backend Project in Editor

Run & Deploy

gcloud app create
mvn appengine:run -DskipTests (optional)
mvn appengine:deploy -DskipTests

Test

2. Call Emojify
https://<PROJECT_ID>.appspot.com/emojify?objectName=<FILENAME>.jpg

 

3. Check results

1. Upload image to bucket

Thank you!

Kotlin in Google Cloud Platform

By Programming Mentor (Vyacheslav Koldovskyy)