본문 바로가기
반응형

[AWS]545

[참고] AWS vs NCP 주요 서비스 기능 및 비용 비교!! AWS는 세계적으로 널리 사용되는 클라우드 서비스 플랫폼이며, NCP(네이버 클라우드 플랫폼)는 주로 한국에서 이용되는 클라우드 서비스 플랫폼입니다. AWS는 글로벌 기업들에게 다양한 서비스를 제공하며, NCP는 주로 한국 기업 및 사용자를 대상으로 한 클라우드 서비스를 제공하는데요. AWS와 NCP의 주요 서비스의 비용을 비교해보도록 하겠습니다. 주요 서비스 [ 공통 조건 ] 환율 : $1 = 1350원 월 기준 : 730시간 서버 AWS - EC2 NCP - Server - [Linux] / CPU(2) / Mem(8) / SSD(50G) - Type : t3a.large - 비용 : $72.89 / 98,401원 (월 기준) - [Window] / CPU(2) / Mem(8) / SSD(100G) .. 2024. 2. 1.
[참고] Public Cloud AWS vs NCP 비교 (Amazon Web Service vs Naver Cloud Platform) !! Public Cloud 제공업체에 따라 제공하는 리소스 및 서비스는 비슷하지만, 이름이 다르다. AWS, Azure, GCP는 비교하는 자료가 많이 나와있다. 국내 NCP 비교 자료는 찾기 힘들어 직접 작성하였다. (주로 AWS를 사용하다보니, NCP에 빠르게 적응하기 위한 매핑 자료가 필요하였다.) 앞으로 서비스는 점점 더 발전할 것이고, 이 자료는 지속적으로 업데이트 되어야 한다. 서비스 카테고리 제공 서비스 AWS (Amazon Web Service) NCP (Naver Cloud Platform) 컴퓨팅 가상 컴퓨터 (서버) Amazon EC2 Server 베어메탈 서버 Amazon EC2 Bare Metal Instance (Preview) Bare Metal Server 가상전용 호스트 Ama.. 2024. 1. 31.
[참고][AWS] 랜딩 존이란 무엇입니까? 랜딩 존은 확장성과 안전성을 갖춘 잘 설계된 다계정 AWS 환경입니다. (1) 운영 및 개발의 네트워크를 분리할 것 > account를 분리함으로서 본질적인 분리 수행 (2) Multi VPC 기반의 운영 / 개발 분리 > 운영 / 개발과 같은 특수 계정을 제외하고는 모두 단일 VPC 구현 및 네트워크 ip 낭비 최소화, 운영 계정의 VPC를 공유함으로써 유연하고 빠른 적용 가능 (3) 인터넷 관문 통일을 통한 보안정책 단일화 및 3rd part SW 구매 대수 감소, 비용 효율화 (4) 로그 저장의 단일화를 통해 로그 파일 조작과 같은 보안 사고 방지 및 관리 용이화 (5) 관리를 위한 콘솔 및 계정 관리의 단일화를 통한 환경 분리, 관리 용이화 이는 귀하의 조직이 보안 및 인프라 환경에 대한 자신감을.. 2024. 1. 30.
[중요][참고] HTTP API와 REST API 이란!! 통신을 통해 한 곳의 자원들을 다른 곳에서 쉽게 접근할 수 있도록 하는 것을 Web API라고 합니다. 그 중에서도 HTTP 통신을 활용하는 API를 HTTP API라고 하며, REST API의 특성들을 가지는 API를 REST API라고 합니다. API HTTP API와 REST API에 공통으로 들어가는 API란 단어부터 먼저 살펴볼까요. API(Application Programming Interface)는 컴퓨터 혹은 컴퓨터 프로그램끼리의 연결, 좀 더 인간적인 표현으로는 소통을 뜻합니다. 이러한 소통을 어떻게 할 지 문서로 정리하거나 공통의 기준을 정한 것을 API 명세라고 하죠. 한 컴퓨터/프로그램이 소통하는 방식이 상대방 컴퓨터/프로그램과 다를 수 있기 때문에, 서로가 공통적으로 이해할 수 .. 2023. 12. 21.
[참고] HTTP와 REST API이란 무엇인가!! HTTP API 와 REST API는 사실 거의 같은 의미로 사용됩니다. 그런데 디테일하게 들어가면 차이가 존재합니다. HTTP API는 상당히 넓은 의미로 사용됩니다. 반면에 REST API는 HTTP API에 여러가지 제약 조건이 추가 됩니다. HTTP API HTTP (Hyper Text Transfer Protocol) HTTP는 웹 환경에서 정보를 주고받기 위한 프로토콜입니다. HTTP API는 HTTP라는 통신 규칙으로 소통하는 API 입니다. 즉, HTTP를 사용해서 서로 정해둔 스펙으로 데이터를 주고 받으며 통신하는 것을 말합니다. 💡 HTTP를 사용하지 않는 API가 있나? 저사양/저전력 환경에 적합한 MQTT, CoAp 프로토콜을 사용하는 API 가 존재합니다. 예시로, IoT 어플리케.. 2023. 12. 21.
[참고] AWS vs MS Azure vs GCP 장단점 비교! 우리가 흔히들 알고 있는 클라우드 거대 기업 3곳이 있죠. 바로 AWS, MS Azure, GCP 입니다. 도대체 어떤 클라우드 제공사를 선택해야 할지, 이들 간의 차이점은 무엇이고, 각 제공사의 장단점이 무엇인지 알려면 모두 사용해보고 비교해봐야 하지만 현실적으로 불가능할 것 같네요. 그래서 이를 간단하게 비교해놓은 외국 기사를 찾았고 이를 번역해보았습니다. 클라우드 컴퓨팅 자체가 간단한 구조가 아니기 때문에 모든 것을 이해할 수는 없습니다. 그래도 아래 글은 그렇게 어렵게 다가오지 않을 것 같습니다. 미리 결론을 말씀드리자면 이제는 하나의 클라우드 제공사만 선택하지 않고, 여러 개의 클라우드 제공사를 선택하는 멀티 클라우드 방식이 대세입니다. 결국 각 클라우드 제공사의 장점만 뽑아서 활용한다는 것인데.. 2023. 12. 20.
[참고] Top 3 클라우드 서비스 비교 분석 (AWS, Azure, GCP) 1. AWS(Amazon Web Services) 가장 많은 사용자를 보유한 클라우드 제공업체이며, 다양한 기능과 서비스를 제공합니다. 초보자부터 전문가까지 다양한 사용자에게 적합한 제공업체입니다. 2. GCP(Google Cloud Platform) 인공지능 및 머신러닝에 대한 다양한 기능과 서비스를 제공하며, 대규모 데이터 처리에 적합한 제공업체입니다. 3. Azure(Microsoft Azure) 기업 환경에 적합한 다양한 기능과 서비스를 제공하며, Microsoft 제품과의 통합성이 뛰어납니다. 4. OpenShift(Red Hat OpenShift) 오픈소스 기술을 기반으로 하며, 클라우드 네이티브 애플리케이션을 구축하기에 적합한 제공업체입니다. 5. NCP(Naver Cloud Platform.. 2023. 12. 20.
Amazon S3 권한 관리 2023. 5. 29.
Amazon S3 버전관리/객체잠금 2023. 5. 29.
[Kafka 클러스터 환경 구축] 9강. partition과 Message 순서 이번에는 Kafka 에 Topic을 생성하면서 Partition에 데이터가 어떻게 저장 되고 Partition을 여러개 지정 하였을 때, 왜 데이터 순서를 보장 받을 수 없는지 확인 하였습니다. 그리고 데이터 순서를 보장하고싶을 경우에는 어떻게 설정 해야하는지도 알아보았습니다. ## Kafka Topic 생성 ## Kafka Producer 에 Message 생성 ## Kafka Consumer 에 Message 소비 (기대했던 것과 달리 순서대로 출력 되지 않습니다.) ## 첫 번째, Partition Consumer 확인 : topic(partition-test)을 3개의 파티션에 나눠 저장하였는데, 그 중 첫 번째 파티션에 저장된 데이터를 확인할 수 있다. ## 두 번째, Partition Cons.. 2022. 11. 23.
[Kafka 클러스터 환경 구축] 8강. Topic, Producer, Consumer, Partition, Replica 설명 및 테스트 이번에는 Kafka broker에 Topic을 생성해보고, Producer를 이용하여 메시지 데이터를 생성하고 Consumer를 이용하여 데이터를 소비해 보았습니다. 그리고 Partition이 어떻게 저장 되는지 눈으로 확인하고, Replication의 간단한 개념도 살펴 보았습니다.!! [ 환경 구성 ] 아마존 클라우드(AWS) Apache Zookeeper 3.8.0 Apache Kafka 3.1.0 [ 클러스터 ] Kafka01(Broker Leader) Kafka02(Broker Follower) Kafka03(Broker Follower) ## Kafka Topic 생성 - 전체 6개의 파티션이 생성 (3 x 2) ## Kafka Producer 메시지 생성 (1번 서버에서 메시지 생성) ## .. 2022. 11. 23.
[Kafka 클러스터 환경 구축] 7강. Kafka, Zookeeper 실행 ## Zookeeper 실행 ## Zookeeper 실행 확인 ## Zookeeper 리스닝 포트 확인 ## Kafka 실행 (-daemon 옵션으로 백그라운드로 실행 할 것) ## Kafka 리스닝 포트 확인 ## Zookeeper znode 확인 ======================================================== Zookeeper 실행 : 설명 편의를 위해 kafka01 서버로 이동하여 진행한다. # EC2 Ubuntu terminal(kafka03) # kafka03 서버 -> kafka01 서버 ssh kafka01 # EC2 Ubuntu terminal(kafka01) # Kafka01 zookeeper start $ZOOKEEPER_HOME/bin/zkServ.. 2022. 11. 23.
[Kafka 클러스터 환경 구축] 6강. Host 및 클러스터 환경설정 ## kafka01 서버 Host 편집 ## 모든 인스턴스에 Hosts 파일 복제 (kafka01 에서만 진행한다) ====================================================== kafka01 서버 Host 편집 : kafka01 서버로 접속해서 hosts 파일에 각 서버의 Private IP와 hostname을 등록한다. (단, 작업중인 서버의 ip 는 0.0.0.0으로 작업한다.) # My Mac terminal # 로컬에서 kafka01 서버 접속 ssh kafka01 # EC2 Ubuntu terminal(kafka01) # hosts 파일 편집 sudo vim /etc/hosts # 아래 내용으로 추가 후 저장 0.0.0.0 kafka01 172.31.39.3.. 2022. 11. 22.
[Kafka 클러스터 환경 구축] 5강.AMI 생성 및 인스턴스 복제 ssh config 설정 : 로컬 환경에서 kafka01 인스턴스에 접속하기 위해 설정한 것과 동일하게 아래 config 파일을 설정한다. (HostName 에는 각 인스턴스의 Public IP 를 기재한다.) # My Local terminal vim ~/.ssh/config # 아래 내용 추가 후 저장 Host kafka01 HostName [kakfa01 Public IP] User ubuntu IdentityFile ~/identity/hadoop_eco_system.pem Host kafka02 HostName [kakfa02 Public IP] User ubuntu IdentityFile ~/identity/hadoop_eco_system.pem Host kafka03 HostName [kak.. 2022. 11. 22.
[Kafka 클러스터 환경 구축] 4강. Kafka 설치 및 환경설정 ## Apache Kafka 3.1.0 설치 ## Kafka 환경변수 설정 ## Kafka 사용자 환경변수 설정 - Xmx (최대 사용하는 메모리) : 512 메가바이트 - Xms (최소 사용하는 메모리) : 512 메가바이트 ## Kafka 홈 디렉토리 소유권 변경 ## Kafka server.properties 설정 # EC2 Ubuntu terminal cd $KAFKA_HOME/config vim server.properties # 아래 내용 수정 후 저장 broker.id=1 listeners=PLAINTEXT://:9092 advertised.listeners=PLAINTEXT://kafka01:9092 log.dirs=/usr/local/kafka/logs zookeeper.connect=k.. 2022. 11. 22.
[AWS][SAA][EXAMTOPICS] Question 106 (확인) A business developed a meal ordering application that collects and maintains user data for future research. On an Amazon EC2 instance, the application's static front end is installed. The front-end application communicates with the back-end application, which is hosted on a different EC2 instance. The data is subsequently stored in Amazon RDS by the backend application. What should a solutions a.. 2022. 11. 21.
[AWS][SAA][EXAMTOPICS] Question 105 (확인) A corporation is using AWS to construct a new machine learning model solution. The models are constructed as self-contained microservices that get around 1 GB of model data from Amazon S3 and put it into memory during startup. The models are accessed by users through an asynchronous API. Users may submit a single request or a batch of requests and designate the destination for the results. Hundr.. 2022. 11. 21.
[AWS][SAA][EXAMTOPICS] Question 104 (확인) A new employee has been hired as a deployment engineer by a corporation. The deployment engineer will construct several AWS resources using AWS CloudFormation templates. A solutions architect desires that the deployment engineer execute job functions with the least amount of privilege possible. Which steps should the solutions architect do in conjunction to reach this goal? (Select two.) A. Have.. 2022. 11. 21.
[AWS][SAA][EXAMTOPICS] Question 103 (확인) Application developers have found that when business reporting users run big production reports to the Amazon RDS instance that powers the application, the application becomes very sluggish. While the reporting queries are executing, the RDS instance's CPU and memory usage metrics do not surpass 60%. Business reporting users must be able to produce reports without impairing the functionality of .. 2022. 11. 21.
[AWS][SAA][EXAMTOPICS][시험에 그대로 나옴] Question 102 (확인) An online picture program enables users to upload photographs and modify them. The application provides two distinct service levels: free and paid. Paid users' photos are processed ahead of those submitted by free users. Amazon S3 is used to store the photos, while Amazon SQS is used to store the job information. How should a solutions architect propose a configuration? A. Use one SQS FIFO queue.. 2022. 11. 21.
[AWS][SAA][EXAMTOPICS] Question 101 (확인) A business uses Amazon Elastic Container Service (Amazon ECS) to perform an image processing workload on two private subnets. Each private subnet connects to the internet through a NAT instance. Amazon S3 buckets are used to store all photos. The business is worried about the expenses associated with data transfers between Amazon ECS and Amazon S3. What actions should a solutions architect do to.. 2022. 11. 21.
[Kafka 클러스터 환경 구축] 3강. Zookeeper 설치 및 환경설정 이번에는 Kafka 클러스터에 꼭 필요한 Zookeeper 설치 및 환경 설정을 진행 하였습니다. 메타데이터를 관리하고 Kafka broker의 Leader를 산출하는 등의 많은 역할을 하는 Zookeeper 클러스터 역시 Kafka 클러스터 서버와 별도로 설치, 운영 하는 것이 좋지만, Kafka 클러스터 구축에 초점을 맞췄기 때문에 Kafka와 Zookeeper 모두 같은 인스턴스에서 진행할 예정입니다. ## zookeeper 다운로드 및 설치 (-C 옵션 압축 풀 디렉토리 지정) ## Zookeeper 환경변수 설정 ## Zookeeper 사용자 환경변수 설정 ## zoo.cfg 파일 편집 ## Zookeeper 디렉토리 사용자 그룹 변경 ## Zookeeper myid 설정 ============.. 2022. 11. 21.
[AWS][SAA][EXAMTOPICS] Question 100 (확인) A firm runs a two-tier image processing program. The application is divided into two Availability Zones, each with its own public and private subnets. The web tier's Application Load Balancer (ALB) makes use of public subnets. Private subnets are used by Amazon EC2 instances at the application layer. The program is functioning more slowly than planned, according to users. According to a security.. 2022. 11. 21.
[AWS][SAA][EXAMTOPICS][시험에 그대로 나옴] Question 99 Each day, a company's hundreds of edge devices create 1 TB of status alerts. Each alert has a file size of roughly 2 KB. A solutions architect must provide a system for ingesting and storing warnings for further investigation. The business need a solution that is extremely accessible. However, the business must have a low cost structure and does not want to handle extra infrastructure. Additiona.. 2022. 11. 18.
[AWS][SAA][EXAMTOPICS] Question 98 (확인) Amazon S3 is used by a business to store private audit records. According to the concept of least privilege, the S3 bucket implements bucket restrictions to limit access to audit team IAM user credentials. Company executives are concerned about inadvertent document destruction in the S3 bucket and need a more secure solution. What steps should a solutions architect take to ensure the security of.. 2022. 11. 17.
[Kafka 클러스터 환경 구축] 2강. Java 설치 및 환경설정 ## 업데이트 및 업그레이드 수행 sudo apt-get -y update &&\ sudo apt-get -y upgrade ## 신규 업그레이드 수행 sudo apt-get -y dist-upgrade ## 추가 라이브러리 설치 sudo apt-get install -y vim wget unzip ssh openssh-* net-tools ## JAVA 설치 sudo apt-get install -y openjdk-8-jdk java -version ## JAVA 홈 디렉토리 확인 sudo find / -name java-8-openjdk-amd64 2>/dev/null 실행 (/usr/lib/jvm/java-8-openjdk-amd64 자바 홈디렉토리 확인) ## JAVA 환경변수 설정 sudo vi.. 2022. 11. 17.
[AWS][SAA][EXAMTOPICS] Question 97 (확인) A business is re-architecting a tightly connected application in order to make it loosely coupled. Previously, the program communicated across layers through a request/response pattern. The organization intends to do this via the usage of Amazon Simple Queue Service (Amazon SQS). The first architecture includes a request queue and a response queue. However, when the program grows, this strategy .. 2022. 11. 17.
[Kafka 클러스터 환경 구축] 1강 AWS EC2 인스턴스 배포 ## Kafka 용 EC2 생성 2022. 11. 17.
[AWS][SAA][EXAMTOPICS] Question 96 (확인) A business relies on Amazon S3 for object storage. The organization stores data in hundreds of S3 buckets. Certain S3 buckets contain less frequently accessed data than others. According to a solutions architect, lifecycle rules are either not followed consistently or are enforced in part, resulting in data being held in high-cost storage. Which option will reduce expenses without jeopardizing o.. 2022. 11. 17.
[AWS][SAA][EXAMTOPICS][시험에 그대로 출제] Question 95 A startup is developing a shared storage solution for an AWS Cloud-hosted gaming application. The organization need the capacity to access data through SMB clients. The solution must be controlled completely. Which AWS solution satisfies these criteria? A. Create an AWS DataSync task that shares the data as a mountable file system. Mount the file system to the application server. B. Create an Am.. 2022. 11. 17.
반응형