https://github.com/ot-nemoto/ec2-instances-switcher-python
https://github.com/ot-nemoto/ec2-instances-switcher-python
sample-app serverless
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ot-nemoto/ec2-instances-switcher-python
- Owner: ot-nemoto
- Created: 2018-12-17T00:02:14.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-17T00:03:50.000Z (over 7 years ago)
- Last Synced: 2025-03-10T16:43:40.890Z (about 1 year ago)
- Topics: sample-app, serverless
- Language: Python
- Size: 1000 Bytes
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ec2-instances-switcher
### 概要
- 指定された時間に、特定のタグが付与されたEC2インスタンスを起動する。
- 起動する時間は平日(月~金)の午前8時。
- デフォルトのリージョンは東京(ap-northeast-1)。
### 使い方
- 起動・停止対象のEC2インスタンスに `OnlyWeekdays` タグを付与。
- タグの値には `ON`, `TRUE`, `1` の何れかを設定。
- 起動・停止対象から外したい場合はタグを削除。またはタグの値に上記以外を設定。
- デプロイ
```sh
serverless deploy
```