David Aquino avatar

David Aquino

NYC
Spent years in the military to become a killing machine using only 2 CDJs. Automated all of life's inconveniences, including investments in the financial markets.

Creating an AMI with HashiCorp Packer

HashiCorp's version control for infrastructure

Why use Packer? Infrastructure as code has become part of the buzzword bingo surrounding operational teams and their desired optimal workflows.

One could theoretically just start with a base AMI and manually update it and then re-save it as a new AMI, but this process is not repeatable.  We can check in our desired infrastructure states as code to version

DevOps David Aquino avatarDavid Aquino David Aquino avatar
davidJan 15
Oct 03
Read

My First Experience with Docker

Reboot EC2 instances with Docker

We have a .NET application that has been running for years, but once a week, the application fails to recover and needs the server needs to be rebooted.  To preemptively reboot the EC2 instance nightly we decided to use Docker and ECS  scheduled tasks.

Here is what the finished Dockerfile looks like:

FROM amazonlinux:latest

RUN yum -y update
RUN
DevOps David Aquino avatarDavid Aquino David Aquino avatar
davidJan 15
Sep 05
Read