This repository builds an AMI that uses the DevSec Hardening Framework SSH and OS hardening ansible roles. The roles provide numerous security-related configurations that follow security best practices.
We want to ensure all instances and AMI's we provision have a secure configuration and the likelihood of attacks is minimal. The DevSec community keeps the playbooks up to do date with the DevSec Linux Security Baseline which gives us the extra security we need.
├── ansible
│ ├── playbook.yaml <-- Ansible playbook file
│ ├── requirements.yaml <-- Ansible Galaxy requirements containing additional Roles to be used (DevSec)
├── scripts
│ └── install_ansible.sh <-- Updates packages and installs ansible on the OS
├── .gitlab-ci.yml <-- Gitlab CI pipeline
├── packer.json <-- Packer template to build AMI