More Related Content
PPTX
gcpug_okinawa_#2_hiroshi_kawakami PDF
Google Cloud Platformでソーシャルゲームを1本出してみた! PPTX
PDF
PDF
ゲームインフラとGoogle Cloud Platformと酒! PDF
Introduction of Azure Docker Integration PDF
最近Preview公開されたAzure テストサービスを試してみた PPTX
実プロジェクトの経験から学ぶazureサービス適用パターン What's hot
PDF
PDF
PDF
[JANOG35.5] WhiteBox SW検証 ~サーバサイド編~ PDF
アナザーエデンにおける非同期オートセーブを用いた通信待ちストレスのないゲーム体験の実現 PDF
PDF
Azure How to Learn &ゆるふわ雑談Q&A PDF
TB / Day規模のゲーム向けデータパイプラインを開発運用する日々 PDF
PDF
OSS/linux on Azureの活用方法と勘所 PDF
Infrastructure as Codeの取り組みと改善 PDF
Azure Virtual Machines設計の勘所 | Microsoft Tech Summit 2017 PPTX
Azure Stack Hybrid DevOpsデモンストレーション PDF
20181201 Azure Storage 静的 Web サイト ホスティング #きたあず #jazug PDF
コマンド1発でAzureにDC/OS環境を作る方法 PDF
グリー株式会社『私たちが GCP を使い始めた本当の理由』第 9 回 Google Cloud INSIDE Game & Apps PPTX
PPTX
PDF
DC/OS as PaaS : paasjp#36 PDF
KEY
Similar to GCP vs 他社クラウド
PDF
PPTX
2024年5月25日Serverless Meetup大阪 アプリケーションをどこで動かすべきなのか.pptx PPTX
Rails on GKEで運用するWebアプリケーションの紹介 PDF
PDF
[External] 2021.12.15 コンテナ移行の前に知っておきたいこと @ gcpug 湘南 PDF
自前でcloud foundryを構築してgooのビッグサービスをカットオーバーした話 PDF
Google Compute EngineとGAE Pipeline API PDF
Google Compute EngineとPipe API PDF
【HinemosWorld2014】A1-3_01_NTT Comのグローバルクラウド戦略とHinemosとの連携について PDF
PDF
Spring I/O 2016 報告 Test / Cloud / Other Popular Sessions PPTX
AWS & Google Cloudを使ったシステム開発/技術選定のはなし PDF
『じゃらん』『ホットペッパーグルメ』を支えるクラウド・データ基盤 PDF
PDF
cf-containers-broker を使ってローカル環境もサービスの恩恵をうける PDF
SpringベースのCloud Native Application PPTX
PDF
PDF
Architecting on Alibaba Cloud - Fundamentals - 2018 PDF
GCP vs 他社クラウド
- 1.
- 2.
- 3.
- 4.
- 5.
自己紹介
氏名 長谷川祐介
経歴
20代にGMO, Yahoo,SQEXその他中小を転々としながら
2010年にgloops(旧gms)へ
2014年4月1日からZeadleへ
職種
いわゆるインフラエンジニア
CIO
(ちっちゃなインフラおじさん)
GCP歴 約2ヶ月
その他
AWSここ最近半年くらい
AzureもVM側だけど数ヶ月触ってる
- 7.
- 8.
- 9.
- 10.
- 11.
- 12.
- 13.
- 14.
- 15.
- 16.
- 17.
- 18.
- 19.
- 20.
- 21.
- 22.
- 23.
- 24.
- 25.
- 26.
Compute Engine
• 起動がちょっぱや!
•CPUも同等のEC2 Instance Typeと比較すると速い
(よくbuildするので感覚値
• いわゆるregionがない
• USにInstance立てているのになんでか速い
• 通常のInstanceについているDiskも悪くない
(buildしてるとわかる
Google塩入さんの受け売りです・・・
- 27.
VMインスタンス
• 起動は本当に速い
だいたい1 2分くらい
•ディスク作成、スナップショット取得
などは体感的にも高速
(10GBのDiskのInstanceで2分程度
• タグはカンマ区切り
• Image管理はsnapshotでやった方が
楽なんじゃないかと感じてます。
どうなんでしょうか?
• 管理上作った日付が欲しい場合もあ
ると思いますが
gcutilであれば
--format=json付きでgetinstance/
listinstancesのcreationTimestamp
で取得できます。
- 28.
- 29.
- 30.
- 31.
- 32.
- 33.
- 34.
- 35.
- 36.
- 37.
アカウント
• ぶっちゃけ今回一番驚いたことです!
• GoogleAppsのアカウントとVM内ユーザーが連携!
• manage_accountsというプロセスが起動しており、
Developers Console上の権限に追加すると
LinuxOSのユーザーが自動で作成されます。
• Developers Console上から権限剥奪すると
ちゃんとLinuxOSにLoginできなくなります。
• Google Cloud Platformと名付けられている理由
が!!!
- 38.
構築上非常に便利な点!
WebのDevelopers Console上で
RESTとコマンドラインが出力される!
gcutil --service_version="v1"--project="xxxxx-xxxxx-xxx" addinstance
"test" --tags="test" --zone="us-central1-b" --machine_type="n1-
standard-1" --network="default" --external_ip_address="ephemeral" --
service_account_scopes="https://www.googleapis.com/auth/
userinfo.email,https://www.googleapis.com/auth/compute,https://
www.googleapis.com/auth/devstorage.full_control" --image="https://
www.googleapis.com/compute/v1/projects/centos-cloud/global/
images/centos-6-v20140318" --persistent_boot_disk="true"
- 39.
- 40.
CloudDNS
• updateを行う
$ gcloudcomponents update dns
$ gcloud dns managed-zone create --dns_name="zeadle.org." --
description="zeadle org zeadleorgzone
• managed-zone create
• 2014-04-15現在はまだDeveloper Consoleは提供されてない
のでCLIでやりました。
- 41.
- 42.
CloudDNS
{
"additions": [
{
"kind": "dns#resourceRecordSet",
"name":"zeadle.org.",
"rrdatas": [
"ns-cloud-b1.googledomains.com. dns-admin.google.com. 2 21600 3600 1209600 300"
],
"ttl": 21600,
"type": "SOA"
},
{ ここに入力 }
],
"deletions": [
{
"kind": "dns#resourceRecordSet",
"name": "zeadle.org.",
"rrdatas": [
"ns-cloud-b1.googledomains.com. dns-admin.google.com. 1 21600 3600 1209600 300"
],
"ttl": 21600,
"type": "SOA"
}
]
}
• viが立ち上がってきて(ちっちゃくてすいません・・・
- 43.
- 44.
- 45.
CloudDNS
[
{
"kind": "dns#resourceRecordSet",
"name": "zeadle.org.",
"rrdatas":[
"ns-cloud-b1.googledomains.com.",
"ns-cloud-b2.googledomains.com.",
"ns-cloud-b3.googledomains.com.",
"ns-cloud-b4.googledomains.com."
],
"ttl": 21600,
"type": "NS"
},
{
"kind": "dns#resourceRecordSet",
"name": "zeadle.org.",
"rrdatas": [
"ns-cloud-b1.googledomains.com. dns-admin.google.com. 1 21600 3600 1209600 300"
],
"ttl": 21600,
"type": "SOA"
},
{
"kind": "dns#resourceRecordSet",
"name": "www.zeadle.org.",
"rrdatas": [
xxx.xxx.xxx.xxx
],
"ttl": 3600,
"type": "A"
}
]
• 出力(ちっちゃくてすいません・・・
あとはdigとかdrillで
@serverつけてテスト
すれば返ってきます!
- 46.
- 47.
- 48.
- 49.
- 50.
- 51.
- 52.