https://github.com/tleyden/awsutil
Utilities to extend aws-sdk-go
https://github.com/tleyden/awsutil
aws cloudformation ec2-instance golang sdk
Last synced: 20 days ago
JSON representation
Utilities to extend aws-sdk-go
- Host: GitHub
- URL: https://github.com/tleyden/awsutil
- Owner: tleyden
- License: apache-2.0
- Created: 2017-01-30T22:52:28.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-17T01:48:37.000Z (almost 9 years ago)
- Last Synced: 2025-04-16T02:08:19.130Z (12 months ago)
- Topics: aws, cloudformation, ec2-instance, golang, sdk
- Language: Go
- Size: 42 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
[](https://circleci.com/gh/tleyden/awsutil) [](https://godoc.org/github.com/tleyden/awsutil) [](https://coveralls.io/github/tleyden/awsutil?branch=master) [](https://goreportcard.com/report/github.com/tleyden/awsutil) [](https://codebeat.co/projects/github-com-tleyden-awsutil) [](https://cla-assistant.io/tleyden/awsutil) [](https://opensource.org/licenses/Apache-2.0)
A collection of utilities to automate tasks on AWS that aren't covered by the AWS CLI or SDK.
```
$ go get -v -t github.com/tleyden/awsutil/...
```
## Stop all instances in Cloudformation Stack
```
$ awsutil cloudformation stop-instances --region us-east-1 --stackname yourstack
```
This will stop all EC2 instances in the `yourstack` Cloudformation Stack.
## Restart all instances in Cloudformation Stack
```
$ awsutil cloudformation start-instances --region us-east-1 --stackname yourstack
```
This will restart all EC2 instances in the `yourstack` Cloudformation Stack.