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
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
130
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
ソフトウェアサプライチェーンの構造的リスクとコンテナ環境の保護
kyohmizu
5
760
Flutter × BLE Centralを自前Pluginで実装する設計パターン - MethodChannel / EventChannelで作る双方向ブリッジの実践 / Building Custom Flutter BLE Central Plugins: Bidirectional Bridging with Method & Event Channels
bitkey
PRO
0
200
2026-08-15 JAWS-UG 茨城 #16 Secrets ManagerにおけるSecret値の管理(Terraformの場合) / Secrets Manager Secrets
masasuzu
0
460
Oracle MCP Servers Explained
thatjeffsmith
0
350
Kiro Crew で始める マルチエージェント開発
miu_crescent
PRO
0
110
形式手法特論:Hyperproperty とモデル検査 #kernelvm / Kernel VM Study Tokyo 19th
ytaka23
0
490
RelayerというPHPのフレームワークを作った
polidog
PRO
0
100
国家プロジェクトを支える「さくらONE」 大規模LLM開発におけるGPU障害を乗り越えるクラスター運用戦略
gpuunite_official
0
190
巨大気象データと戦う ― サロゲートモデル学習を高速化する圧縮技術
gpuunite_official
0
190
作って理解するCoding Agent 〜フレームワークに頼らないピュア Python での実装〜
takapy
3
750
コーチングの奥義 何もしないテクニック
jinwatanabe
0
140
AIコーディングの次。コードレビューと理解負荷を解消して組織の開発生産性を高める
moongift
PRO
2
2.7k
Featured
See All Featured
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1.1k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.1k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
500
Building Flexible Design Systems
yeseniaperezcruz
330
40k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.2k
Ruling the World: When Life Gets Gamed
codingconduct
0
310
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
580
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
550
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.9k
Producing Creativity
orderedlist
PRO
348
40k
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を使ったファイル取得・閲覧