-
Notifications
You must be signed in to change notification settings - Fork 125
/
Copy pathconfig.sample
30 lines (23 loc) · 842 Bytes
/
config.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
config = {
# AWS credentials for the IAM user (alternatively can be set up as environment variables)
'aws_access_key': 'xxxxxxxx',
'aws_secret_key': 'xxxxxxxxxxxx',
# EC2 info about your server's region
'ec2_region_name': 'eu-west-1',
'ec2_region_endpoint': 'ec2.eu-west-1.amazonaws.com',
# Tag of the EBS volume you want to take the snapshots of
'tag_name': 'tag:MakeSnapshot',
'tag_value': 'True',
# Number of snapshots to keep (the older ones are going to be deleted,
# since they cost money).
'keep_day': 5,
'keep_week': 5,
'keep_month': 11,
# Path to the log for this script
'log_file': '/tmp/makesnapshots.log',
# ARN of the SNS topic (optional)
#'arn': 'xxxxxxxxxx',
# Proxy config (optional)
#'proxyHost': '10.100.x.y',
#'proxyPort': '8080'
}