Google Cloud Platform
• Google App Engine
• Google Cloud Storage
• Google BigQuery
• Google Cloud Datastore
• Google Compute Engine
• Google Cloud Platform共通
Agenda
3
Google App Engine
• Ushering in the Next Generation of Cloud Computing
• https://developers.google.com/events/io/sessions/333265959
• A New Language for App Engine
• https://developers.google.com/events/io/sessions/333055646
• Cloud Backend for Your Android Application
• https://developers.google.com/events/io/sessions/333508149
• Google App Engine for PHP 公式ドキュメント
• https://developers.google.com/appengine/docs/php/
• Mobile Backend Starter 公式ドキュメント
• https://developers.google.com/cloud/samples/mbs/
• Blog @vierjp : 27.Google I/Oで発表されたCloud Platformの新機能
• http://blog.vier.jp/2013/05/google-iogoogle-cloud-platform.html
• Blog @vierjp : 28.Google App Engine for PHP (GAE/PHP)
• http://blog.vier.jp/2013/05/google-app-engine-for-php-gaephp.html
• Blog @vierjp : 29.Google App Engine for PHPでWordPress
• http://blog.vier.jp/2013/05/29google-app-engine-for-phpwordpress.html
• Blog @vierjp : 30.Google App Engine for PHPにおけるポータビリティ
• http://blog.vier.jp/2013/05/30google-app-engine-for-php.html
16
参考リンク
Google Cloud Storage
• JSON APIによるバッチリクエスト
• 一度のリクエストで複数の命令を投げる手
法
• 大量のオブジェクトに対してまとめてアクセ
ス権限を設定したり削除したりする場合等
に有効
Google Cloud Storageに大量データをアップロードする際のテクニック
21
22.
Google Cloud Storage
• Offline Disk Import (Limited Preview)
Google I/Oで発表された新機能
22
アップロードしたいファイルをハードディスクに
入れてGoogleに送るとGoogle内のネットワーク
からアップロードしてくれる
料金は通常のGoogle Cloud Storageの料金に
加えて、HDD毎に「$80」加算されます。
23.
Google Cloud Storage
1. Offline Disk ImportのInterest Formから申し込み
2. SATAのハードディスクをEncFS(暗号化ファイルシ
ステム)でフォーマットする
3. データをハードディスクにコピーする
4. Googleに郵送する
5. Googleが顧客の所有する新しいbucketに
Googleの高速なネットワークを使ってimportする
6. GoogleがHDDを郵送で返却する
Offline Disk Import の手順
23
*現時点ではアメリカに住所がある顧客のみ対象です
24.
Google Cloud Storage
• Versioning
• Durable Reduced Availability storage
• 30% price drop
• Cloud Console
• Composite Objects
• Notifications
• JSON API
• Offline disk import
Google Cloud Storageの最近のリリース一覧
24
25.
Google Cloud Storage
• Importing Large Data Sets into Google Cloud Storage
• https://developers.google.com/events/io/sessions/333473305
• Google Cloud Storage公式ドキュメント
• https://developers.google.com/storage/
• Offline Disk Import - Google Cloud Storage
• https://developers.google.com/storage/docs/early-access
• Blog @vierjp : 31.Google Cloud Storageに大量データ
をアップロードする際のテクニック(Google I/O 2013)
• http://blog.vier.jp/2013/05/google-cloud-storagegoogle-io-2013.html
25
参考リンク
Google BigQuery
• 3月に追加された機能
• Big JOIN
• Large Group Aggregations
• Trusted Tester中の機能
• App Engine Datastore Backup to BigQuery Import
(一部機能は提供済み)
最近追加された機能・実装予定の機能
32
33.
Google BigQuery
• GoogleAnalytics and AdSense Data Analysis in BigQuery
• https://developers.google.com/events/io/sessions/332940014
• AdSense BigQuery Integration Guide – AdSense
• https://developers.google.com/adsense/bigquery
• BigQuery 公式ドキュメント
• https://developers.google.com/bigquery/
• Blog @vierjp : 23.BigQueryの新機能 (2013/03/15)
• http://blog.vier.jp/2013/03/bigquery-20130315.html
• Blog @vierjp : 32.Google BigQueryでAnalyticsとAdSenseの
データを分析する(Google I/O 2013)
• http://blog.vier.jp/2013/05/32google-bigqueryanalyticsadsensegoogle.html
33
参考リンク
Google Cloud Datastore
• Ushering in the Next Generation of Cloud Computing
• https://developers.google.com/events/io/sessions/333265959
• What's New and Cool with Google Compute Engine
• https://developers.google.com/events/io/sessions/333117643
• Google Cloud Datastore 公式ドキュメント
• https://developers.google.com/datastore/docs/overview
41
参考リンク
Google Compute Engine
• Googleが提供する IaaS
• Google I/O初日に一般公開
• 現在 OS は Debian と CentOS を利用可能
• APIs Discovery Serviceに対応するAPIもあり
概要
43
44.
PaaS
IaaS
Google Compute Engine
• Compute EngineはIaaS (Infrastructure as a Service)
• App EngineはPaaS (Platform as a Service)
IaaSとは?
44
作成したアプリケーション
Webサーバー
OS
仮想マシン
DBサーバー
ハードウェア
その他
45.
Google Compute Engine
• リージョンとゾーン
• インスタンス、インスタンスタイプ
• ディスクタイプ
• Scratch Disk (旧 Ephemeral Disk)
• Persistent Disk
用語
45
リージョン
us-‐central1
ゾーン
a
ゾーン
b
PD
PD
46.
Google Compute Engine
• Sub-hour Billing
• Shared-core instances
• Advanced Routing
• Persistent Diskの最大サイズ増加
Google I/Oで発表された新機能
46
Google Compute Engine
• Ushering in the Next Generation of Cloud Computing
• https://developers.google.com/events/io/sessions/333265959
• Supercharge Your Google Compute Engine App with Persistent Disk
• https://developers.google.com/events/io/sessions/350753683
• What's New and Cool with Google Compute Engine
• https://developers.google.com/events/io/sessions/333117643
• Advanced Packet Routing Techniques in a Google Compute Engine
Network
• https://developers.google.com/events/io/sessions/333138978
• Google Compute Engine Pricing (料金)
• https://cloud.google.com/pricing/compute-engine
• Amazon EC2 料金表
• http://aws.amazon.com/jp/ec2/pricing/
• By the numbers: How Google Compute Engine stacks up to Amazon
EC2 (海外の比較サイト)
• http://goo.gl/CaLKA
65
参考リンク
66.
Google Cloud Platform共通
• App Engine、Compute Engine、Cloud Storageが
ISO27001:2005認証取得
• アジア、南アメリカにデータセンターを追加予定
• Datastore (& Cloud Datastore) が最大25%値下げ
Google I/O前後のニュースなど
66