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
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
140
Larvel Octane を AWS Fargate で動かしてみる
tutida
2
1.3k
Laravel x Inertia.js 現代のモノリス によるお手軽 SPA 開発
tutida
4
3.9k
JAWS DAYS 2020 | サーバレスの新しいデータストアの選択肢 S3 Select の魅力
tutida
2
2.8k
180405_AWS_Deep_Night_in_Fukuoka_part2.pdf
tutida
0
170
event
tutida
0
190
[ fukuoka.php LT ] 新人のPHPExcel奮闘記
tutida
0
1k
Other Decks in Technology
See All in Technology
DevelopersIO 2026 Tokyo 現時点の衛星通信サービスの現状を整理してみる
maroon1st
0
180
AI駆動開発におけるハーネスエンジニアリングの勘所
tsukuboshi
1
510
JAWS-UGグッズ職人仕事の流儀
kentapapa
0
130
Tofu-Controller lightning talk @ Containerday 2026
gionn
0
180
S3 Filesで挑む! 八戸せんべい汁の食べ頃問題
usanchuu
0
150
顧客価値を追いかけたら、プライシングにたどり着いた
sansantech
PRO
2
460
AI駆動で「他アプリの音を加工できる」アプリを作った
satomasahiro2005
0
190
その Valkey 使いこなしていますか?
onk
PRO
5
1.9k
Steerable Visual Representations
sansantech
PRO
0
170
「私が一番顧客に詳しい」を捨てる~ 全員が一次情報に精通する開発チームをつくり、PMが次のボトルネックへ染み出すまで
kaminashi
3
1.3k
AI駆動開発における開発環境のセキュリティの考え方
yamahiro
1
360
Rustuna: Rustによる高速なOptuna実装
pfn
PRO
0
210
Featured
See All Featured
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
270
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
56k
Git: the NoSQL Database
bkeepers
PRO
433
67k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
4
4.4k
Being A Developer After 40
akosma
PRO
92
590k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
330
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
460
The Curse of the Amulet
leimatthew05
3
16k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
740
The SEO Collaboration Effect
kristinabergwall1
1
600
From π to Pie charts
rasagy
1
400
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
380
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を使ったファイル取得・閲覧