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
AWS演習_未7.pdf
Search
axi-sugiki
February 05, 2019
Education
0
49
AWS演習_未7.pdf
授業の演習で使用した資料です.一コマの演習,また2年生を対象とした演習で,1年生では専門教育を行わず,2年生から学部・学科に配属されるため,この辺りに水準を合わせています.
axi-sugiki
February 05, 2019
Tweet
Share
More Decks by axi-sugiki
See All by axi-sugiki
AWS演習(1)- EC2インスタンスの作成
axisugiki
0
66
AWS演習(2)- DLAMI・Jupyter Notebook・TensorFlow
axisugiki
0
45
AWS演習(3)- GitHub・ソーシャルコーディング
axisugiki
0
25
AWS演習(4)- Docker・OSコンテナ
axisugiki
0
41
AWS演習(未実施)- Rekognition・Lambda・S3
axisugiki
0
68
AWS演習(未実施)- EMR・MapReduce
axisugiki
1
27
Other Decks in Education
See All in Education
アントレプレナーシップ教育 ~ 自分で自分の幸せを決めるために ~
yoshizaki
0
170
OpenSourceSummitJapanを運営してみた話
kujiraitakahiro
0
790
OJTに夢を見すぎていませんか? ロールプレイ研修の試行錯誤/tryanderror-in-roleplaying-training
takipone
1
220
Alumnote inc. Company Deck
yukinumata
0
2k
AI for Learning
fonylew
0
180
2025年度春学期 統計学 第12回 分布の平均を推測する ー 区間推定 (2025. 6. 26)
akiraasano
PRO
0
160
American Airlines® USA Contact Numbers: The Ultimate 2025 Guide
lievliev
0
250
日本の情報系社会人院生のリアル -JAIST 修士編-
yurikomium
1
120
Ch1_-_Partie_1.pdf
bernhardsvt
0
250
Linuxのよく使うコマンドを解説
mickey_kubo
1
270
~キャラ付け考えていますか?~ AI時代だからこそ技術者に求められるセルフブランディングのすゝめ
masakiokuda
7
470
サンキッズゾーン 春日井駅前 ご案内
sanyohomes
0
940
Featured
See All Featured
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Music & Morning Musume
bryan
46
6.8k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Why Our Code Smells
bkeepers
PRO
339
57k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
6k
Balancing Empowerment & Direction
lara
3
620
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.1k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
Testing 201, or: Great Expectations
jmmastey
45
7.7k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
15k
Transcript
AWS VPCEC2 axi-sugiki
*,2 .+ ◦ EC2!!2&61;73%)4 ◦ 91:EC2!! 1&.#' ◦ EC2!!AWS!"#'
◦ Tera Term (/;!" !! 084 ◦ 92:EC2!! 2&.#' ◦ EC2!!AWS!"#' ◦ Tera Term (/;!" !! 084 ◦ 93:73%)519ELB:#' 2 *,2 $- " #'
3 Internet Gateway ELB (Elastic Load Balancing) VPC
(Virtual Private Cloud) EC2 EC2 Web Subnet (1a) 10.0.0.0/24 Web Subnet (1c) 10.0.1.0/24 Availability Zone 1a (ap-northeast-1a) Availability Zone 1c (ap-northeast-1c) Web Route Table Web Security Group (HTTP,HTTPS,SSH)
DOA]VPC?N ◦ =GUY')-5?N \ VPCWHKV \ PM ◦ VPC
(Virtual Private Cloud) ◦ >LRSCJP"7 /VPC ?N ◦ ***FD?N ◦ &20,. ◦ E8<(6;Q3718-*<;Z1a1c[\ 2 0,.:<"&20,.?N ◦ Web Subnet (1a) - 10.0.0.0/24\3718-*<;1a ◦ Web Subnet (1c) - 10.0.1.0/24\3718-*<;1c ◦ ;+<0,.$<. !\9<-;#-<29 ◦ KV0,.:<"%;4<0;.?N ◦ *** Internet Gateway ;+<0,.X@$<. ! ◦ 9<-;#-<29ZIBT[ 4
$1IEC2-- /; ◦ 37 <E : HEC2--24 /; ◦
+.*-I0B 5+.*- ◦ &-'.IAmazon Linux AMI ◦ --$It2.micro ◦ 37 C ◦ VPCI***D= ◦ #"!IWeb SubnetF14@1aH24@1cD=G ◦ (+ ,.$I >8 Web Security Group FVPC) 2? ◦ SSH.%I14@ .%/;H24@ 12? ◦ A9 ◦ NameI&-6F).6-1a ).6-1cG 5
*( )# ◦ AMI, +% " ! ◦ &VPC
$+% 6 VPC ***+% 1 ' Web Subnet (1a) 2 ' Web Subnet (1c)+%
! ◦ % " 7
$# $#
◦ 8
Web Security Group (VPC)
Add Tags ! ◦ Name ◦
()-1a 1a! ()-1c 1c! 9
2' ◦ #&EC2 Tera Term !&Apache Web
◦ $ sudo yum install httpd –y $Apache % ◦ $ sudo systemctl start httpd.service $Apache "% 10
3$Web ◦ Emacs #Web
◦ sudo yum install emacs –y !Emacs " ◦ sudo emacs /var/www/html/index.html ! " 11 <html> <body> <h1>I have a pen.</h1> </body> </html> <html> <body> <h1>I have an apple.</h1> </body> </html> EmacsCtrl+x#Ctrl+s#Ctrl+x#Ctrl+c 1 2
!41(-+/ ◦ 2' #IPWeb "%&0 $$)., +/ 12
Web "%& #IP EC2$$ *
5/ELB! ◦ ! * ◦ AWS(&#'%.ELB,Elastic Load Balancing-
13 EC2$+ . )"
◦ 14
!$Application Load Balancer"HTTP/HTTPS# $
# ◦ ELB # ◦ !$"
15 netclouds**-elb #
! !&#)2* ◦ VPC ! &# ◦ VPC ***
◦ Web Subnet (1a)Web Subnet (1c* '" 16 VPC ***($ ($% Web Subnet (1a) Web Subnet (1c)'"
"'3( ◦ "#) Web Security Group $ 17
&* "# !%Web Security Group (VPC) $
!%4& ◦ '" 18 $(
#" %-tgroup& applepen
#'5( ◦ EC2 2$ 19 "EC22 %) !&
$
"!$6>ELB9; ◦ ELB82provisioningactive1 ◦ 7 '3.,=4):0*6 20 7/'3=EC2& & 7/9;
=4):05< active*6 =DNS-Web#%(+
7)"$#% ◦ URL& ' ( ! 21
◦ ◦ ELB ◦ EC2
2 22