LAB 0. VSCode 서버 구성하기

Table of contents

  1. 1. VSCode Server 기반 실습 환경 구축 가이드
    1. 1.1. 기본 환경 준비
    2. 1.2 . 관리용 VPC 및 ALB + VSCode Server 배포

1. VSCode Server 기반 실습 환경 구축 가이드

이 문서는 Kiro CLI를 도구로 랩 환경에서 실습을 위해 필요한 도구 설치, VPC 및 클러스터 배포 과정을 안내합니다.

MAC OS , 또는 다른 환경에서 이미 Kiro CLI를 설치하였다면, 해당 챕터는 생략해도 됩니다.


1.1. 기본 환경 준비

Cloudshell에서 아래 git을 Clone하고, iam user를 생성합니다.

git clone https://github.com/whchoi98/useful-shell.git
cd ~/useful-shell/
./create_iam_user.sh

실습 환경을 위해 iam user는 admin 권한이므로 주의를 필요로 합니다 !!!


1.2 . 관리용 VPC 및 ALB + VSCode Server 배포

신규 생성된 계정과 ID로 접속해서, 다시 Cloudshell을 실행합니다.

관리용 VPC 및 ALB+VSCode 서버를 배포합니다.

# Cloudshell에서 GitHub 저장소 복제
git clone https://github.com/whchoi98/ec2_vscode.git
aws cloudformation deploy \
  --template-file "~/ec2_vscode/vscode_secure.yml" \
  --stack-name=mgmtvpc \
  --capabilities CAPABILITY_NAMED_IAM
  
~/ec2_vscode/mgmtvpc_alb1.sh
git clone https://github.com/whchoi98/ec2_vscode.git
~/ec2_vscode/vscode_pwd.sh