You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 15, 2025. It is now read-only.
sudo curl -L https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
// 설치 확인
sudo docker-compose --version
sudo 없이 docker & docker compose 실행하기
// docker 그룹이 존재하는지 확인
getent group docker
// 그룹이 존재하지 않으면
sudo groupadd docker
// 현재 사용자를 docker 그룹에 추가
sudo usermod -aG docker $USER
// 안먹히면 명시적으로 사용자 이름 작성
sudo usermod -aG docker ubuntu
// 콘솔 or 터미널 재시작
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
AWS 배포를 진행하며 겪었던 일들을 공유하는 글입니다.
완성된 이후 Wiki로 이관될 예정입니다.
EC2 기본 설정 (Ubuntu 기준)
스왑 메모리
스왑 메모리란? (참고링크)
RAM용량이 부족할 때, 디스크 일부를 RAM처럼 사용하는것
RAM에 비해 속도는 느리지만, RAM용량을 늘리기 어려운 경우 활용할 수 있음.
왜 필요한가?
스왑 메모리 설정 (참고링크)
다음 명령어를 순차적으로 실행
스왑 메모리 해제 (참고링크)
스왑 메모리 확인
설정한 스왑 메모리는 다음 명령어로 확인가능
Docker & Docker Compose 설치
Docker 설치 (참고링크)
Docker Compose 설치
sudo 없이 docker & docker compose 실행하기
Java 설치 (참고링크)
elasticsearch의 경우 자바가 설치되어있어야하므로 필요한 경우 설치
HTTPS, SSL인증서 적용(certbot)
HTTPS란?
HTTP 프로토콜의 보안이 추가된 버전(HTTP + 암호화)
HTTPS를 적용하기 위해서 SSL인증서가 필요하며, certbot을 이용해 SSL 인증서를 발급받았습니다.
SSL handshake
Beta Was this translation helpful? Give feedback.
All reactions