일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- spring
- ansible
- JPA
- launch-template
- ci/cd
- Packer
- HandlerMethodArgumentResolver
- docker
- container
- gocd
- SpyBean
- terraform
- LocalDateTime
- persistence
- MockBean
- Proxy
- controlleradvice
- rest-api
- Deserializer
- AOP
- cache
- playbook
- ehcache
- DevOps
- golang
- junit
- AWS
- serializer
- Jpa Auditing
- Today
- Total
목록AWS (3)
기록용 블로그
Terraform으로 Auto Scaling Group에서 사용할 Launch Template를 생성해보자. Example Usage 아래는 launch_teamplte 생성에 대한 기본 예시인데 여기서 필요한 정보들만 바꾸고 실행시키면 원하는 launch template를 만들 수 있다. resource "aws_launch_template" "foo" { name = "foo" block_device_mappings { device_name = "/dev/sda1" ebs { volume_size = 20 } } credit_specification { cpu_credits = "standard" } disable_api_termination = true ebs_optimized = true elas..
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..
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..