본문 바로가기
728x90
반응형

Development292

GCP Cloud Architect Practice Exam 오답 확인 GCP Practice Exam 에서 풀고나서 오답에 대한 내용 체크한거. (https://cloud.google.com/certification/practice-exam/cloud-architect?hl=ko) 코로나때문에 시험을 미룬게 잘된건지 아닌지 모르겠다..ㅠㅠ TerramEarth case study Q. Because you do not know every possible future use for the data TerramEarth collects, you have decided to build a system that captures and stores all raw data in case you need it later. How can you most cost-effectively a.. 2020. 2. 28.
[GCP]App Engine App Engine 은 2가지 타입이 존재한다. 1. Standard * Easily deploy your application * Autoscale workloads * Free daily quota * Usage based pricing 2. Flexible * Web , Mobile application, continer based. Flexible vs Standard Standard Flexible Instance startup Milliseconds Minutes SSH access No Yes Write to local disk No Yes Support for 3rd-party binaries No Yes Network access Via App Engine service Yes Prici.. 2020. 2. 13.
git tag 만든 것을 수정하고 싶을때에는 어떻게 해야하나? 가끔 이런 경우가 있다. 1. master 브랜치에서 현재 소스 기준으로 tag 를 생성한다. git tag release-v1.0 2. 그리고 나서 다른 작업들이 쭉~~ 진행 된다. 그러다가 갑자기 release-v1.0 에 대한 버그가 발견되었다. 그럼 어떻게 하지?? master 브랜치에는 신규기능을 개발중이거나 다른 작업들이 진행중이어서 bug fix 를 반영하더래도 v1.0 하고는 소스가 다른데... 구글링을 해보니 다음과 같은 절차를 이야기 해주고 있다. git checkout -b bugfix1 release-v1.0 이렇게 한 후 버그를 고치고 commit 을 한다. git tag release-v1.1 그리고 버그를 수정한 거에 대한 tag 를 다시 생성한다. 이렇게 하면 이제 relea.. 2020. 2. 5.
[GCP] Cloud Interconnection and Peering Dedicated Interconnect On-premise 네트워크와 Google 의 네트워크를 물리적으로 연결해준다. 설정을 위해서는 Cloud Router 와 On-premise router 사이에 BGP 세션을 설정해줘야 한다. 99.9 ~ 99.99% 의 SLA 를 보장해 준다. Partner Interconnect Partner Interconnect는 Service Provider 를 통해서 On-premise 네트워크와 VPC 네트워크 간의 연결을 제공한다. VPC 네트워크와 서비스 제공업체 네트워크 간의 연결에 한해 99.9 ~ 99.99% 의 SLA 를 보장해 준다. Direct Peering 비즈니스 네트워크와 Google 에지 네트워크 사이를 연결할 수 있다. 다이렉트 피어링을 설정.. 2019. 12. 29.
[GCP] Cloud VPN VPN 2개의 서로 다른 Network 간에 통신을 할때 사용된다. 2개의 서로 다른 Network 는 GCP 내부의 서로 다른 Network 또는 GCP 내 Network 와 on-premiss Network 를 포함한다. Cloud VPN gateway Regional external IP 를 사용하는 Regional 리소스 이다. VPN Tunnel 을 VPN Gateway 를 연결해서 암호화된 트래픽을 전달하는 가상의 매체 역할을 한다. 따라서 두개의 VPN gateway 를 연결 하기 위해서는 VPN Tunnel 을 설정해야 한다. VPN gateway 는 1460 bytes 보다 큰것을 전송할 수 없다. 2019. 12. 29.
Google Cloud Certified - Associate Cloud Engineer 취득 후기 올 한해동안 미루고 미루었던 ACE 자격증 시험을 드디어 봤다. 2019년 목표 중 하나였는데 다행히 2019년이 지나가기 전에 완료를 할 수 있었다. 시험 준비 Google Study Jam 을 통해서 Coursera 강의도 들었고 qwiklab 도 들었지만 막상 시험을 준비하려고 하니 어떤것 부터 해야할지 감이 안잡혔다. 그래서 최근에 자격증 시험을 봤던 분들이 후기를 올려 놓은 글들을 읽어봤다. 그 글들은 Google Cloud Certified Korea 페이스북 페이지에 보면 찾을 수 있다. 그래서 우선 Linux Academy 에서 Free trial 로 Google Cloud Certified Associate Cloud Engineer 코스를 한번 들었다. 기존에 Coursera 에서 들었.. 2019. 12. 24.
[GCP] Google Associate Cloud Engineer Exam Dumps 2019 (Udemy) Google Associate Cloud Engineer Exam Dumps 2019 Udemy 에 있는 Dump 풀면서 적은 오답노트들.. ## failover replica Failover replica helps provides High Availability for Cloud SQL. The failover replica must be in the same region as the primary instance. ## Cloud Datastore A scalable, fully managed NoSQL document database for your web and mobile applications. Semistructured application dataHierarchical dataDurabl.. 2019. 12. 23.
[GCP] Google Cloud Certified Associate Cloud Engineer - Practice Exam Linux Academy 에서 Practice Exam 문제를 풀고나서 틀린것들 중에 몇가지 정리한 부분이다. 여러번 볼 예정이어서 내용이 계속 추가될수 있다. ## point-in-time recovery 특정 시점으로 복구하는 기능이다. 클론 생성과 비슷하게 기존 인스턴스의 설정을 상속하여 항상 새로운 인스턴스를 만든다. point-in-time recovery 를 수행 하려면 소스 인스턴스에서 백업 자동화 및 바이너리 로깅 사용설정이 선택된 상태여야 한다. https://cloud.google.com/sql/docs/mysql/backup-recovery/restore 인스턴스 복원 개요 | MySQL용 Cloud SQL | Google Cloud 이 페이지에서는 백업에서 인스턴스를 복원하거나 po.. 2019. 12. 17.
[GCP] Google Cloud Storage Options. ### Relational Database Cloud SQL * good for : web framework * Such as : CMS, eCommerce Cloud Spanner * good for : RDBMS+scale, HA, HTAP * Such as : User metadata, Ad/Fin/MarTech ### Non-relational Cloud Datastore * good for : Hierarchial mobile, web * Such as : User profile, Game state Cloud Bigtable * good for : Heavy read, write * Such as : AdTech ### Object Cloud Storage * good for : Binary .. 2019. 12. 12.
Spring Boot Data Jpa 를 사용한 Paging. Spring Data Jpa 를 사용하게 되면서 전에 쓰지 않았던 paging 기능에 대해서 이야기 해보려 한다. Domain 을 조회하는 Repository interface를 만들때에 JpaRepository 를 상속해서 사용하는 경우가 많다. 이 JpaRepository 를 살펴보면 내부에 이렇게 구현이 되어있다. public interface JpaRepository extends PagingAndSortingRepository, QueryByExampleExecutor { ..... } 그리고 다시 PagingAndSortingRepository 를 살펴보면 다음과 같다. public interface PagingAndSortingRepository extends CrudRepository { .. 2019. 11. 11.
[SpringBoot] @RequestBody 에 들어가는 Object 는 No-Argument Constructor 가 존재해야 한다. 아래와 같이 @RestController 에 메소드가 있다고 생각해보자. @PostMapping public ResponseEntity getResDto(@RequestBody AccountReqDto dto){ return ResponseEntity.ok(AccountResDto.builder().email("test@test.com") .loginId("test") .username("tester") .build() ); } Post 요청에 대해서 AccountReqDto 라는 Object 형태의 파라메터를 받아서 Response 를 리턴하는 메소드 이다. AccountReqDto 는 다음과 같이 되어있다. @Getter public class AccountReqDto { private String .. 2019. 10. 21.
[Spring Boot] There is no PasswordEncoder mapped for the id "null" 내 github 에 있는 프로젝트들중 예전에 만들었던 건데 내용좀 다시 볼겸 수정을 하고 있었다. 사실, 간단한거 빼고는 잘 작동을 안하는것 같다. 그래서 이번에 라이브러리 버전 업데이트 좀 할겸 소스를 수정을 했다. Spring Boot 버전도 최신 버전으로 수정을 하고 Security 버전도 수정을 했다. 그리고 나서 간단히 로그인을 해보려고 하니 다음과 같은 에러가 발생했다. There is no PasswordEncoder mapped for the id "null" 음.. ? 찾아보니 Spring Security 버전이 올라가면서 PasswordEncoder가 변경되면서 발생한 에러였다. The general format for a password is: {id}encodedPassword Su.. 2019. 9. 9.
728x90
반응형