This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# AWS EC2: create a snapshot of my EBS volume. | |
# Requires: AWS CLI, curl, jq | |
# Limitation: only 1 EBS volume attachement | |
# IAM Role: Attach AmazonEC2CreateSnapshots custom policy. | |
# AmazonEC2CreateSnapshots | |
# { | |
# "Version": "2012-10-17", | |
# "Statement": [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Summary: Amazon CloudWatch Monitoring Scripts for Linux | |
Name: aws-scripts-mon | |
Version: 1.2.1 | |
Release: 1w1%{dist} | |
License: ASL 2.0 | |
Group: Applications/System | |
URL: http://aws.amazon.com/code/8720044071969977 | |
Source: http://aws-cloudwatch.s3.amazonaws.com/downloads/CloudWatchMonitoringScripts-%{version}.zip | |
Patch: mon-put-instance-data.inode.patch | |
BuildRoot: %{_tmppath}/%{name}-%{version}-root |