Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Alibaba Cloud で Container Service for Kubernete...
Search
hmatsu47
PRO
May 28, 2019
Technology
180
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Alibaba Cloud で Container Service for Kubernetes を試してみる
ヤフー名古屋 Tech Meetup #2 LT
hmatsu47
PRO
May 28, 2019
More Decks by hmatsu47
See All by hmatsu47
中小企業に就職して転職せず30年。結果どうなった?
hmatsu47
PRO
0
95
JAWS ミート 2026 の「出し物」のゲームを Kiro と AI-DLC v2 で作った話
hmatsu47
PRO
0
29
ゲームで挑戦!VPC の気持ちになって IPv4/v6 パケットをルーティングしよう!
hmatsu47
PRO
0
32
続・名古屋城とデータセンター
hmatsu47
PRO
0
30
【再演】IPv6 VPC の実装パターンをいくつか
hmatsu47
PRO
0
35
名古屋城とデータセンター
hmatsu47
PRO
0
45
IPv6 に関する話
hmatsu47
PRO
0
33
さいきんの光ファイバーの話
hmatsu47
PRO
0
80
低いほうのレイヤを見てみる話
hmatsu47
PRO
0
38
Other Decks in Technology
See All in Technology
脆弱性診断って、何をしているの? 〜弱点を見つけて、会社の改善につなげるまで〜
keeg
0
930
10年後、Engineering 行為を剥奪されるとして、わたしたちは、どう、何を創ればいいだろうか。 / If Engineering Is Taken Away in 10 Years, How and What Should We Create?
bitkey
PRO
1
200
スプシの手作業からの解脱 ~更新はClaude Codeに、見せ方と使い方はGASアプリに任せる~
kentarofujii
0
160
コンテナ運用におけるネットワーク・コンテナコストの削減方法/How to Reduce Network and Container Costs in Container Operations
masakiokuda
1
280
Benchmarking Disaggregated Serving on vLLM + Dynamo with a Real Coding-Agent Workload
nttcom
1
200
USB PDを使ってスマホを労わりたい
raspython3
0
180
Browser Spec: Testing Hotwire with Ruby
takahashim
1
130
アウトプット初心者、半年間のふりかえり
4o1sobblue
0
440
触りたくないデータに、どう触るか AI時代のRBACアクセスガバナンス
ivry_presentationmaterials
0
270
実体験から学ぶ分析エージェントの開発と運⽤
recruitengineers
PRO
8
2.4k
しろおびから始める!ログ活用の第一歩
shumei_ito
0
950
日本語に強いオープンな大規模言語モデル「LLM-jp」
odashi
5
1.1k
Featured
See All Featured
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Tell your own story through comics
letsgokoyo
1
1.1k
Making Projects Easy
brettharned
120
6.8k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
1k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.8k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
730
Abbi's Birthday
coloredviolet
4
10k
The Cost Of JavaScript in 2023
addyosmani
55
10k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
410
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
18k
The Invisible Side of Design
smashingmag
301
52k
Transcript
Alibaba Cloud で Container Service for Kubernetes を 試してみる 2019/05/28
ヤフー名古屋 Tech Meetup #2 LT hmatsu47(松久 裕保)
自己紹介など • @hmatsu47(松久 裕保) • JP タワーのあたりで Web サービス(on AWS)のお守りをしています
• 普段は MySQL 絡みの話をすることが多いです • 「MySQL 8.0 の薄い本」配布中(今日、Qiita でトレンド入りしてる…) • https://github.com/hmatsu47/mysql80_no_usui_hon • コンテナのことは詳しくありません • DB などのデータストアを扱うのが難しいので(言い訳) • でも MySQL には Vitess や Oracle MySQL Operator for Kubernetes が • コンテナをホスト OS のプロセスの文脈で語る人に「昔 VMware(GSX)Server というのがあってな…」と 返すぐらいには老害
なぜ Alibaba Cloud ? • たまたま「Alibaba Cloud ミートアップ in 名古屋」に参加した
• AliEaters(Alibaba Cloud のユーザ会)のイベント • そのツイート実況をしたら無料利用枠をもらった • 通常の無料利用枠とあわせて 5 万円分 • 別ネタで LT してみた • Table Store のオートインクリメント機能を使ってみた話 • https://speakerdeck.com/hmatsu47/alibaba-cloudfalsetable- storedeotoinkurimentoji-neng-woshi-tutemita
Alibaba Cloud のコンテナサービス • Container Service (Swarm) • Docker Swarm
によるクラスタ • Container Service for Kubernetes • Kubernetes によるクラスタ • Elastic Container Instance ※東京リージョン未導入 • AWS でいう Fargate のようなもの
Alibaba Cloud のコンテナサービス • Container Service (Swarm) • Docker Swarm
によるクラスタ • Container Service for Kubernetes ←これを試してみる • Kubernetes によるクラスタ • Elastic Container Instance ※東京リージョン未導入 • AWS でいう Fargate のようなもの
Container Service for Kubernetes • フルマネージドの Kubernetes コンテナサービス • 構築手順
① クラスタを作成する • Resource Orchestration Service(ROS:AWS の CloudFormation に 相当)を使って仮想マシン・ネットワーク等を自動構成 ② アプリケーションをデプロイする 【参考】 アリ蔵(ALIKURA)の記事 • https://alikura.com/computing/try-container-service-1 • https://alikura.com/computing/try-container-service-2
① クラスタを作成する
None
None
None
None
None
None
ここで 15 分ほど待つとクラスタが完成します
None
None
None
None
② アプリケーションをデプロイする
None
None
None
None
None
None
None
None
None
しばらく待つとデプロイが完了します
None
指定の URL にブラウザでアクセスしてみます
None
WordPress の初期画面が表示されました
まとめ • 非常に簡単な手順でクラスタを作ることができます • 事前に Auto-Scaling、ROS(前述)、RAM(Resource Access Manager: AWS の
IAM に相当)を有効化しておく必要がありますが、ROS の機能を 使って自動構成してくれます • イメージが用意されている場合、アプリケーションのデプロイも簡単 です • 今回は省略しましたが、内部アクセス等は別途設定が必要です
ありがとうございました