일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
- weaving
- docker
- serializer
- container
- SpyBean
- JPA
- golang
- ehcache
- playbook
- Proxy
- Packer
- AOP
- rest-api
- launch-template
- gocd
- junit
- controlleradvice
- terraform
- persistence
- HandlerMethodArgumentResolver
- AWS
- Jpa Auditing
- DevOps
- ci/cd
- ansible
- MockBean
- LocalDateTime
- cache
- Deserializer
- spring
- Today
- Total
목록DevOps (3)
기록용 블로그
Terraform은 여러 인프라들에 대한 관리를 제공한다. GUI 환경의 AWS Console을 통해 제어되던 부분들을 코드를 통해 구축, 변경, 버전화할 수 있는 도구다. HashiCorp Configuration Language (HCL) 문법으로 작성된 tf 파일을 통해서 인프라스트럭쳐에 대한 설정들을 코드로 관리한다. 여러 프로바이더들이 제공되고 대표적인 프로바이더로는 Amazon AWS, MS Azure, Google Cloud등이 있다. Installation Mac(brew) $ brew install terraform binary file $ wget https://releases.hashicorp.com/terraform/0.11.8/terraform_0.11.8_linux_amd64.z..
packer에서 프로비저닝을 할 때 shell 스크립트 파일을 실행하거나 인라인으로 실행하는 것 이외에도 ansible playbook_file을 통해 provisioining을 해줄 수 있다. "provisioners": [ { "type": "shell", "inline":[ "ls -al /home/ubuntu", "cat /home/ubuntu/welcome.txt" ] }, { "type": "ansible", "playbook_file": "playbook/main.yml" } ] Packer 빌드 파일 작성 Ansible로 프로비저닝 하기 전에 packer build파일을 먼저 작성하자. { "variables": { "aws_access_key": "{{env `AWS_ACCESS_KEY_..
Hashicorp 에서 만든 가상 머신 이미지를 만드는 오픈소스.Aws의 AMI, Azure Image, Google Cloud Image등을 스크립트 파일을 이용해서 생성할 수 있다.json 파일을 정해진 형식대로 작성하고, 그 json파일을 읽어서 그 데이터를 토대로 AWS나 Azure, Google Cloud의 api를 호출해서 이미지를 만드는 구조인 것 같다. Install OS X라서 HomeBrew를 이용해 설치 $ brew install packer Command packer의 명령어들 Available commands are: build build image(s) from template fix fixes templates from old versions of packer inspect s..