Untitled

8기 자율 프로젝트 AWS 클라우드 서버

  1. 제공기간: 금일 ~ 공통 프로젝트 종료 시(종료 후 7일 이내 삭제 예정)
  2. 서버 도메인: i8팀ID.p.ssafy.io
  3. 접속 방법: 제공된 인증키(.pem)를 사용하여 ubuntu 계정으로 SSH 접속
  4. 주의 사항

Windows

로컬 개발 환경에서 사용할 Docker를 설치합니다. Docker는 공식 사이트에서 다운로드 받을 수 있으며, Docker Desktop를 다운로드 받아 설치합니다.

https://www.docker.com/get-started

Ubuntu

배포 환경(AWS)에서 Docker를 사용하기 위해 설치합니다. Ubuntu에 접속하여 아래와 같이 명령어들을 차례대로 입력하여 Docker와 Docker Compose의 설치를 수행합니다.

https://www.docker.com/engine/install/ubuntu/

sudo apt-get update

sudo apt-get install \\
	apt-get-transport-https \\
	ca-certificates \\
	curl \\
	pnupg \\
	lsb-release

curl -fsSL <https://download.docker.com/linux/ubuntu/gpg> | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg

echo \\ 
"deb [arch=amd64 signed-by=/user/share/keyrings/docker-archive-keyring.gpg] <https://download.docker.com/linux/ubuntu> \\
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

sudo apt-get update

sudo apt-get install docker-ce docker-ce-cli containerd.io

sudo curl -L "<https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$>(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose

sudo chmod +x /usr/local/bin/docker-compose

Kurento 실행

명령 프롬프트나 터미널을 사용하여 Docker를 통해 Kurento 미디어 서버 Docker 이미지를 간편하게 실행할 수 있습니다. 미디어 서버의 기본 포트는 8888이며, 자세한 설치 관련 내용은 Kurento의 설치 가이드를 참고하시기 바랍니다.

https://doc-kurento.readthedocs.io/en/latest/user/installation.html

docker pull kurento/kurento-media-server:latest

docker run -d --name kms --network host \\
	kurento/kurento-media-server:latest