AWS Spot is a AWS service which provides EC2 capacity at significant discounts. Savings of upto 80-90% can be achieved (vs on Demand pricing) utilizing Spot.
This file contains 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
{ | |
"logs": { | |
"logs_collected": { | |
"files": { | |
"collect_list": [ | |
{ | |
"file_path": "/opt/shibboleth-idp/logs/idp-audit.log", | |
"log_group_name": "<ENV>-/opt/shibboleth-idp/logs/idp-audit.log", | |
"log_stream_name": "{instance_id}" |
This file contains 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 | |
function do_help { | |
cat << _END | |
./cur dl <bucket_name> <report_path_including_month> <report_prefix> <optional_assume_role_profile> | |
_END | |
} | |
## INPUT Checking | |
if [[ $# < 3 ]]; then |
This file contains 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
{ | |
"Comment": "string", | |
"Changes": [ | |
{ | |
"Action": "CREATE", | |
"ResourceRecordSet": { | |
"Name": "myblog.mydomain.com", | |
"Type": "CNAME", | |
"TTL": 300, | |
"ResourceRecords": [ |
This file contains 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
{ | |
"CallerReference": "cf_my_blog", | |
"DefaultRootObject": "index.html", | |
"Origins": { | |
"Quantity": 1, | |
"Items": [ | |
{ | |
"Id": "myblog.s3.amazonaws.com", | |
"DomainName": "myblog.s3.amazonaws.com", | |
"S3OriginConfig": { |
This file contains 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
{ | |
"Version":"2012-10-17", | |
"Id":"AndyAWSBlogS3CloudFrontPolicy", | |
"Statement":[ | |
{ | |
"Sid":" Grant a CloudFront Origin Identity access to support access to the bucket", | |
"Effect":"Allow", | |
"Principal":{"CanonicalUser":"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"}, | |
"Action":["s3:GetObject","s3:ListBucket"], | |
"Resource":["arn:aws:s3:::myblog/*", "arn:aws:s3:::myblog"] |