EC2 (2) 썸네일형 리스트형 [Terraform]AWS Provider로 Ubuntu AWS EC2 Instance 만들기 개요 Terraform은 각 provider가 제공하는 많은 리소스와 상호작용할 수 있다. Terraform Registry에서 원하는 provider를 찾은 뒤 사용 가능한 리소스를 정의하고 해당 리소스를 관리할 수 있다. 여기서는 aws provider의 resource(aws_instanace)와 data source(aws_ami)를 이용하여 최신버전의 ec2 instanace를 기동시킨다. Resource: aws_instance ubuntu instance 만들기 terraform { required_providers { aws = { source = "hashicorp/aws" version = "~> 4.0" } } } # Configure the AWS Provider provider ".. [AWS]Instance Scheduler on AWS https://docs.aws.amazon.com/ko_kr/solutions/latest/instance-scheduler-on-aws/architecture-overview.html 인스턴스(EC2, RDS)의 시작 및 중지 일정을 구성 CloudFormation 배포 Cloudformation template from AWS https://s3.amazonaws.com/solutions-reference/aws-instance-scheduler/latest/instance-scheduler.template CloudFormation 생성 Link Region(s) 인스턴스가 예약된 지역, 공백이라면 현재 지역으로 설정 Frequency 스케줄러를 실행할 빈도 Cross-account roles 교차.. 이전 1 다음