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
Cloud Slide P3 - Deploy Application & DataBase
Search
Panyakorn Timchantheuck
September 17, 2025
Technology
75
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Cloud Slide P3 - Deploy Application & DataBase
Panyakorn Timchantheuck
September 17, 2025
More Decks by Panyakorn Timchantheuck
See All by Panyakorn Timchantheuck
Cloud Slide P2 - Deploy App in VMware (Windows + Ubuntu)
modpanyakorn
0
40
Cloud Slide P1 - Deploy Web Application in GCP
modpanyakorn
0
41
Other Decks in Technology
See All in Technology
初海外で注意すべきこと12選!!!安全快適なre:invent生活にするために
yuuuuuuu168
1
160
しろおびから始める!ログ活用の第一歩
shumei_ito
0
950
その Valkey 使いこなしていますか?
onk
PRO
5
1.5k
LambdaWebFunctionsを試してみた / exploring-lambda-web-functions
koukihosaka
1
340
Gemini Intelligence 入門 ― AppFunctions と Gemini Nano
takuroabe
0
250
DevelopersIO 2026 知識の地図を描く ─ オントロジーとは何か?
ishikawa_satoru
1
1.7k
[JAWS-UG彩の国埼玉#12]そろそろ準備する?re:Invent2026をやさしく解説 / reinvent2026-sainokuni
sh_fk2
1
340
コンテナ運用におけるネットワーク・コンテナコストの削減方法/How to Reduce Network and Container Costs in Container Operations
masakiokuda
1
180
Optunaの最新リリースv5.0について
pfn
PRO
0
120
事業成長とデータ活用を止めないためのマネジメントへ挑戦
hiracky16
0
390
QA4AI 2026-Oct 生成AI時代の品質保証
tokuty
1
860
宣言型部分更新は何を解決しどこへ向かうのか
shuta13
1
450
Featured
See All Featured
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
63
46k
Raft: Consensus for Rubyists
vanstee
142
7.8k
The Cult of Friendly URLs
andyhume
79
7k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
570
Music & Morning Musume
bryan
48
7.4k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.6k
The browser strikes back
jonoalderson
0
1.8k
YesSQL, Process and Tooling at Scale
rocio
174
15k
Code Review Best Practice
trishagee
74
20k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
540
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
33
5.2k
Transcript
Presented by 9old DEPLOY APP & DB Explore Now 01
Contents Explore Architecture 1. VPC Network 2. Subnetwork 3. Application
Deployment 4. 02 Presented by 9old
03 Explore Architecture Presented by 9old
04 Define MongoDB port 1. Define Hosts name (private ip)
2. Presented by 9old VMs Architecture
05 Need to do this! Presented by 9old Create VPC
Network 1. Create EC2 Instances 4. Create Subnetwork 2. Create Firewall 3. Create IGW 5. Create NAT 6. Create Routing Table 7. Deploy Application 8.
“my-chatapp-vpc” 06 Create VPC Presented by 9old 10.0.0.0/16
“my-chatapp-vpc” Subnet name: public-subnet 07 Create Subnetwork Presented by 9old
IPv4 subnet: 10.0.1.0/24 Public Subnet Zone: ap-southeast-1a
“my-chatapp-vpc” Subnet name: private-subnet IPv4 subnet: 10.0.2.0/24 Zone: ap-southeast-1a 08
Create Subnetwork Presented by 9old Private Subnet
SG name: public-subnet-sg VPC: my-chatapp-vpc 09 Presented by 9old Create
Public Subnetwork Security Group (Firewall)
10 Presented by 9old Inbound Rules & Outbound Rules 80
(http) 1. 8081 (Mongo Express) 2. 22 (SSH) 3.
SG name: private-subnet-sg VPC: my-chatapp-vpc 11 Presented by 9old Create
Private Subnetwork Security Group (Firewall)
12 Presented by 9old Inbound Rules & Outbound Rules 27017
(MongoDB) 1. 22 (SSH) 2. Only “public-subnet” can access
13 Presented by 9old Create Instances (app-vm) Define VM name
1. Select OS Image 2.
14 Presented by 9old Select Instance type 3. Network setting
4. VPC: my-chatapp-vpc Firewall: public-subnet-sg
15 Presented by 9old Application Virtual Machine Allowcate Public IP
16 Presented by 9old Create Instances (db-vm) Define VM name
1. Select OS Image 2.
VPC: my-chatapp-vpc Firewall: private-subnet-sg 17 Presented by 9old Select Instance
type 3. Network setting 4.
No public ip 18 Presented by 9old DataBase Virtual Machine
19 Presented by 9old Create IGW (Internet Gateway) Create IGW
1. Select Attach to VPC 2. Attach to VPC 3. "my-chatapp-vpc"
20 Presented by 9old Create Route Table of IGW Create
Route Table 1. Add route path to IGW 2. Attach to public-subnet 3. "my-chatapp-igw" public-subnet
21 Presented by 9old Create NAT (NAT Gateway) Click Allocate
Elastic IP Create NAT in public-subnet
"my-chatapp-nat" 22 Presented by 9old Create Route Table of NAT
Create Route Table 1. Add route path to IGW 2. Attach to private-subnet 3. private-subnet
23 Presented by 9old VPC Resource Map public-subnet ⟶ Route
to IGW ⟶ Internet Gateway private-subnet ⟶ Route to NAT ⟶ Nat Gateway
24 Presented by 9old Deploy (db-vm) Git Clone 1. git
clone --branch p3 --single-branch --no-checkout https://github.com/modpanyakorn/class-cloud-computing.git \ && cd class-cloud-computing \ && git sparse-checkout init --cone \ && git sparse-checkout set db \ && git checkout p3 Clone directory “/db” from branch “p3”
Presented by 9old 25 Install Docker 2. Install Docker in
Ubuntu from: docs.docker.com/engine/install/ubuntu Deploy Container 3. Deploy MongoDB Container $ docker compose up -d
26 Presented by 9old Deploy Application (app-vm) Test DB Connection
1. $ curl db-vm-private-ip:27017 Test MongoDB connection from app-vm to db-vm Git Clone 2. Clone directory “/application” from branch “p3”
27 Presented by 9old Define Private IP 3. docker-compose.yml and
.env $ nano docker-compose.yml $ nano server/.env
Presented by 9old 28 Deploy Container 5. Deploy Application Containers
$ docker compose up -d Install Docker 4. Install Docker in Ubuntu from: docs.docker.com/engine/install/ubuntu
29 Open Web Page Presented by 9old
30 Open Web Page Presented by 9old Open Mongo Express
app-vm-public-ip:8081
31 Presented by 9old 😊 Dev: “ก็แค่เปิด EC2 เครื่องเดียวพอ” 😎
Cloud Engineer: “งั้นผมขอทำ VPC, Subnet, NAT Gateway, Route Table, SG, IAM Role, Auto Scaling Group, CloudWatch, ALB, WAF...” 😑 Dev: ....... THANK YOU