본문 바로가기
728x90
반응형

분류 전체보기186

[GCP] ops-agent MongoDB Metrics GCP VM Machine 에 MongoDB를 사용하는 경우 MongoDB Metrics 수집이 필요한 경우 ops-agent에 MongoDB agent를 설치하여 모니터링 한다. 구성방법 VM Machine 접속 $ ssh ops-agent 설정 # Configures Ops Agent to collect telemetry from the app and restart Ops Agent. set -e # Create a back up of the existing file so existing configurations are not lost. sudo cp /etc/google-cloud-ops-agent/config.yaml /etc/google-cloud-ops-agent/config.yaml.bak.. 2023. 3. 22.
가비아 도메인 Cloud Run (GCP)에 연결하기 1. 가비아에서 도메인 검색 후 도메인 구매 https://domain.gabia.com/ 가비아: 대한민국 도메인 점유율 1위 대한민국 100만 도메인 등록 업체 domain.gabia.com 2. 구매한 도메인을 도메인 맵핑에 등록 Cloud Run 콘솔에서 커스텀 도메인 관리 클릭 도메인 매핑 페이지에서 매핑 추가 클릭 매핑할 서비스 선택 - Cloud Run 에 연결할 서비스 선택 확인된 도메인 선택 - Verify a new domain 선택 확인할 기본 도메인 - 가비아에서 구매한 도메인 입력 (ex. mydomain.com) 이후 도메인 주인인지 확인이 필요함으로 웹마스터 센터 링크를 클릭하여 도메인 확인 진행 이후 도메인 공급업체를 기타 로 선택하여 DNS 구성 TXT를 획득 이후 가비아 .. 2023. 3. 19.
[chatGPT] openAI(chatGPT) API Slack 연동 openAPI 를 사용하여 chatGPT 이용하기 with nodejs. 1. openai API를 사용하기 위한 회원가입 https://openai.com/api/ OpenAI API OpenAI is an AI research and deployment company. Our mission is to ensure that artificial general intelligence benefits all of humanity. openai.com 위에 페이지에서 openAI 회원가입 2. API Key 생성하기 로그인 후 View API Keys 클릭 Create new secret key를 통해 new key 생성 3. openai package 설치 openai를 사용하기 위한 openai packa.. 2023. 2. 14.
[Git] webhooks 을 이용한 auto git pulling 구성 (git pull with webhooks) git webhooks을 이용하여 remote storage에 있는 source를 업데이트 할 수 있는 환경을 만든다. webhook receiver는 아래 문서를 참고하여 작성한다. Webhooks | GitLab Documentation for GitLab Community Edition, GitLab Enterprise Edition, Omnibus GitLab, and GitLab Runner. docs.gitlab.com 리모트 환경에 Git clone git pull 이 자동으로 필요한 remote 환경에서 git source clone $ git clone https://gitlab.test.net/test.git webhook receiver 작성 webhook_receiver.rb req.. 2023. 2. 13.
728x90
반응형