Search

배포과정

1.
AWS 계정생성
2.
인스턴스 생성(Amazon으로 생성)
3.
보안그룹 설정
4.
Elastic IP(탄력적 IP), VPC, DNS 설정
5.
Pem키 권한 수정 (git bash 사용) SSH 접속
Pem키 권한 수정 코드
chmod 400 "C:\Users\d9801\Downloads\Pem\NTT_Frontend.pem" 처음에 경로를 적어줄때는 경로를 쌍따옴표로 감싸줘야 한다.
JavaScript
복사
SSH 접속 코드
ssh -i <path_to_pem_file> <username>@<public_ip_address> ssh -i "C:\Users\d9801\Downloads\Pem\NTT_Frontend.pem" "ec2-user"@54.180.28.187
JavaScript
복사
접속 완료
d9801@DESKTOP-11K63LQ MINGW64 /C/Users/d9801/Downloads/Pem $ ssh -i "C:\Users\d9801\Downloads\Pem\NTT_Frontend.pem" "ec2-user"@54.180.28.187 The authenticity of host '54.180.28.187 (54.180.28.187)' can't be established. ED25519 key fingerprint is SHA256:Boq/6Av0fZJM9wrFp+8B3PzfzNbRoKvogBKLEwm/zSA. This key is not known by any other names. Are you sure you want to continue connecting (yes/no/[fingerprint])? yes Warning: Permanently added '54.180.28.187' (ED25519) to the list of known hosts. A newer release of "Amazon Linux" is available. Version 2023.0.20230614: Run "/usr/bin/dnf check-release-update" for full release and version update info , #_ ~\_ ####_ Amazon Linux 2023 ~~ \_#####\ ~~ \###| ~~ \#/ ___ https://aws.amazon.com/linux/amazon-linux-2023 ~~ V~' '-> ~~~ / ~~._. _/ _/ _/ _/m/' [ec2-user@ip-172-31-15-229 ~]$
JavaScript
복사