1. 테라폼 소개
무엇이든 공식문서&사이트를 보고 접근하는 것이 가장 정확하다.
Terraform by HashiCorp
Terraform is an open-source infrastructure as code software tool that enables you to safely and predictably create, change, and improve infrastructure.
www.terraform.io
2. Workflow
테라폼에서 말하는 핵심 키워드 3가지
Write, Plan, Apply
1) Write : 인프라 코드 작성
2) Plan : 해당 인프라 코드 검증
3) Apply : 검증된 코드를 적용
( Provider Agnostic : 여러 provider를 지원함 : AWS/GCP ~~~ 각각의 소스를 별도로 관리)
3. 실무에서
주로 Registry 와 Document 메뉴를 사용할텐데
https://developer.hashicorp.com/terraform/docs
Documentation | Terraform | HashiCorp Developer
Documentation for Terraform, including Terraform CLI, Terraform Cloud, and Terraform Enterprise.
developer.hashicorp.com
intro to Terraform : 초보용
Configuration Langauge : HCL 문법을 위한 문서
Terraform Registry
registry.terraform.io
여기서 Browse Providers : AWS, GCP 등
Modules : 인프라 리소스 그룹 템플릿 (ex. OpenVPN을 AWS EC2에서 사용? -> SG, 등등의 서비스를 모아 모듈로 만듬)
'개발자 :-) > AWS' 카테고리의 다른 글
AWS 인프라 구축 - 테라폼 다루어보기 & 윈도우 테라폼 설치 (1) | 2022.11.30 |
---|---|
AWS 인프라구축 - Docker 개요 (0) | 2022.11.27 |
Python AWS Lambda Telegram bot 구축(3) - Lambda란? (0) | 2022.11.24 |
Python AWS Lambda Telegram bot 구축(2) - bot 발급 (0) | 2022.11.23 |
Python AWS Lambda Telegram bot 구축(1) - 개요 (0) | 2022.11.22 |
댓글