반응형

Cloud 33

[NCP] 3tier 구축 3/n - WEB,WAS 연동 -2

WEB 설정 추가 의존성 install 및 tomcat connector 설치 yum install -y autoconf libtool httpd-devel yum install -y httpd-devel 시 o package http-devel available. 나오면 yum clean all yum update 후 다시 시도 wget https://mirror.navercorp.com/apache/tomcat/tomcat-connectors/jk/tomcat-connectors-1.2.48-src.tar.gz tar xvf tomcat-connectors-1.2.48-src.tar.gz cd tomcat-connectors-1.2.48-src/native/ ./buildconf.sh ./config..

[NCP] 3tier 구축 2/n - WEB,WAS 연동 -1

이번에는 만들어놓은 WEB과 WAS 연동을 진행하고자 한다. WEB 서버 설정과 WAS 서버 설정이 번갈아 나오니 주의하도록 하자!! WEB 설정 yum update와 의존성 install sudo su - yum update yum install -y epel-release yum install -y wget yum install -y net-tools yum install -y gcc yum install -y gcc-c++ yum install -y make yum install -y apr yum install -y apr-util yum install -y openssl-devel yum install -y mod_ssl Apache 설치 yum install httpd systemctl sta..

[NCP] 3tier 구축 1/n - VPC,WEB,WAS 서버 생성

오늘은 Naver Cloud Platform에서 3tier 구축을 해보려고 한다. 간단하게 위와 같은 구조의 3tier를 만들어보고자 한다. VPC 생성 Subnet 생성 Subnet을 만들기 전에 Subnet에 적용할 NACL을 먼저 만들어야한다. 위와 같이 Public, Private(was), Private(db) 용 nacl을 각각 만들어준다. Public, Private, db 서브넷을 각각 생성해주고 이전에 만든 Nacl을 각각 할당해준다. 이제 Nacl을 설정해야하는데 어차피 ACG에서 다시 열어줘야해서 우선 TCP,ICMP만 모두 오픈해주었다. WEB,WAS 서버 생성 우선 서버 생성 전에 ACG부터 만들어줘야한다. 위와 같이 web,was 용 ACG를 먼저 만들어둔다. (DB ACG는 D..

반응형