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
52
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
70
AWS演習(2)- DLAMI・Jupyter Notebook・TensorFlow
axisugiki
0
48
AWS演習(3)- GitHub・ソーシャルコーディング
axisugiki
0
29
AWS演習(4)- Docker・OSコンテナ
axisugiki
0
44
AWS演習(未実施)- Rekognition・Lambda・S3
axisugiki
0
70
AWS演習(未実施)- EMR・MapReduce
axisugiki
1
29
Other Decks in Education
See All in Education
What workforce agencies must have in place to compete for and deliver on RESTART grants
territorium
PRO
0
120
Information Architectures - Lecture 2 - Next Generation User Interfaces (4018166FNR)
signer
PRO
1
1.9k
インシデント対応
akira345
0
350
渡辺研Slackの使い方 / Slack Local Rule
kaityo256
PRO
11
11k
Leveraging LLMs for student feedback in introductory data science courses (Stats Up AI)
minecr
1
240
Adobe Express
matleenalaakso
2
8.2k
心理学を学び活用することで偉大なスクラムマスターを目指す − 大学とコミュニティを組み合わせた学びの循環 / Becoming a great Scrum Master by learning and using psychology
psj59129
1
2.1k
【ZEPメタバース校舎操作ガイド】
ainischool
0
140
栃木県警サイバーセキュリティ研修会2026
nomizone
0
360
Modelamiento Matematico (Ingresantes UNI 2026)
robintux
0
260
Surviving the surfaceless web
jonoalderson
0
740
Referendum Costituzionale Giustizia
nostradalmine
0
100
Featured
See All Featured
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
450
The SEO Collaboration Effect
kristinabergwall1
0
400
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.1k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
250
Docker and Python
trallard
47
3.8k
The Cult of Friendly URLs
andyhume
79
6.8k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.8k
Music & Morning Musume
bryan
47
7.1k
How to make the Groovebox
asonas
2
2k
Between Models and Reality
mayunak
2
240
Design in an AI World
tapps
0
180
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
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