목록Cloud (10)
우당탕탕 개발일지
Firebase는 Google에서 개발한 클라우드 기반 애플리케이션 개발 플랫폼이다. 애플리케이션 기능 개발에만 집중할 수 있도록 백엔드의 부가적인 부분을 처리해준다. AWS와 같은 클라우드 서비스는 유연하지만, 사용량이 적어도 과금이 발생할 수 있는 위험이 있다. Firebase는 초기 단계의 프로젝트나 유저풀이 적은 경우에 적합하다. Firebase는 무료로 시작할 수 있고, 유료 전환도 사용량에 따라 유연하게 조정할 수 있어 초기 리스크를 최소화할 수 있다. 이러한 이유로 Firebase를 사용하게 되었다. 현재 제공하고 있는 Firebase의 기능들은 다음과 같다. 이 중에서 Cloud Functions, Cloud Firestore, Hosting 세 가지를 사용한다. 1. Cloud Func..
네이버 클라우드 플랫폼에서는 vCPU 1개 / 메모리 1GB / HDD 50GB 사양의 Micro Server를 1년간 무료로 테스트 용도로 활용할 수 있다. 우분투를 사용하고 싶었으나 CentOS 밖에 뜨지 않아서 CentOS로 진행하였다. SSD 서버는 Micro 타입 서버를 지원하지 않기 때문에 HHD를 선택한 후, 기본값으로 진행하였다. 외부에서 Micro Server에 접속하기 위해서는 별도의 유료 서비스를 할당시켜줘야 한다. 결제 수단 최초 등록시 지급되는 100,000 크레딧으로 3개월 무료 서버를 사용할 수 있다. 1. 공인 IP 생성 및 할당 공인 IP 신청을 클릭 후 IP 주소를 발급 받는다. 2. ACG 설정 기본적인 8080 포트와 3306 포트를 설정해 주었다. 3. 관리자 비..
https://experienced-candy-562.notion.site/b38d79ea526d40dfbc3e3529993ea08a?pvs=4 개념 정리 | Notion Analystics - (17) experienced-candy-562.notion.site Analystics - (17) 1. Amaon Kinesis Kinesis Data Streams : 데이터 스트림을 캡쳐, 처리, 저장 Kinesis Data Firehose : AWS 데이터 스토어에 데이터 스트림 분석 Kinesis Data Analytics : SQL이나 Apache Flink로 데이터 스트림 분석 Kinesis Video Streams : 비디오 스트림 캡쳐, 처리, 저장 역할 Amazon Kinesis Data Fi..
RDS 생성 1. RDS 데이터베이스 생성 [주의] 프리티어는 AZ db.t2.micro 인스턴스 기준으로 750시간 까지 무료이다. 2. 프리 티어가 제공되는 MariaDB 선택 3. 프리티어 선택 및 DB 설정 DB Name : dv-serverUser Name : adminUser Password : soldesk1. 4. 스토리지 용량 설정 과금 요인 중 하나이기 때문에 자동 조정을 비활성화 해주었다. 5. DB 연결 설정 및 퍼블릭 액세스 허용 6. 초기 DB 설정 백업도 과금 요인이기 때문에 비활성화 해주었다.RDS 설정 1. 보안 그룹 설정 2. 인바운드 규칙 편집 3. Workbench 연결 등록 Connection Name : to-do-serverHostname : ..
쿠버네티스는(Kubernetes)는 컨테이너 오케스트레이션 시스템으로, 여러 컨테이너화된 애플리케이션을 관리하고 배포하는 데 사용된다. 쿠버네티스는 클러스터 내에서 여러 노드에서 실행되는 애플리케이션을 효과적으로 관리하기 위한 다양한 메트릭을 수집하고 제공한다. 메트릭(Metric)은 클러스터의 상태를 모니터링하고 최적화하기 위해 사용된다. * 메트릭(Metric)이란? 서버의 상태를 측정한 항목이나 지표. CPU 사용량, 메모리 사용량, 디스크 공간, 네트워크 트래픽, 요청 처리량, 응답 시간 등이 있다. 선수 작업 [ awscli 설치 ] # sudo apt remove awscli # sudo apt install unzip # curl "https://awscli.amazonaws.com/awsc..
1. git repository와 연동 2. repository 확인 [~/tf] $ git remote -v 3. git 사용자 추가 내 PC에서 Git 저장소를 사용할 경우 기본값으로 사용할 유저 정보를 전역 설정하여 사용할 수 있다. [~/tf] $ git config --global user.name [~/tf] $ git config --global user.email 4. git 설정 확인 [~/tf] $ git config -l 5. git commit 커밋할 파일들의 가장 상단 디렉토리에서 실행 [~/tf] $ git add . [~/tf] $ git commit -m "message" 6. git 상태 확인 [~/tf] $ git status [~/tf] $ git log 7. git p..
[Cloud] - 테라폼 3-Tier 아키텍처 구축(1) - 보안그룹 [ vpc ] - variable.tf variable "vpc-id" { description = "VPC ID" type = string } variable "pub-sub1-id" { description = "Public Subnet1 ID" type = string } variable "pub-sub2-id" { description = "Public Subnet2 ID" type = string } variable "pri-sub1-id" { description = "Private Subnet1 ID" type = string } variable "pri-sub2-id" { description = "Private Subn..
3-Tier 아키텍처란? 어떠한 플랫폼이나 애플리케이션을 3계층으로 나누어 별도의 논리적/물리적인 장치에 구축 및 운영하는 형태이다. 통 프레젠테이션 계층, 어플리케이션 계층, 데이터 계층으로 나눈다. 프젠테이션 계층 - 사용자가 애플리케이션과 상호작용하는 인터페이스 - 일반적으로 HTML, JS, CSS 등이 이 계층에 포함되며, 프론트엔드라고 불린다. 애플리케이션 계층 - 요청되는 정보를 어떠한 규칙에 따라 처리하고 가공한다. - 백엔드로 불린다. 데이터 계층 - 데이터 베이스와 데이터 베이스에 접근하여 데이터를 CRUD 한다. 폴더 구조 - dev/ : Terraform 구성이 정의된 파일 - modules/ : 리소스 집합 3-Tier 아키텍처 구현 [ sg ] 보안 그룹 * Source: 출발지..