Search

๋กœ์ปฌ โžก EC2 ํ”„๋กœ์ ํŠธ/๋ฐฐํฌํŒŒ์ผ ์ „์†ก

๋กœ์ปฌ EC2 ํ”„๋กœ์ ํŠธ/๋ฐฐํฌํŒŒ์ผ ์ „์†ก

๋ฐฉ๋ฒ•

1.
VSCODE SSH ์ ‘์†
a.
๋กœ์ปฌ ํŒŒ์ผ SSH ๊ฒฝ๋กœ๋กœ VS CODE ๋‚ด์—์„œ ํŒŒ์ผ ๋ณต์‚ฌ
2.
SCP

VSCODE SSH ๋‚ด์—์„œ ํŒŒ์ผ ๋ณต์‚ฌ

๋ณ„๋‹ค๋ฅธ ๋ช…๋ น์–ด ์—†์ด VS CODE ์—์„œ EC2 ๋กœ SSH ์ ‘์†์„ ํ–ˆ๋‹ค๋ฉด, ํด๋” ์—ด๊ธฐ๋ฅผ ํ•ด์„œ, ํ•ด๋‹น EC2 ๊ฒฝ๋กœ์— ํŒŒ์ผ์„ ๋กœ์ปฌ OS(windows) ์—์„œ ํŒŒ์ผ์„ ๋ณต์‚ฌํ•ด์„œ ๋ถ™์—ฌ๋„ฃ๊ธฐ ํ•˜๋ฉด ์ „์†ก๋œ๋‹ค.

SCP

scp build/libs/app.war user@your-server-ip:/์›๊ฒฉ/๊ฒฝ๋กœ/
Bash
๋ณต์‚ฌ