SlideShare ist ein Scribd-Unternehmen logo
1 von 54
Downloaden Sie, um offline zu lesen
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
アマゾン ウェブ サービス ジャパン株式会社
DevOps スペシャリスト
ソリューションアーキテクト 福井 厚
2018.06.13
【AWS Black Belt Online Seminar】
AWS Cloud9 入門
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
自己紹介
名前
 福井 厚(ふくい あつし) fatsushi@
所属
 アマゾン ウェブ サービス ジャパン株式会社
 技術統括本部レディネスソリューション部
 ソリューション アーキテクト
Dev&Opsスペシャリスト
前職
 エンタープライズ アプリケーション開発コンサルタント
好きなAWSサービス
 AWS Code シリーズ、AWS Cloud9、Amazon ECS/Fargate/EKS、AWS Lambda
2
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
内容についての注意点
• 本資料では2018年6月13日時点のサービス内容および価格についてご説明しています。最新の情報は
AWS公式ウェブサイト(http://aws.amazon.com)にてご確認ください。
• 資料作成には十分注意しておりますが、資料内の価格とAWS公式ウェブサイト記載の価格に相違が
あった場合、AWS公式ウェブサイトの価格を優先とさせていただきます。
• 価格は税抜表記となっています。日本居住者のお客様が東京リージョンを使用する場合、別途消費
税をご請求させていただきます。
• AWS does not offer binding price quotes. AWS pricing is publicly available and is subject to change in
accordance with the AWS Customer Agreement available at http://aws.amazon.com/agreement/. Any
pricing information included in this document is provided only as an estimate of usage charges for AWS
services based on certain information that you have provided. Monthly charges will be based on your
actual use of AWS services, and may vary from the estimates provided.
3
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Agenda
ソフトウェア開発の3つの柱
なぜ新しいIDEを開発したのか?
AWS Cloud9 を始めよう
Demo
まとめ
4
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
ソフトウェア開発の3つの柱
Compute
Amazon EC2 | AWS Fargate | Amazon ECS | AWS Lambda |
…
Storage
Amazon Aurora | Amazon RDS | Amazon Redshift | …
100+ Services
5
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
ソフトウェア開発の3つの柱
AWS CodeCommit AWS CodeBuild
AWS
CodeDeploy
AWS
CodePipelin
e
AWS
CodeStar
6
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
ソフトウェア開発の3つの柱
A cloud IDE for writing, running, and debugging
code
7
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
なぜ新しいIDEを開発したのか?
8
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
1.開発者はクラウド向けのアプリを
構築しているが、開発には
ローカルマシンを利用している
ローカルマシンのハード
ウェア/設定に依存
複数プロジェクトを掛け持
ちするのが困難
離れたロケーションで働く
のが難しい
課題
9
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
2.開発環境のセットアップが面倒
Install IDE &
Plugins
Configure Stack
Start writing code
Match
environment
to production
10
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
2.開発環境のセットアップが面倒(続き)
11
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
2.開発環境のセットアップが面倒(続き)
12
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
3. 開発者はコードのより容易なコラボレーション
の方法が必要
相手のスクリーンで
レビューするのはうまく
スケールしない
スクリーン共有ツールは頻繁
なコンテキストのスイッチを
強いられる
13
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
4.今のIDEはまだサーバーレスアプリケーションに
必要な機能に追いつけていない
14
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Introducing…
15
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
ブラウザのみで
開発
16
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
素早く新しい
プロジェクトを
開始
Install IDE &
Plugins
Configure Stack
Start writing code
Match
environment
to production
Create a new
environment
17
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
リアルタイムに
共同コーディング
18
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
サーバーレス
アプリケーション
の開発を容易に
19
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWSサービスに
直接ターミナル
アクセス
20
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Available today
aws.amazon.com/cloud9
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
US East (N. Virginia)
(us-east-1)
US West (Oregon)
(us-west-2)
Generally Available today
EU (Ireland)
(eu-west-1)
Asia Pacific (Singapore)
(ap-southeast-1)
AWS Cloud9 が利用可能なリージョン
US East (Ohio)
(us-east-2)
22
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Cloud9を始めよう
23
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Cloud9のセットアップ
利用パターン セットアップの種類
AWS Cloud9をすぐに使いたい
または
このAWSアカウントでCloud9を利用するのは自分
ひとりだけ
Express Setup
AWSアカウント内の複数のユーザーでAWS
Cloud9を利用する
Team Setup
AWSアカウント内で複数のユーザーでAWS
Cloud9を利用し、コストをコントロールするために利
用を制限したい
Advanced Team Setup
24
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
まずはAWS アカウントの作成
• https://aws.amazon.com/jp/ を開く
• [まずは無料で始める]を
クリック
• 必要な情報を入力して
AWSアカウントを作成
• rootアカウントでログイン
してIAMユーザーを作成
https://docs.aws.amazon.com/ja_jp/IAM/latest/UserGuide/
best-practices.html#create-iam-users
25
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Express Setup
• https://console.aws.amazon.com/cloud9/ でAWS Cloud9コ
ンソールを開く(作成したIAMユーザーでAWSマネジメ
ントコンソールにログイン)
• リージョンを選択
• [Create Environment]をクリック
• NameとDescriptionに任意の環境名と説明を入力し、
[Next Step]をクリック
26
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Express Setup(続き)
• Environment Typeに [Create a New Instance for
environment(EC2)]を選択
• EC2のインスタンスタイプを選択
• コストセーブ設定の選択
• VPCの選択
• [Next Step]をクリック
• レビューページで[Create environment]を選択
27
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Team Setup
• IAMグループを作成
• 作成したIAMグループにAWS Cloud9のパーミッションを付与
• AWS Cloud9 User
• 自身のAWS Cloud9環境を作成可能
• 自身の環境に関する情報の取得
• 自身の環境設定の変更
• AWS Cloud9 Administrator Access 上記に加えて
• 他のユーザーの環境作成
• 他のユーザーの環境情報の取得
• 環境の削除
• 他のユーザーの環境設定の変更
• IAMユーザーを作成し、IAMグループに追加
28
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Advanced Team Setup
• できることを制限し、コストを抑えることが目的
• Team Setupに加えてcustomer-managed ポリシーを作成
• 作成したcustomer-managed ポリシーをIAMグループに
アタッチ
• AWS Cloud9 Userグループが作成されており、対象のIAMユー
ザーが追加されていることが前提
29
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Cloud9環境構築を禁止するポリシー例
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Deny",
“Action”: [
"cloud9:CreateEnvironmentEC2",
"cloud9:CreateEnvironmentSSH”
],
"Resource": "*"
}
]
}
30
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
EC2環境の構築を禁止するポリシー例
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Deny",
"Action": "cloud9:CreateEnvironmentEC2",
"Resource": "*"
}
]
}
31
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
特定のEC2インスタンスのみ環境の構築を許可す
るポリシー例
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"cloud9:CreateEnvironmentSSH",
"cloud9:ValidateEnvironmentName",
"cloud9:GetUserPublicKey",
"cloud9:UpdateUserSettings",
"cloud9:GetUserSettings",
"iam:GetUser",
"iam:ListUsers",
"ec2:DescribeVpcs",
"ec2:DescribeSubnets"
],
"Resource": "*"
},
32
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
特定のEC2インスタンスのみ環境の構築を許可す
るポリシー例(続き)
{
“Effect”: “Allow”,
“Action": "cloud9:CreateEnvironmentEC2",
"Resource": "*",
"Condition":
{
"StringLike":
{
"cloud9:InstanceType": "t2.*"
}
}
},
{
"Effect": "Allow",
"Action": [ "cloud9:DescribeEnvironmentMemberships" ],
"Resource": [ "*" ],
"Condition":
{
"Null":
{
"cloud9:UserArn" : "true",
"cloud9:EnvironmentId": "true"
33
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
特定のEC2インスタンスのみ環境の構築を許可す
るポリシー例(続き)
}
}
},
{
"Effect": "Allow",
"Action": [
"iam:CreateServiceLinkedRole"
],
"Resource": "*",
"Condition":
{
"StringLike":
{
"iam:AWSServiceName": "cloud9.amazonaws.com"
}
}
}
]
}
34
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
リージョンごとに1つの環境のみ作成を許可する
ポリシー例
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"cloud9:CreateEnvironmentSSH",
"cloud9:ValidateEnvironmentName",
"cloud9:GetUserPublicKey",
"cloud9:UpdateUserSettings",
"cloud9:GetUserSettings",
"iam:GetUser",
"iam:ListUsers",
"ec2:DescribeVpcs",
"ec2:DescribeSubnets"
],
"Resource": "*"
},
35
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
リージョンごとに1つの環境のみ作成を許可する
ポリシー例(続き)
{
"Effect": "Allow",
"Action": [
"cloud9:CreateEnvironmentEC2"
],
"Resource": "*",
"Condition":
{
"StringEquals":
{
"cloud9:EnvironmentName": "my-demo-environment"
}
}
},
{
"Effect": "Allow",
"Action": [
"cloud9:DescribeEnvironmentMemberships"
],
"Resource": [ "*" ],
"Condition":
{
36
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
リージョンごとに1つの環境のみ作成を許可する
ポリシー例(続き)
"Null":
{
"cloud9:UserArn": "true",
"cloud9:EnvironmentId": "true"
}
}
},
{
"Effect": "Allow",
"Action": [
"iam:CreateServiceLinkedRole"
],
"Resource": "*",
"Condition":
{
"StringLike":
{
“iam:AWSServiceName": "cloud9.amazonaws.com"
}
}
}
]
}
37
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
[参考] AWS Managed Temporary Credentials
• AWS Cloud9のEC2開発環境では、呼び出したAWSアカウント
が利用可能な全てのAWSリソースに対するAWSアクションを
許可する一時的なクレデンシャルを生成(但し、cloud9-で始
まるロールとのインタラクションを除くIAM系は制限され
る)
• Cloud9環境のIPアドレスからのリクエストに制限される
• PreferencesタブのAWS Settingsで AWS managed temporary
credentials をOFFにすることで無効化できる
• EC2インスタンス プロファイルの設定
• 環境変数かaws configureによる永続的なクレデンシャルの設定
38
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Demo AWS Cloud9 IDE
39
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
40
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Demo Serverless Apps
Development
41
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
42
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
ImportするリモートのLambdaファククションの
参照
• PreferencesタブのAWS Settings を選択し、AWS Regionを
参照したいリージョンに変更
43
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Lambda(Python)のImport
• Cloud9のローカル環境にImportした後、デバッグ実行す
る前に下記を実行
• オプション1: Python関数がvenvを使わない場合
• ikpdbをテンプレートファイルと同じフォルダにインストー
ルする
• pip install ikpdb --target .
• オプション2: venvを利用する場合
• ファンクションのvenv ディレクトリにikpdbをインストール
• venv/bin/pip install ikpdb
44
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Demo Pair Programming
45
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
46
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Cloud9 プレビュー機能
47
• 以下のファイルをプレビュー表示可能
• .html, .htm, .pdf, .svg, .xhtml
• Markdown フォーマット
• AWS Cloud9で実行中のアプリ
• localhost(127.0.0.1 or 0.0.0.0) ポート 8080,8081, 8082
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Cloud9 統合開発環境の言語サポート
言語 文法ハイライト UI実行 アウトラインビュー コードヒント、lint コード補完 デバッグ
C++ ✔️ ✔️ ✔️ △ ▲
C# ✔️ ✔️ △
CoffeeScript ✔️ ✔️
CSS ✔️ ✔️
Dart ✔️
Go ✔️ ✔️ ✔️ ✔️ ▲ ▲
Haskell ✔️
HTML ✔️ ✔️ ✔️ ✔️
Java ✔️ ✔️ △
JavaScript ✔️ ✔️ ✔️ ✔️ ✔️
Node.js ✔️ ✔️ ✔️ ✔️ ✔️ ー
PHP ✔️ ✔️ ✔️ ✔️ X ✔️
Python ✔️ ✔️ ✔️ ✔️ ● ✔️
Ruby ✔️ ✔️ ✔️ ✔️ △
Shell script ✔️ ✔️ ✔️ ✔️ △
詳細はURLをご参照ください。 https://docs.aws.amazon.com/ja_jp/cloud9/latest/user-guide/language-support.html
48
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
価格
Managed EC2
IDEは無料
コードの実行と保存に使用される コンピューティング
およびストレージリソース (EC2 インスタンス、 EBS
ボリュームなど) に対してのみ料金が発生
Own Linux Server (SSH)
IDEは無料
49
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
まとめ
• AWS Cloud9を利用するメリット
• チーム開発環境の構築が容易
• チームコラボレーションが容易
• サーバーレス開発が容易
• AWSサービスに直接アクセス可能なターミナル
• AWS Cloud9を活用したクラウド ネイティブな
チーム開発をぜひ体験してください!
50
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
オンラインセミナー
AWS オンラインセミナースケジュール
https://amzn.to/JPWebinar
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
公式Twitter/Facebook
AWSの最新情報をお届けします
@awscloud_jp
検索
最新技術情報、イベント情報、お役立ち情報、
お得なキャンペーン情報などを日々更新しています!
もしくは
http://on.fb.me/1vR8yWm
52
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWSの導入、お問い合わせのご相談
AWSクラウド導入に関するご質問、お見積、資料請求をご希望のお客様は以下
のリンクよりお気軽にご相談下さい。
https://aws.amazon.com/jp/contact-us/aws-sales/
※「AWS 問い合わせ」で検索して下さい。
53
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Well Architected 個別技術相談会お知らせ
• Well Architectedフレームワークに基づく数十個の質問項目を元に、お客様が
AWS上で構築するシステムに潜むリスクやその回避方法をお伝えする個別相
談会です。
https://pages.awscloud.com/well-architected-consulting-jp.html
• 参加無料
• 毎週火曜・木曜開催
54

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

20190226 AWS Black Belt Online Seminar Amazon WorkSpaces
20190226 AWS Black Belt Online Seminar Amazon WorkSpaces20190226 AWS Black Belt Online Seminar Amazon WorkSpaces
20190226 AWS Black Belt Online Seminar Amazon WorkSpaces
 
20190319 AWS Black Belt Online Seminar Amazon FSx for Windows Server
20190319 AWS Black Belt Online Seminar Amazon FSx for Windows Server20190319 AWS Black Belt Online Seminar Amazon FSx for Windows Server
20190319 AWS Black Belt Online Seminar Amazon FSx for Windows Server
 
20200422 AWS Black Belt Online Seminar Amazon Elastic Container Service (Amaz...
20200422 AWS Black Belt Online Seminar Amazon Elastic Container Service (Amaz...20200422 AWS Black Belt Online Seminar Amazon Elastic Container Service (Amaz...
20200422 AWS Black Belt Online Seminar Amazon Elastic Container Service (Amaz...
 
20200526 AWS Black Belt Online Seminar AWS X-Ray
20200526 AWS Black Belt Online Seminar AWS X-Ray20200526 AWS Black Belt Online Seminar AWS X-Ray
20200526 AWS Black Belt Online Seminar AWS X-Ray
 
AWS Black Belt online seminar 2017 Snowball
AWS Black Belt online seminar 2017 SnowballAWS Black Belt online seminar 2017 Snowball
AWS Black Belt online seminar 2017 Snowball
 
20200623 AWS Black Belt Online Seminar Amazon Elasticsearch Service
20200623 AWS Black Belt Online Seminar Amazon Elasticsearch Service20200623 AWS Black Belt Online Seminar Amazon Elasticsearch Service
20200623 AWS Black Belt Online Seminar Amazon Elasticsearch Service
 
20190326 AWS Black Belt Online Seminar Amazon CloudWatch
20190326 AWS Black Belt Online Seminar Amazon CloudWatch20190326 AWS Black Belt Online Seminar Amazon CloudWatch
20190326 AWS Black Belt Online Seminar Amazon CloudWatch
 
20210126 AWS Black Belt Online Seminar AWS CodeDeploy
20210126 AWS Black Belt Online Seminar AWS CodeDeploy20210126 AWS Black Belt Online Seminar AWS CodeDeploy
20210126 AWS Black Belt Online Seminar AWS CodeDeploy
 
20200722 AWS Black Belt Online Seminar AWSアカウント シングルサインオンの設計と運用
20200722 AWS Black Belt Online Seminar AWSアカウント シングルサインオンの設計と運用20200722 AWS Black Belt Online Seminar AWSアカウント シングルサインオンの設計と運用
20200722 AWS Black Belt Online Seminar AWSアカウント シングルサインオンの設計と運用
 
AWS Black Belt Online Seminar 2017 AWSにおけるアプリ認証パターンのご紹介
AWS Black Belt Online Seminar 2017 AWSにおけるアプリ認証パターンのご紹介AWS Black Belt Online Seminar 2017 AWSにおけるアプリ認証パターンのご紹介
AWS Black Belt Online Seminar 2017 AWSにおけるアプリ認証パターンのご紹介
 
20200811 AWS Black Belt Online Seminar CloudEndure
20200811 AWS Black Belt Online Seminar CloudEndure20200811 AWS Black Belt Online Seminar CloudEndure
20200811 AWS Black Belt Online Seminar CloudEndure
 
20190514 AWS Black Belt Online Seminar Amazon API Gateway
20190514 AWS Black Belt Online Seminar Amazon API Gateway 20190514 AWS Black Belt Online Seminar Amazon API Gateway
20190514 AWS Black Belt Online Seminar Amazon API Gateway
 
20180322 AWS Black Belt Online Seminar AWS Snowball Edge
20180322 AWS Black Belt Online Seminar AWS Snowball Edge20180322 AWS Black Belt Online Seminar AWS Snowball Edge
20180322 AWS Black Belt Online Seminar AWS Snowball Edge
 
20191002 AWS Black Belt Online Seminar Amazon EC2 Auto Scaling and AWS Auto S...
20191002 AWS Black Belt Online Seminar Amazon EC2 Auto Scaling and AWS Auto S...20191002 AWS Black Belt Online Seminar Amazon EC2 Auto Scaling and AWS Auto S...
20191002 AWS Black Belt Online Seminar Amazon EC2 Auto Scaling and AWS Auto S...
 
20191016 AWS Black Belt Online Seminar Amazon Route 53 Resolver
20191016 AWS Black Belt Online Seminar Amazon Route 53 Resolver20191016 AWS Black Belt Online Seminar Amazon Route 53 Resolver
20191016 AWS Black Belt Online Seminar Amazon Route 53 Resolver
 
SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介
SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介
SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介
 
AWS Black Belt Online Seminar 2017 AWS Elastic Beanstalk
AWS Black Belt Online Seminar 2017 AWS Elastic BeanstalkAWS Black Belt Online Seminar 2017 AWS Elastic Beanstalk
AWS Black Belt Online Seminar 2017 AWS Elastic Beanstalk
 
AWS Black Belt Online Seminar 2017 AWS Storage Gateway
AWS Black Belt Online Seminar 2017 AWS Storage GatewayAWS Black Belt Online Seminar 2017 AWS Storage Gateway
AWS Black Belt Online Seminar 2017 AWS Storage Gateway
 
20170621 aws-black belt-ads-sms
20170621 aws-black belt-ads-sms20170621 aws-black belt-ads-sms
20170621 aws-black belt-ads-sms
 
20210119 AWS Black Belt Online Seminar AWS CloudTrail
20210119 AWS Black Belt Online Seminar AWS CloudTrail20210119 AWS Black Belt Online Seminar AWS CloudTrail
20210119 AWS Black Belt Online Seminar AWS CloudTrail
 

Ähnlich wie 20180613 AWS Black Belt Online Seminar AWS Cloud9 入門

Ähnlich wie 20180613 AWS Black Belt Online Seminar AWS Cloud9 入門 (20)

Gaming cicd-pipeline gaming-technight-2
Gaming cicd-pipeline gaming-technight-2Gaming cicd-pipeline gaming-technight-2
Gaming cicd-pipeline gaming-technight-2
 
[最新版は別にございます! Descriptionをご確認ください] AWS Black Belt Online Seminar AWS re:Inven...
[最新版は別にございます! Descriptionをご確認ください] AWS Black Belt Online Seminar AWS re:Inven...[最新版は別にございます! Descriptionをご確認ください] AWS Black Belt Online Seminar AWS re:Inven...
[最新版は別にございます! Descriptionをご確認ください] AWS Black Belt Online Seminar AWS re:Inven...
 
[最新版(12/5 最新版) が別にございます! Descriptionをご確認ください] AWS Black Belt Online Seminar A...
[最新版(12/5 最新版) が別にございます! Descriptionをご確認ください] AWS Black Belt Online Seminar A...[最新版(12/5 最新版) が別にございます! Descriptionをご確認ください] AWS Black Belt Online Seminar A...
[最新版(12/5 最新版) が別にございます! Descriptionをご確認ください] AWS Black Belt Online Seminar A...
 
【12/5 最新版】AWS Black Belt Online Seminar AWS re:Invent 2018 アップデート情報
【12/5 最新版】AWS Black Belt Online Seminar AWS re:Invent 2018 アップデート情報【12/5 最新版】AWS Black Belt Online Seminar AWS re:Invent 2018 アップデート情報
【12/5 最新版】AWS Black Belt Online Seminar AWS re:Invent 2018 アップデート情報
 
(AWS DevOps祭り 2018) AWS Management Toolsサービスアプデートのご紹介
(AWS DevOps祭り 2018) AWS Management Toolsサービスアプデートのご紹介(AWS DevOps祭り 2018) AWS Management Toolsサービスアプデートのご紹介
(AWS DevOps祭り 2018) AWS Management Toolsサービスアプデートのご紹介
 
AWS Black Belt Online Seminar 2018 AWS Well-Architected Framework
AWS Black Belt Online Seminar 2018 AWS Well-Architected FrameworkAWS Black Belt Online Seminar 2018 AWS Well-Architected Framework
AWS Black Belt Online Seminar 2018 AWS Well-Architected Framework
 
20180221 AWS Black Belt Online Seminar AWS Lambda@Edge
20180221 AWS Black Belt Online Seminar AWS Lambda@Edge20180221 AWS Black Belt Online Seminar AWS Lambda@Edge
20180221 AWS Black Belt Online Seminar AWS Lambda@Edge
 
Cloud9で試すAWS IoT Greengrass V2
Cloud9で試すAWS IoT Greengrass V2Cloud9で試すAWS IoT Greengrass V2
Cloud9で試すAWS IoT Greengrass V2
 
20190130 AWS Well-Architectedの活用方法とレビューの進め方をお伝えしていきたい
20190130 AWS Well-Architectedの活用方法とレビューの進め方をお伝えしていきたい20190130 AWS Well-Architectedの活用方法とレビューの進め方をお伝えしていきたい
20190130 AWS Well-Architectedの活用方法とレビューの進め方をお伝えしていきたい
 
AWSのインフラはプログラミングコードで構築!AWS Cloud Development Kit 入門
AWSのインフラはプログラミングコードで構築!AWS Cloud Development Kit 入門AWSのインフラはプログラミングコードで構築!AWS Cloud Development Kit 入門
AWSのインフラはプログラミングコードで構築!AWS Cloud Development Kit 入門
 
20190410 AWS Black Belt Online Seminar Amazon Elastic Container Service for K...
20190410 AWS Black Belt Online Seminar Amazon Elastic Container Service for K...20190410 AWS Black Belt Online Seminar Amazon Elastic Container Service for K...
20190410 AWS Black Belt Online Seminar Amazon Elastic Container Service for K...
 
IVS CTO Night And Day 2018 Winter - AWS Well-Architected Framework
IVS CTO Night And Day 2018 Winter - AWS Well-Architected Framework IVS CTO Night And Day 2018 Winter - AWS Well-Architected Framework
IVS CTO Night And Day 2018 Winter - AWS Well-Architected Framework
 
Introduction to New CloudWatch Agent
Introduction to New CloudWatch AgentIntroduction to New CloudWatch Agent
Introduction to New CloudWatch Agent
 
KDDIにおけるAWS×アジャイル開発
KDDIにおけるAWS×アジャイル開発KDDIにおけるAWS×アジャイル開発
KDDIにおけるAWS×アジャイル開発
 
Innovation and Startups Today
Innovation and Startups TodayInnovation and Startups Today
Innovation and Startups Today
 
Migration to AWS part2
Migration to AWS part2Migration to AWS part2
Migration to AWS part2
 
【IVS CTO Night & Day】AWS re:Invent 2017 振り返り
【IVS CTO Night & Day】AWS re:Invent 2017 振り返り【IVS CTO Night & Day】AWS re:Invent 2017 振り返り
【IVS CTO Night & Day】AWS re:Invent 2017 振り返り
 
[AWS Developers Meetup 2017] Developerのための ライブAWSウォークスルー 〜 AWS SDKの使い方 〜
[AWS Developers Meetup 2017] DeveloperのためのライブAWSウォークスルー 〜 AWS SDKの使い方 〜[AWS Developers Meetup 2017] DeveloperのためのライブAWSウォークスルー 〜 AWS SDKの使い方 〜
[AWS Developers Meetup 2017] Developerのための ライブAWSウォークスルー 〜 AWS SDKの使い方 〜
 
AWS Black Belt Online Seminar AWS Amplify
AWS Black Belt Online Seminar AWS AmplifyAWS Black Belt Online Seminar AWS Amplify
AWS Black Belt Online Seminar AWS Amplify
 
AWS All Stars ~Lightning Talks x 13~
AWS All Stars ~Lightning Talks x 13~AWS All Stars ~Lightning Talks x 13~
AWS All Stars ~Lightning Talks x 13~
 

Mehr von Amazon Web Services Japan

Mehr von Amazon Web Services Japan (20)

202205 AWS Black Belt Online Seminar Amazon VPC IP Address Manager (IPAM)
202205 AWS Black Belt Online Seminar Amazon VPC IP Address Manager (IPAM)202205 AWS Black Belt Online Seminar Amazon VPC IP Address Manager (IPAM)
202205 AWS Black Belt Online Seminar Amazon VPC IP Address Manager (IPAM)
 
202205 AWS Black Belt Online Seminar Amazon FSx for OpenZFS
202205 AWS Black Belt Online Seminar Amazon FSx for OpenZFS202205 AWS Black Belt Online Seminar Amazon FSx for OpenZFS
202205 AWS Black Belt Online Seminar Amazon FSx for OpenZFS
 
202204 AWS Black Belt Online Seminar AWS IoT Device Defender
202204 AWS Black Belt Online Seminar AWS IoT Device Defender202204 AWS Black Belt Online Seminar AWS IoT Device Defender
202204 AWS Black Belt Online Seminar AWS IoT Device Defender
 
Infrastructure as Code (IaC) 談義 2022
Infrastructure as Code (IaC) 談義 2022Infrastructure as Code (IaC) 談義 2022
Infrastructure as Code (IaC) 談義 2022
 
202204 AWS Black Belt Online Seminar Amazon Connect を活用したオンコール対応の実現
202204 AWS Black Belt Online Seminar Amazon Connect を活用したオンコール対応の実現202204 AWS Black Belt Online Seminar Amazon Connect を活用したオンコール対応の実現
202204 AWS Black Belt Online Seminar Amazon Connect を活用したオンコール対応の実現
 
202204 AWS Black Belt Online Seminar Amazon Connect Salesforce連携(第1回 CTI Adap...
202204 AWS Black Belt Online Seminar Amazon Connect Salesforce連携(第1回 CTI Adap...202204 AWS Black Belt Online Seminar Amazon Connect Salesforce連携(第1回 CTI Adap...
202204 AWS Black Belt Online Seminar Amazon Connect Salesforce連携(第1回 CTI Adap...
 
Amazon Game Tech Night #25 ゲーム業界向け機械学習最新状況アップデート
Amazon Game Tech Night #25 ゲーム業界向け機械学習最新状況アップデートAmazon Game Tech Night #25 ゲーム業界向け機械学習最新状況アップデート
Amazon Game Tech Night #25 ゲーム業界向け機械学習最新状況アップデート
 
20220409 AWS BLEA 開発にあたって検討したこと
20220409 AWS BLEA 開発にあたって検討したこと20220409 AWS BLEA 開発にあたって検討したこと
20220409 AWS BLEA 開発にあたって検討したこと
 
202202 AWS Black Belt Online Seminar AWS Managed Rules for AWS WAF の活用
202202 AWS Black Belt Online Seminar AWS Managed Rules for AWS WAF の活用202202 AWS Black Belt Online Seminar AWS Managed Rules for AWS WAF の活用
202202 AWS Black Belt Online Seminar AWS Managed Rules for AWS WAF の活用
 
202203 AWS Black Belt Online Seminar Amazon Connect Tasks.pdf
202203 AWS Black Belt Online Seminar Amazon Connect Tasks.pdf202203 AWS Black Belt Online Seminar Amazon Connect Tasks.pdf
202203 AWS Black Belt Online Seminar Amazon Connect Tasks.pdf
 
Amazon QuickSight の組み込み方法をちょっぴりDD
Amazon QuickSight の組み込み方法をちょっぴりDDAmazon QuickSight の組み込み方法をちょっぴりDD
Amazon QuickSight の組み込み方法をちょっぴりDD
 
マルチテナント化で知っておきたいデータベースのこと
マルチテナント化で知っておきたいデータベースのことマルチテナント化で知っておきたいデータベースのこと
マルチテナント化で知っておきたいデータベースのこと
 
機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ
機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ
機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ
 
パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介
パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介
パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介
 
202202 AWS Black Belt Online Seminar Amazon Connect Customer Profiles
202202 AWS Black Belt Online Seminar Amazon Connect Customer Profiles202202 AWS Black Belt Online Seminar Amazon Connect Customer Profiles
202202 AWS Black Belt Online Seminar Amazon Connect Customer Profiles
 
Amazon Game Tech Night #24 KPIダッシュボードを最速で用意するために
Amazon Game Tech Night #24 KPIダッシュボードを最速で用意するためにAmazon Game Tech Night #24 KPIダッシュボードを最速で用意するために
Amazon Game Tech Night #24 KPIダッシュボードを最速で用意するために
 
202202 AWS Black Belt Online Seminar AWS SaaS Boost で始めるSaaS開発⼊⾨
202202 AWS Black Belt Online Seminar AWS SaaS Boost で始めるSaaS開発⼊⾨202202 AWS Black Belt Online Seminar AWS SaaS Boost で始めるSaaS開発⼊⾨
202202 AWS Black Belt Online Seminar AWS SaaS Boost で始めるSaaS開発⼊⾨
 
[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介
[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介
[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介
 
202111 AWS Black Belt Online Seminar AWSで構築するSmart Mirrorのご紹介
202111 AWS Black Belt Online Seminar AWSで構築するSmart Mirrorのご紹介202111 AWS Black Belt Online Seminar AWSで構築するSmart Mirrorのご紹介
202111 AWS Black Belt Online Seminar AWSで構築するSmart Mirrorのご紹介
 
202201 AWS Black Belt Online Seminar Apache Spark Performnace Tuning for AWS ...
202201 AWS Black Belt Online Seminar Apache Spark Performnace Tuning for AWS ...202201 AWS Black Belt Online Seminar Apache Spark Performnace Tuning for AWS ...
202201 AWS Black Belt Online Seminar Apache Spark Performnace Tuning for AWS ...
 

Kürzlich hochgeladen

Kürzlich hochgeladen (11)

LoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアルLoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
 
新人研修 後半 2024/04/26の勉強会で発表されたものです。
新人研修 後半        2024/04/26の勉強会で発表されたものです。新人研修 後半        2024/04/26の勉強会で発表されたものです。
新人研修 後半 2024/04/26の勉強会で発表されたものです。
 
Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。
 
LoRaWANスマート距離検出センサー DS20L カタログ LiDARデバイス
LoRaWANスマート距離検出センサー  DS20L  カタログ  LiDARデバイスLoRaWANスマート距離検出センサー  DS20L  カタログ  LiDARデバイス
LoRaWANスマート距離検出センサー DS20L カタログ LiDARデバイス
 
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
 
論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...
論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...
論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...
 
論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games
論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games
論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games
 
知識ゼロの営業マンでもできた!超速で初心者を脱する、悪魔的学習ステップ3選.pptx
知識ゼロの営業マンでもできた!超速で初心者を脱する、悪魔的学習ステップ3選.pptx知識ゼロの営業マンでもできた!超速で初心者を脱する、悪魔的学習ステップ3選.pptx
知識ゼロの営業マンでもできた!超速で初心者を脱する、悪魔的学習ステップ3選.pptx
 
Utilizing Ballerina for Cloud Native Integrations
Utilizing Ballerina for Cloud Native IntegrationsUtilizing Ballerina for Cloud Native Integrations
Utilizing Ballerina for Cloud Native Integrations
 
Observabilityは従来型の監視と何が違うのか(キンドリルジャパン社内勉強会:2022年10月27日発表)
Observabilityは従来型の監視と何が違うのか(キンドリルジャパン社内勉強会:2022年10月27日発表)Observabilityは従来型の監視と何が違うのか(キンドリルジャパン社内勉強会:2022年10月27日発表)
Observabilityは従来型の監視と何が違うのか(キンドリルジャパン社内勉強会:2022年10月27日発表)
 
論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding
論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding
論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding
 

20180613 AWS Black Belt Online Seminar AWS Cloud9 入門

  • 1. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. アマゾン ウェブ サービス ジャパン株式会社 DevOps スペシャリスト ソリューションアーキテクト 福井 厚 2018.06.13 【AWS Black Belt Online Seminar】 AWS Cloud9 入門
  • 2. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 自己紹介 名前  福井 厚(ふくい あつし) fatsushi@ 所属  アマゾン ウェブ サービス ジャパン株式会社  技術統括本部レディネスソリューション部  ソリューション アーキテクト Dev&Opsスペシャリスト 前職  エンタープライズ アプリケーション開発コンサルタント 好きなAWSサービス  AWS Code シリーズ、AWS Cloud9、Amazon ECS/Fargate/EKS、AWS Lambda 2
  • 3. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 内容についての注意点 • 本資料では2018年6月13日時点のサービス内容および価格についてご説明しています。最新の情報は AWS公式ウェブサイト(http://aws.amazon.com)にてご確認ください。 • 資料作成には十分注意しておりますが、資料内の価格とAWS公式ウェブサイト記載の価格に相違が あった場合、AWS公式ウェブサイトの価格を優先とさせていただきます。 • 価格は税抜表記となっています。日本居住者のお客様が東京リージョンを使用する場合、別途消費 税をご請求させていただきます。 • AWS does not offer binding price quotes. AWS pricing is publicly available and is subject to change in accordance with the AWS Customer Agreement available at http://aws.amazon.com/agreement/. Any pricing information included in this document is provided only as an estimate of usage charges for AWS services based on certain information that you have provided. Monthly charges will be based on your actual use of AWS services, and may vary from the estimates provided. 3
  • 4. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Agenda ソフトウェア開発の3つの柱 なぜ新しいIDEを開発したのか? AWS Cloud9 を始めよう Demo まとめ 4
  • 5. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ソフトウェア開発の3つの柱 Compute Amazon EC2 | AWS Fargate | Amazon ECS | AWS Lambda | … Storage Amazon Aurora | Amazon RDS | Amazon Redshift | … 100+ Services 5
  • 6. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ソフトウェア開発の3つの柱 AWS CodeCommit AWS CodeBuild AWS CodeDeploy AWS CodePipelin e AWS CodeStar 6
  • 7. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ソフトウェア開発の3つの柱 A cloud IDE for writing, running, and debugging code 7
  • 8. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. なぜ新しいIDEを開発したのか? 8
  • 9. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 1.開発者はクラウド向けのアプリを 構築しているが、開発には ローカルマシンを利用している ローカルマシンのハード ウェア/設定に依存 複数プロジェクトを掛け持 ちするのが困難 離れたロケーションで働く のが難しい 課題 9
  • 10. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 2.開発環境のセットアップが面倒 Install IDE & Plugins Configure Stack Start writing code Match environment to production 10
  • 11. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 2.開発環境のセットアップが面倒(続き) 11
  • 12. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 2.開発環境のセットアップが面倒(続き) 12
  • 13. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 3. 開発者はコードのより容易なコラボレーション の方法が必要 相手のスクリーンで レビューするのはうまく スケールしない スクリーン共有ツールは頻繁 なコンテキストのスイッチを 強いられる 13
  • 14. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 4.今のIDEはまだサーバーレスアプリケーションに 必要な機能に追いつけていない 14
  • 15. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Introducing… 15
  • 16. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ブラウザのみで 開発 16
  • 17. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 素早く新しい プロジェクトを 開始 Install IDE & Plugins Configure Stack Start writing code Match environment to production Create a new environment 17
  • 18. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. リアルタイムに 共同コーディング 18
  • 19. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. サーバーレス アプリケーション の開発を容易に 19
  • 20. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWSサービスに 直接ターミナル アクセス 20
  • 21. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Available today aws.amazon.com/cloud9
  • 22. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. US East (N. Virginia) (us-east-1) US West (Oregon) (us-west-2) Generally Available today EU (Ireland) (eu-west-1) Asia Pacific (Singapore) (ap-southeast-1) AWS Cloud9 が利用可能なリージョン US East (Ohio) (us-east-2) 22
  • 23. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Cloud9を始めよう 23
  • 24. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Cloud9のセットアップ 利用パターン セットアップの種類 AWS Cloud9をすぐに使いたい または このAWSアカウントでCloud9を利用するのは自分 ひとりだけ Express Setup AWSアカウント内の複数のユーザーでAWS Cloud9を利用する Team Setup AWSアカウント内で複数のユーザーでAWS Cloud9を利用し、コストをコントロールするために利 用を制限したい Advanced Team Setup 24
  • 25. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. まずはAWS アカウントの作成 • https://aws.amazon.com/jp/ を開く • [まずは無料で始める]を クリック • 必要な情報を入力して AWSアカウントを作成 • rootアカウントでログイン してIAMユーザーを作成 https://docs.aws.amazon.com/ja_jp/IAM/latest/UserGuide/ best-practices.html#create-iam-users 25
  • 26. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Express Setup • https://console.aws.amazon.com/cloud9/ でAWS Cloud9コ ンソールを開く(作成したIAMユーザーでAWSマネジメ ントコンソールにログイン) • リージョンを選択 • [Create Environment]をクリック • NameとDescriptionに任意の環境名と説明を入力し、 [Next Step]をクリック 26
  • 27. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Express Setup(続き) • Environment Typeに [Create a New Instance for environment(EC2)]を選択 • EC2のインスタンスタイプを選択 • コストセーブ設定の選択 • VPCの選択 • [Next Step]をクリック • レビューページで[Create environment]を選択 27
  • 28. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Team Setup • IAMグループを作成 • 作成したIAMグループにAWS Cloud9のパーミッションを付与 • AWS Cloud9 User • 自身のAWS Cloud9環境を作成可能 • 自身の環境に関する情報の取得 • 自身の環境設定の変更 • AWS Cloud9 Administrator Access 上記に加えて • 他のユーザーの環境作成 • 他のユーザーの環境情報の取得 • 環境の削除 • 他のユーザーの環境設定の変更 • IAMユーザーを作成し、IAMグループに追加 28
  • 29. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Advanced Team Setup • できることを制限し、コストを抑えることが目的 • Team Setupに加えてcustomer-managed ポリシーを作成 • 作成したcustomer-managed ポリシーをIAMグループに アタッチ • AWS Cloud9 Userグループが作成されており、対象のIAMユー ザーが追加されていることが前提 29
  • 30. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Cloud9環境構築を禁止するポリシー例 { "Version": "2012-10-17", "Statement": [ { "Effect": "Deny", “Action”: [ "cloud9:CreateEnvironmentEC2", "cloud9:CreateEnvironmentSSH” ], "Resource": "*" } ] } 30
  • 31. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. EC2環境の構築を禁止するポリシー例 { "Version": "2012-10-17", "Statement": [ { "Effect": "Deny", "Action": "cloud9:CreateEnvironmentEC2", "Resource": "*" } ] } 31
  • 32. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 特定のEC2インスタンスのみ環境の構築を許可す るポリシー例 { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "cloud9:CreateEnvironmentSSH", "cloud9:ValidateEnvironmentName", "cloud9:GetUserPublicKey", "cloud9:UpdateUserSettings", "cloud9:GetUserSettings", "iam:GetUser", "iam:ListUsers", "ec2:DescribeVpcs", "ec2:DescribeSubnets" ], "Resource": "*" }, 32
  • 33. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 特定のEC2インスタンスのみ環境の構築を許可す るポリシー例(続き) { “Effect”: “Allow”, “Action": "cloud9:CreateEnvironmentEC2", "Resource": "*", "Condition": { "StringLike": { "cloud9:InstanceType": "t2.*" } } }, { "Effect": "Allow", "Action": [ "cloud9:DescribeEnvironmentMemberships" ], "Resource": [ "*" ], "Condition": { "Null": { "cloud9:UserArn" : "true", "cloud9:EnvironmentId": "true" 33
  • 34. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 特定のEC2インスタンスのみ環境の構築を許可す るポリシー例(続き) } } }, { "Effect": "Allow", "Action": [ "iam:CreateServiceLinkedRole" ], "Resource": "*", "Condition": { "StringLike": { "iam:AWSServiceName": "cloud9.amazonaws.com" } } } ] } 34
  • 35. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. リージョンごとに1つの環境のみ作成を許可する ポリシー例 { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "cloud9:CreateEnvironmentSSH", "cloud9:ValidateEnvironmentName", "cloud9:GetUserPublicKey", "cloud9:UpdateUserSettings", "cloud9:GetUserSettings", "iam:GetUser", "iam:ListUsers", "ec2:DescribeVpcs", "ec2:DescribeSubnets" ], "Resource": "*" }, 35
  • 36. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. リージョンごとに1つの環境のみ作成を許可する ポリシー例(続き) { "Effect": "Allow", "Action": [ "cloud9:CreateEnvironmentEC2" ], "Resource": "*", "Condition": { "StringEquals": { "cloud9:EnvironmentName": "my-demo-environment" } } }, { "Effect": "Allow", "Action": [ "cloud9:DescribeEnvironmentMemberships" ], "Resource": [ "*" ], "Condition": { 36
  • 37. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. リージョンごとに1つの環境のみ作成を許可する ポリシー例(続き) "Null": { "cloud9:UserArn": "true", "cloud9:EnvironmentId": "true" } } }, { "Effect": "Allow", "Action": [ "iam:CreateServiceLinkedRole" ], "Resource": "*", "Condition": { "StringLike": { “iam:AWSServiceName": "cloud9.amazonaws.com" } } } ] } 37
  • 38. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. [参考] AWS Managed Temporary Credentials • AWS Cloud9のEC2開発環境では、呼び出したAWSアカウント が利用可能な全てのAWSリソースに対するAWSアクションを 許可する一時的なクレデンシャルを生成(但し、cloud9-で始 まるロールとのインタラクションを除くIAM系は制限され る) • Cloud9環境のIPアドレスからのリクエストに制限される • PreferencesタブのAWS Settingsで AWS managed temporary credentials をOFFにすることで無効化できる • EC2インスタンス プロファイルの設定 • 環境変数かaws configureによる永続的なクレデンシャルの設定 38
  • 39. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Demo AWS Cloud9 IDE 39
  • 40. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 40
  • 41. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Demo Serverless Apps Development 41
  • 42. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 42
  • 43. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ImportするリモートのLambdaファククションの 参照 • PreferencesタブのAWS Settings を選択し、AWS Regionを 参照したいリージョンに変更 43
  • 44. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Lambda(Python)のImport • Cloud9のローカル環境にImportした後、デバッグ実行す る前に下記を実行 • オプション1: Python関数がvenvを使わない場合 • ikpdbをテンプレートファイルと同じフォルダにインストー ルする • pip install ikpdb --target . • オプション2: venvを利用する場合 • ファンクションのvenv ディレクトリにikpdbをインストール • venv/bin/pip install ikpdb 44
  • 45. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Demo Pair Programming 45
  • 46. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 46
  • 47. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Cloud9 プレビュー機能 47 • 以下のファイルをプレビュー表示可能 • .html, .htm, .pdf, .svg, .xhtml • Markdown フォーマット • AWS Cloud9で実行中のアプリ • localhost(127.0.0.1 or 0.0.0.0) ポート 8080,8081, 8082
  • 48. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Cloud9 統合開発環境の言語サポート 言語 文法ハイライト UI実行 アウトラインビュー コードヒント、lint コード補完 デバッグ C++ ✔️ ✔️ ✔️ △ ▲ C# ✔️ ✔️ △ CoffeeScript ✔️ ✔️ CSS ✔️ ✔️ Dart ✔️ Go ✔️ ✔️ ✔️ ✔️ ▲ ▲ Haskell ✔️ HTML ✔️ ✔️ ✔️ ✔️ Java ✔️ ✔️ △ JavaScript ✔️ ✔️ ✔️ ✔️ ✔️ Node.js ✔️ ✔️ ✔️ ✔️ ✔️ ー PHP ✔️ ✔️ ✔️ ✔️ X ✔️ Python ✔️ ✔️ ✔️ ✔️ ● ✔️ Ruby ✔️ ✔️ ✔️ ✔️ △ Shell script ✔️ ✔️ ✔️ ✔️ △ 詳細はURLをご参照ください。 https://docs.aws.amazon.com/ja_jp/cloud9/latest/user-guide/language-support.html 48
  • 49. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 価格 Managed EC2 IDEは無料 コードの実行と保存に使用される コンピューティング およびストレージリソース (EC2 インスタンス、 EBS ボリュームなど) に対してのみ料金が発生 Own Linux Server (SSH) IDEは無料 49
  • 50. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. まとめ • AWS Cloud9を利用するメリット • チーム開発環境の構築が容易 • チームコラボレーションが容易 • サーバーレス開発が容易 • AWSサービスに直接アクセス可能なターミナル • AWS Cloud9を活用したクラウド ネイティブな チーム開発をぜひ体験してください! 50
  • 51. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. オンラインセミナー AWS オンラインセミナースケジュール https://amzn.to/JPWebinar
  • 52. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 公式Twitter/Facebook AWSの最新情報をお届けします @awscloud_jp 検索 最新技術情報、イベント情報、お役立ち情報、 お得なキャンペーン情報などを日々更新しています! もしくは http://on.fb.me/1vR8yWm 52
  • 53. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWSの導入、お問い合わせのご相談 AWSクラウド導入に関するご質問、お見積、資料請求をご希望のお客様は以下 のリンクよりお気軽にご相談下さい。 https://aws.amazon.com/jp/contact-us/aws-sales/ ※「AWS 問い合わせ」で検索して下さい。 53
  • 54. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Well Architected 個別技術相談会お知らせ • Well Architectedフレームワークに基づく数十個の質問項目を元に、お客様が AWS上で構築するシステムに潜むリスクやその回避方法をお伝えする個別相 談会です。 https://pages.awscloud.com/well-architected-consulting-jp.html • 参加無料 • 毎週火曜・木曜開催 54