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

Monitoring your applications on Google Cloud Platform

Monitoring your applications on Google Cloud Platform

A small intro about alternatives to set up your server on Google Compute Engine, and how to keep an eye on things using Google Cloud Logging and Google Cloud Monitoring. Presented at ExFest 2015 in Cáceres, Spain.

Probably not that useful without the demos, but here it goes.

Nacho Coloma

June 08, 2015
Tweet

More Decks by Nacho Coloma

Other Decks in Technology

Transcript

  1. Copyright 2015 Google Inc Storage Cloud Storage Cloud SQL Cloud

    Datastore Compute Compute Engine App Engine App Services BigQuery Cloud Endpoints Container Engine Google Cloud Platform
  2. Copyright 2015 Google Inc Storage Cloud Storage Cloud SQL Cloud

    Datastore Compute Compute Engine App Engine App Services BigQuery Cloud Endpoints Container Engine Google Cloud Platform
  3. Copyright 2015 Google Inc Cloud Compute PaaS Preset run-times Java,

    Go, PHP and Python Focus is app logic Pay for what you use Less management overhead IaaS Raw compute, storage & network More granular control Pay for what you allocate More management overhead Towards managed infrastructure Towards managed services
  4. Copyright 2015 Google Inc Computing Continuum IaaS Raw compute Granular

    control PaaS Preset run-times Focus is app logic Clusters Data centre as computer Declarative management Managed VMs Beta Bring your own runtime Health-checked VMs Agility NoOps Configurability DevOps
  5. Copyright 2015 Google Inc • Create manually on the web

    console or the command line • Use click to deploy • Get crazy with a Bitnami image Create a server on Compute Engine
  6. Copyright 2015 Google Inc Charts and incidents for App Engine

    and Compute Engine Cloud Console for Android
  7. Copyright 2015 Google Inc Based on the google-fluentd agent to

    use with syslog and other logging agents Cloud Logging on GCE
  8. Copyright 2015 Google Inc Based on the google-fluentd agent to

    use with syslog and other logging agents syslog, apache, cassandra, chef-*, gitlab-*, jenkins, jetty, joomla, magento-*, mediawiki, memcached, mongodb, mysql, nginx-access, postgresql, puppet-*, rabbitmq-*, redis, redmine, salt-*, solr, sugarcrm, tomcat, zookeeper... Cloud Logging on GCE
  9. Copyright 2015 Google Inc Don’t we have anything to avoid

    watching at the logs 24 / 7? ...which is all good and well, but:
  10. Copyright 2015 Google Inc Custom dashboards and KPIs Alerts Events

    Valid for all kinds of GCP resources: GAE, GCE, GCS, BigQuery... Google Cloud Monitoring by Stackdriver
  11. Copyright 2015 Google Inc Apache, Cassandra, CouchDB, ElasticSearch, HBase, Kafka,

    Memcached, MySQL, MongoDB, Nginx, PostgreSQL, RabbitMQ, Redis, Riak, Tomcat, Varnish, ZooKeeper Cloud Monitoring agent plugins
  12. Copyright 2015 Google Inc Check that a URL is up

    from six different locations Uptime checks
  13. Copyright 2015 Google Inc Create an alert • Based on

    a given condition: metric threshold, uptime check • Perform a given task: e-mail, slack comment, SMS... Alerts
  14. Copyright 2015 Google Inc • Deploying on App Engine is

    trivial • Deploying in Compute Engine is not that hard • By hand • Click to deploy • Bitnami images • Use Cloud Logging to log on both platforms So, to recap:
  15. Copyright 2015 Google Inc • Set up custom dashboards that

    can be displayed at your workplace • Set up custom alerts that will call you when anything breaks • Custom metrics and thresholds, including uptime • Custom actions Google Cloud Monitoring