MongoDB Atlas 시작하는 방법
소개
학습을 위해 앱 개발할 때, DB가 필요하게 되었지만, 자신의 머신의 성능이 너무 낮아 로컬에 DB의 환경을 구축하고 싶지 않았다…
그런 때 세상 어떻게 대처하고 있을까 생각해 조사해 보았습니다.
또, 본 기사에 나오는 화상은 2020/05 시점의 것이 됩니다.
MongoDB Atlas란?
MongoDB가 제공하는 클라우드 서비스
Atlas(아틀라스)는 「지도장」이라고 하는 의미다
atlas와 map, 어디에 차이가 있습니까? 어떻게 구분할까? 둘 다 '지도'를 의미
계정 생성
먼저 MongoDB Atlas를 방문하여 계정을 만드세요.
MongoDB Atlas

몇 가지 계획이 표시된다고 생각하지만, 우선 무료로 좋을 것입니다.
왼쪽에 있는 FREE의 것을 선택합니다.

다음에 리전의 선택입니다만, 도쿄가 있었으므로, 그것을 합니다.

다음에 티어의 설정입니다만, 무료인 것은 512MB의 것 밖에 없기 때문에, 이것으로 합니다.

그리고는, 백업의 설정은 이용 불가이므로, 그대로 무시하고,
클러스터 이름을 적절하게 지정합니다.
Create Cluster를 클릭합니다.

만들 수있었습니다!

클러스터에 연결
우선, 접속해 보려고, 「CONNECT」버튼을 누르면,

화이트리스트를 등록하고 사용자를 만들라는 메시지가 표시되었습니다.

화이트리스트 등록
"Add Your Current IP Address"버튼을 누르면 자신의 IP 주소가 등록됩니다.
사용자 작성
적절하게 이름과 암호를 입력하여 작성하십시오.
두 설정 모두 완료하고 Choose a connection method를 클릭합니다.

DB에 연결하는 방법이 표시됩니다.

위에서 순서대로
MongoDB가 제공하는 클라우드 서비스
Atlas(아틀라스)는 「지도장」이라고 하는 의미다
atlas와 map, 어디에 차이가 있습니까? 어떻게 구분할까? 둘 다 '지도'를 의미
계정 생성
먼저 MongoDB Atlas를 방문하여 계정을 만드세요.
MongoDB Atlas

몇 가지 계획이 표시된다고 생각하지만, 우선 무료로 좋을 것입니다.
왼쪽에 있는 FREE의 것을 선택합니다.

다음에 리전의 선택입니다만, 도쿄가 있었으므로, 그것을 합니다.

다음에 티어의 설정입니다만, 무료인 것은 512MB의 것 밖에 없기 때문에, 이것으로 합니다.

그리고는, 백업의 설정은 이용 불가이므로, 그대로 무시하고,
클러스터 이름을 적절하게 지정합니다.
Create Cluster를 클릭합니다.

만들 수있었습니다!

클러스터에 연결
우선, 접속해 보려고, 「CONNECT」버튼을 누르면,

화이트리스트를 등록하고 사용자를 만들라는 메시지가 표시되었습니다.

화이트리스트 등록
"Add Your Current IP Address"버튼을 누르면 자신의 IP 주소가 등록됩니다.
사용자 작성
적절하게 이름과 암호를 입력하여 작성하십시오.
두 설정 모두 완료하고 Choose a connection method를 클릭합니다.

DB에 연결하는 방법이 표시됩니다.

위에서 순서대로
우선, 접속해 보려고, 「CONNECT」버튼을 누르면,

화이트리스트를 등록하고 사용자를 만들라는 메시지가 표시되었습니다.

화이트리스트 등록
"Add Your Current IP Address"버튼을 누르면 자신의 IP 주소가 등록됩니다.
사용자 작성
적절하게 이름과 암호를 입력하여 작성하십시오.
두 설정 모두 완료하고 Choose a connection method를 클릭합니다.

DB에 연결하는 방법이 표시됩니다.

위에서 순서대로
됩니다.
※어느 쪽인가 밀었다고 해서 접속 방법이 고정이 되거나는 하지 않습니다.
각 연결 샘플 방법만 표시됩니다.
확인이 끝나면 닫기를 클릭합니다.
샘플 데이터 로드
Load a Sample Dataset을 클릭합니다.

확인 대화 상자가 나오지만 신경 쓰지 않고로드합니다.
512MB 밖에 사용할 수 없는 플랜으로 350MB의 샘플 데이터이므로, 동작 확인하면 삭제합시다.
잠시 후 다양한 데이터가 로드되었습니다.

샘플 데이터를 보는 방법
MongoDB에는 일반적인 DB와 다른 이름이 있습니다.

MongoDB에는 일반적인 DB와 다른 이름이 있습니다.

표
레코드
컬럼
하나 하나의 데이터는 Document라는 이름이 나타내는 대로 문서 형식으로 되어 있습니다.

Reference
이 문제에 관하여(MongoDB Atlas 시작하는 방법), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://qiita.com/sa9ra4ma/items/f2f74c1aaa8969b5e54d텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)