Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
170223_aws_handson
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
tutida
March 22, 2017
Technology
150
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
170223_aws_handson
tutida
March 22, 2017
More Decks by tutida
See All by tutida
仕様の達成度とは別の軸も大事にしたい~OSEKKAI文化で作るプロジェクトの納得感~
tutida
0
120
Larvel Octane を AWS Fargate で動かしてみる
tutida
2
1.2k
Laravel x Inertia.js 現代のモノリス によるお手軽 SPA 開発
tutida
4
3.8k
JAWS DAYS 2020 | サーバレスの新しいデータストアの選択肢 S3 Select の魅力
tutida
2
2.7k
180405_AWS_Deep_Night_in_Fukuoka_part2.pdf
tutida
0
160
event
tutida
0
190
[ fukuoka.php LT ] 新人のPHPExcel奮闘記
tutida
0
1k
Other Decks in Technology
See All in Technology
iOS/Androidの二刀流エンジニアがFlutter & TypeScriptへ越境後の現在地 - Flutterがメインになって見えた景色と現在の醍醐味 / Dual-Platform Mobile Engineer Shifts to Flutter & TypeScript - The View and Real Thrill of Going Flutter-First
bitkey
PRO
0
100
「待ち時間」の消滅と「自我消耗」の加速:生成AI時代のエンジニアを救うメンタル・リソース管理
poropinai1966
0
200
データ活用研修 データマネジメント【MIXI 26新卒技術研修】
mixi_engineers
PRO
4
470
AI時代こそ、スケールしないことをしよう -「作る人」から「なぜ作るか」を考える人へ / Do Things That Don't Scale in the AI Era — From How to Why
kaminashi
1
160
Playwright × AI Agent でE2Eテストはどう変わるか AI駆動テストの可能性と実用検証の結果
taiga7543
2
880
GoでCコンパイラを作った話
repunit
0
170
『モデル + ハーネス』で読み解く AIエージェント入門
oracle4engineer
PRO
2
200
複数プロダクトで進めるAI機能実装 ── 実践から得たリアルな学びとロードマップ実現への挑戦 / AICon2026_yanari
rakus_dev
1
310
データベース研修【MIXI 26新卒技術研修】
mixi_engineers
PRO
1
340
論語・武士道・産業革命から見る かわるもの、かわらないもの
ichimichi
8
1.2k
AI研修(Day1)【MIXI 26新卒技術研修】
mixi_engineers
PRO
1
1.3k
Webの技術とガジェットで子どもも大人も楽しめるワクワク体験を提供する / Qiita Tech Festa Day 2026
you
PRO
1
290
Featured
See All Featured
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.7k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.3k
Speed Design
sergeychernyshev
33
1.9k
VelocityConf: Rendering Performance Case Studies
addyosmani
333
25k
Building an army of robots
kneath
306
46k
Heart Work Chapter 1 - Part 1
lfama
PRO
8
36k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
620
Balancing Empowerment & Direction
lara
6
1.2k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
330
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Into the Great Unknown - MozCon
thekraken
41
2.6k
Transcript
2017/03/23 ハンズオン
本日のハンズオン ① 仮想サーバにSSH接続 ② AmazonS3を使ったファイル取得・閲覧 2
① 仮想サーバにSSH接続 1. VPC, Subet, Internet Gatewayの設置 1. VPCの作成 2.
Subnetの作成 3. Internet GatewayをVPCに設置 4. VPCのルートテーブルにInternet Gatewayを追加 2. EC2インスタンス(仮想サーバ)の起動 1. AMIでAmazon Linux, t2.micro を選択 2. VPC,Subnetを選択・「自動割り当てパブリックIP」を有効 3. 細かい設定はデフォルトのまま進める 4. Key Pairを新規に作成しローカルにダウンロード 3. EC2インスタンスへSSH接続 1. 割り当てられたIPアドレスの確認 2. ダウンロードしたKey PairとIPアドレスを使ってSSH接続 1. ユーザは”ec2-user” 参考リンク:http://dev.classmethod.jp/cloud/aws/aws-beginner-ec2-ssh/ 3
① 仮想サーバにSSH接続 1.VPC, Subnet, Internet Gatewayの設置 4
① 仮想サーバにSSH接続 1.VPC, Subnet, Internet Gatewayの設置 VPCの作成 5
① 仮想サーバにSSH接続 1.VPC, Subnet, Internet Gatewayの設置 Subnetの作成 6
① 仮想サーバにSSH接続 1.VPC, Subnet, Internet Gatewayの設置 Internet GatewayをVPCに設置 7
① 仮想サーバにSSH接続 1.VPC, Subnet, Internet Gatewayの設置 VPCのルートテーブルにInternet Gatewayを追加 8
① 仮想サーバにSSH接続 2.EC2インスタンス(仮想サーバ)の起動 9
① 仮想サーバにSSH接続 2.EC2インスタンス(仮想サーバ)の起動 AMIでAmazon Linux, t2.micro を選択 10
① 仮想サーバにSSH接続 2.EC2インスタンス(仮想サーバ)の起動 VPC,Subnetを選択・「自動割り当てパブリックIP」を有効 11
① 仮想サーバにSSH接続 2.EC2インスタンス(仮想サーバ)の起動 細かい設定はデフォルトのまま進める 12
① 仮想サーバにSSH接続 2.EC2インスタンス(仮想サーバ)の起動 Key Pairを新規に作成しローカルにダウンロード 13
① 仮想サーバにSSH接続 2.EC2インスタンス(仮想サーバ)の起動 14
① 仮想サーバにSSH接続 3.EC2インスタンスへSSH接続 15
① 仮想サーバにSSH接続 3.EC2インスタンスへSSH接続 割り当てられたIPアドレスの確認 16
① 仮想サーバにSSH接続 3.EC2インスタンスへSSH接続 ダウンロードしたKey PairとIPアドレスを使ってSSH接続 ユーザは”ec2-user”としてログイン 参考リンク:http://dev.classmethod.jp/cloud/aws/aws-beginner-ec2-ssh/ ・Macの方はTerminal ・Windowsの方はTera Termなど
17
② AmazonS3を使ったファイル取得・閲覧 1. S3 Bucketの作成 1. 好きな名前でBucketを作成(AWS上で一意な名前の必要あり) 2. 静的Webサイトホスティングの設定 1.
タブ「プロパティ」 > “ Static website hosting ” > “このバケットを使用してウェブサイトをホストする” > インデックスドキュメント “index.html” 2. タブ「アクセス権限」 > バケットポリシー 3. Bucket内部のアクセスしたいオブジェクト「リンク」をクリック 18 { "Version": "2012-10-17", "Statement": [ { "Sid": "PublicReadForGetBucketObjects", "Effect": "Allow", "Principal": "*", "Action": [ "s3:GetObject" ], "Resource": [ “arn:aws:s3:::バケット名/*" ] } ] }
1.S3 Bucketの作成 19 ② AmazonS3を使ったファイル取得・閲覧
1.S3 Bucketの作成 20 ② AmazonS3を使ったファイル取得・閲覧
1.S3 Bucketの作成 ”index.html”という名前のファイルを以下の内容で作成して、 S3にアップロードしてみましょう 21 ② AmazonS3を使ったファイル取得・閲覧 Index.html <!DOCTYPE html>
<html> <head> <meta charset="UTF-8"> <title>S3 Sample</title> </head> <body> <p>S3 Sample</p> </body> </html>
2. 静的Webサイトホスティングの設定 1. タブ「プロパティ」 > “ Static website hosting ”
> “このバケットを使用してウェブサイトをホストする” > インデックスドキュメント “index.html 22 ② AmazonS3を使ったファイル取得・閲覧
2. 静的Webサイトホスティングの設定 2. タブ「アクセス権限」 > バケットポリシー { "Version": "2012-10-17", "Statement":
[ { "Sid": "PublicReadForGetBucketObjects", "Effect": "Allow", "Principal": "*", "Action": [ "s3:GetObject" ], "Resource": [ “arn:aws:s3:::バケット名/*" ] } ] } 23 ② AmazonS3を使ったファイル取得・閲覧
2. 静的Webサイトホスティングの設定 3. Bucket内部のアクセスしたいオブジェクト「リンク」をクリック 24 ② AmazonS3を使ったファイル取得・閲覧