Upgrade to Pro — share decks privately, control downloads, hide ads and more …

DotNetDay18: Building ASP.NET Apps on Google Cl...

DotNetDay18: Building ASP.NET Apps on Google Cloud by Mete Atamel

With high performance Virtual Machines (VM) and networking, blazing fast VM provisioning and autoscaling and a rich set of services, Google Cloud is a great platform to deploy and run your traditional ASP.NET and new containerised ASP.NET Core applications. In this session, we will cover:
How to run traditional Windows and SQL Server based ASP.NET apps on Compute Engine.
How to run the new Linux based containerised ASP.NET Core apps App Engine and Kubernetes/Container Engine.
How to integrate with Google Cloud services such as Cloud Storage and use machine learning APIs such as Vision API and Speech API.
How to use Google Cloud PowerShell cmdlets and Visual Studio extension to manage your projects.
This is your opportunity to learn about what Google Cloud offers for your ASP.NET app!

dotnetday

May 29, 2018
Tweet

More Decks by dotnetday

Other Decks in Programming

Transcript

  1. Confidential & Proprietary Building .NET apps on Google Cloud Powered

    by Dialogflow, Machine Learning, and BigQuery Mete Atamel Developer Advocate at Google @meteatamel
  2. Confidential & Proprietary Agenda Introduction .NET apps on Google Cloud

    Dialogflow and Demo App Voice driven apps with Dialogflow and demo description .NET Containers on Google Cloud App Engine Flex and Google Kubernetes Engine (GKE) Machine Learning and Big Data Vision API and BigQuery
  3. Confidential & Proprietary Google Cloud Platform App Engine Compute Engine

    Kubernetes Engine Container Registry Cloud Functions Cloud DNS Virtual Private Cloud Cloud Load Balancing Cloud CDN Cloud Interconnect Big Data BigQuery Cloud Dataflow Cloud Dataproc Cloud Datalab Cloud Pub/Sub Genomics Cloud Bigtable Cloud Storage Cloud Datastore Cloud SQL Cloud Spanner Identity & Security Cloud IAM Cloud Resource Manager Cloud Security Scanner BeyondCorp Data Loss Prevention Identity-Aware Proxy Security Key Enforcement Persistent Disk Machine Learning Cloud Machine Learning Cloud Vision API Cloud Speech API Cloud Natural Language API Cloud Translation API Cloud Jobs API Networking Key Management Service Cloud Router VPN Firewall External IP Compute Storage and Databases Networking
  4. Confidential & Proprietary Google Cloud Platform Management Tools Stackdriver Monitoring

    Logging Error Reporting Trace Debugger Cloud Deployment Manager Cloud Endpoints Cloud Console Developer Tools Cloud SDK Cloud Deployment Manager Cloud Source Repositories Cloud Tools for Android Studio Cloud Tools for IntelliJ Cloud Tools for PowerShell Cloud Tools for Visual Studio Google Plug-in for Eclipse Cloud Test Lab Cloud Shell Cloud Mobile App Cloud Billing API Cloud APIs
  5. Highly customisable Highly managed Compute Engine App Engine Cloud Functions

    Cloud Launcher Container Builder Container Registry Kubernetes Engine
  6. Confidential & Proprietary .NET Deployment Options Compute Engine App Engine

    flex Kubernetes Engine ASP.NET on Windows Containerised ASP.NET Core on Linux
  7. Confidential & Proprietary SQL Server, Libraries and Tools .NET libraries

    for Google Cloud on NuGet Compute Engine Visual Studio plugin for Google Cloud on Visual Studio Gallery PowerShell cmdlets for Google Cloud as part of Google Cloud SDK Microsoft SQL Server
  8. 11 Google Home + ASP.NET Core on Google Cloud Google

    Home Mini Google Assistant Dialogflow ASP.NET Core App App Engine/GKE Vision API BigQuery Stackdriver Search HTTPS
  9. Confidential & Proprietary What is a container? Lightweight Hermetically sealed

    Isolated Easily deployable Introspectable Composable Linux (or Windows) processes A lightweight way to virtualize applications Docker
  10. Confidential & Proprietary ASP.NET Deployment Options Compute Engine App Engine

    flex Kubernetes Engine ASP.NET on Windows Containerised ASP.NET Core on Linux
  11. Confidential & Proprietary App Engine (flex) Deploy your container and

    let App Engine figure out how to scale it Dashboards Versioning Traffic splitting Autoscaling
  12. Confidential & Proprietary ASP.NET Deployment Options Compute Engine App Engine

    flex Kubernetes Engine ASP.NET on Windows Containerised ASP.NET Core on Linux
  13. Confidential & Proprietary Kubernetes Κυβερνήτης means “governor” • Manages container

    clusters • Inspired and informed by Google’s internal container system called Borg • Supports multiple cloud and bare-metal environments • 100% Open source, written in Go Manage applications, not machines
  14. Confidential & Proprietary Compute Engine Full control: VMs for Linux

    and Windows Server App Engine Deploy your code and we scale it for you Cloud Functions A serverless platform for event-based microservices Google Kubernetes Engine (GKE) Kubernetes-as-a-service
  15. 19 $ gcloud container clusters create cluster-1 Creating cluster cluster-1...done.

    Created [https://container.googleapis.com/v1/projects/sandbox/zones/europe-west1-c/clusters/cluster-1]. kubeconfig entry generated for cluster-1. NAME ZONE MASTER_VERSION MASTER_IP MACHINE_TYPE NODE_VERSION NUM_NODES STATUS cluster-1 europe-west1-c 1.4.6 104.199.87.107 n1-standard-1 1.4.6 3 RUNNING $ gcloud container clusters get-credentials cluster-1 Fetching cluster endpoint and auth data. kubeconfig entry generated for cluster-1. $ kubectl get nodes NAME STATUS AGE gke-cluster-1-default-pool-6c50430d-chjm Ready 2m gke-cluster-1-default-pool-6c50430d-esqq Ready 2m gke-cluster-1-default-pool-6c50430d-zfm9 Ready 2m $ kubectl get pods $ $ gcloud container clusters resize cluster-1 --size 5 Pool [default-pool] for [cluster-1] will be resized to 5. Resizing cluster-1...done. Updated [https://container.googleapis.com/v1/projects/sandbox/zones/europe-west1-c/clusters/cluster-1].
  16. Accelerating use of deep learning at Google Directories containing Deep

    Learning Models 2012 2013 2014 2015 3000 2000 1000 0 Used across products: 4000 2016 Unique project directories
  17. Using Models: Machine Learning APIs Cloud Speech API Cloud Vision

    API Cloud Translate API Cloud Natural Language API Cloud Video Intelligence Cloud Jobs API
  18. 24 Google Home + ASP.NET Core on Google Cloud Google

    Home Mini Google Assistant Dialogflow ASP.NET Core App App Engine/GKE Vision API BigQuery Stackdriver Search HTTPS
  19. Confidential & Proprietary BigQuery = Massively Parallel Processing query with

    the petabit network and thousands of servers SQL Query Petabit Network BigQuery Storage Compute Streaming Ingest Fast Batch Load
  20. 26 Google Home + ASP.NET Core on Google Cloud Google

    Home Mini Google Assistant Dialogflow ASP.NET Core App App Engine/GKE Vision API BigQuery Stackdriver Search HTTPS