Codeammo https://codeammo.com/ Recent content on Codeammo Hugo -- gohugo.io en-us Mon, 25 May 2020 00:49:21 -0400 Using AWS Secrets Manager with Concourse CI https://codeammo.com/article/using-aws-secrets-manager-with-concourse-ci/ Mon, 25 May 2020 00:49:21 -0400 https://codeammo.com/article/using-aws-secrets-manager-with-concourse-ci/ <p>Using <a href="https://aws.amazon.com/secrets-manager/" target="_blank">AWS Secrets Manager</a> as a credential manager for <a href="https://concourse-ci.org/" target="_blank">Concourse CI</a> works well, however <a href="https://concourse-ci.org/aws-asm-credential-manager.html" target="_blank">the official documentation</a> currently leaves out several critical details needed to utilize it properly. These are my notes to fill in the gaps in the documentation.</p> EC2 Scheduled Events as a CloudWatch Metric https://codeammo.com/article/ec2-scheduled-events-as-a-cloudwatch-metric/ Fri, 24 Feb 2017 17:49:21 -0400 https://codeammo.com/article/ec2-scheduled-events-as-a-cloudwatch-metric/ AWS will sometimes schedule an event to occur on your EC2 instances in order to perform maintenance of the host servers. The most common event will be a scheduled stop/start sequence of your instance which allows AWS to move your instance onto different hardware. When an event is scheduled for one of your instances the only notification AWS generates is an email to your AWS root account. In my experience the AWS root account is usually associated with the CEO or CIO&rsquo;s email address who may assume others are copied on the notification email, or may simply misunderstand or ignore the notification all together. AWS Config Compliance Notifications https://codeammo.com/article/aws-config-compliance-notifications/ Wed, 22 Feb 2017 17:14:19 -0400 https://codeammo.com/article/aws-config-compliance-notifications/ <p><a href="https://aws.amazon.com/config/" target="_blank">AWS Config</a> is becoming a very handy service for monitoring compliance rules within your AWS account. I find it especially useful in my current job for verifying all EBS volumes and RDS instances have encryption enabled to meet HIPAA compliance requirements. My one frustration with this service is the lack of user-friendly notifications when a compliance issue is discovered. You either have to check the web console regularly or have your email inbox blown up with a constant stream of AWS Config notifications. So today I took the time to create an AWS Lambda function that will process AWS Config notifications and only email you the ones that indicate a change in compliance status.</p> Sendgrid Lambda Webhooks https://codeammo.com/article/sendgrid-lambda-webhooks/ Mon, 07 Dec 2015 17:13:59 -0400 https://codeammo.com/article/sendgrid-lambda-webhooks/ <p><a href="https://sendgrid.com/" target="_blank">SendGrid</a> can be configured to send events like bounces and click tracking to a URL of your choice via their <a href="https://sendgrid.com/docs/API_Reference/Webhooks/index.html" target="_blank">Webhooks</a> feature. This post describes how to configure an <a href="https://aws.amazon.com/lambda/" target="_blank">AWS Lambda</a> function to process these SendGrid events. By using Lambda you can easily handle the large amount of traffic SendGrid Webhooks can generate, while keeping costs and system administration work to a minimum.</p> Install PhantomJS on Amazon Linux https://codeammo.com/article/install-phantomjs-on-amazon-linux/ Sat, 16 May 2015 16:54:43 -0400 https://codeammo.com/article/install-phantomjs-on-amazon-linux/ <p>PhantomJS isn&rsquo;t available from the standard Amazon Linux yum repository. Follow these steps to download a binary distribution of PhantomJS and install it on a server running Amazon Linux.</p>