amazon-ec2-spot-interrupter
The ec2-spot-interrupter is a simple CLI tool that triggers Amazon EC2 Spot Interruption Notifications and Rebalance Recommendations.
파일 탐색기
최종 버전 다운로드 (.zip)- bug_report.md
- ci.yaml
- e2e.yaml
- release.yaml
- dependabot.yml
- main.go
- cli.go
- itn.go
- itn_test.go
- types.go
- helpers.go
- main.go
- monitor.go
- options.go
- itn_e2e_test.go
- .gitignore
- .goreleaser.yaml
- CODE_OF_CONDUCT.md
- CODEOWNERS
- CONTRIBUTING.md
- go.mod
- go.sum
- LICENSE
- Makefile
- NOTICE
- README.md
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/aws/amazon-ec2-spot-interrupter
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd amazon-ec2-spot-interrupter
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. 공식 설치 스크립트
쉬움 추천사전 준비물
- Homebrew macOS/Linux용 패키지 매니저입니다.
brew tap aws/tap
Homebrew에 이 프로젝트의 저장소(tap)를 등록합니다.
brew install ec2-spot-interrupter
Homebrew로 이미 빌드된 패키지를 바로 설치합니다. 소스 빌드가 필요 없습니다.
설치 후 새 터미널을 열고, 프로그램의 버전 확인 명령(예: --version)으로 정상 설치됐는지 확인하세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
3. Go
보통go build ./...
Go 프로그램을 컴파일해 실행 파일을 만듭니다.
go run .
따로 빌드하지 않고 바로 Go 프로그램을 실행합니다.
빌드가 에러 없이 끝나면 성공입니다. go run . 을 썼다면 터미널 출력을 확인하세요.
4. Make
보통사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Make Linux/macOS는 보통 기본 설치되어 있습니다. Windows는 별도 설치(예: MSYS2, WSL)가 필요합니다.
make
생성된 빌드 설정을 바탕으로 실제 컴파일을 진행해 실행 파일을 만듭니다.
에러 없이 끝나면 성공입니다. 생성된 실행 파일을 직접 실행해보세요.
// repository documentation
Was this content helpful?
(0 ratings)
