AWS_NCP/AWS DevOps 구축 15

11. 스프링부트로 웹 서비스 출시하기 - AWS Linux 재기동 후 쉘 실행

11. 스프링부트로 웹 서비스 출시하기 EC2 인스턴스가 재기동 될 때 서비스가 자동으로 실행되도록 하는 방법 입니다. 관련 소스는 GitHub 에 있습니다. CodeDeploy-Agent 구동 /etc/init.d/codedeploy-startup.shsudo service codedeploy-agent start CodeDeploy Agent 설치는 아래 링크의 6-3-6. 참고https://justinadpark.tistory.com/7?category=739024 Spring Web Service 자동 실행/etc/init/spring-webservice.conf description "Hello spring webservice" # Start when the system is ready to d..

AWS에서 Jenkins와 Node.js를 이용한 서비스 구성 Part 3: Jenkins -  Node.js App Integration

What are we going to build? In this article series, we will build a simple Node.js app that hosted on AWS EC2 instance. Furthermore, we are going to configure automation server and host Jenkins on a separate AWS EC2 instance. Jenkins will help us to automate the CI/CD process. For every code change from our Node.js app repository, Jenkins will get notified and it will pull the changes into our J..

AWS에서 Jenkins와 Node.js를 이용한 서비스 구성 Part2: Node.js App과 EC2 application server

What are we going to build?In this article series, we will build a simple Node.js app that hosted on AWS EC2 instance. Furthermore, we are going to configure automation server and host Jenkins on a separate AWS EC2 instance. Jenkins will help us to automate the CI/CD process. For every code change from our Node.js app repository, Jenkins will get notified and it will pull the changes into our Je..

AWS에서 Jenkins와 Node.js를 이용한 서비스 구성 Part1: Jenkins 구성

퍼온 곳 https://medium.com/konvergen/jenkins-for-node-js-app-on-aws-ec2-part-1-installing-jenkins-on-ec2-24675cc08998 Jenkins를 수동으로 설치하는 방법이 있어 퍼왔습니다. 다만, 저는 Jenkins를 자주 설치해서 사용하기 때문에, CloudFormation + Ansible로 IaC (Infrastructure as Code)로 구성해 두었습니다.What are we going to build?In this article series, we will build a simple Node.js app that hosted on AWS EC2 instance. Furthermore, we are going to co..