Skip to content

Our custom AMI used as a base for all customers.

Notifications You must be signed in to change notification settings

codemonauts/aws-baseimage

Repository files navigation

AWS-Baseimage

This repository contains the Ansible cookbooks and the Packer configuration to generate the AWS AMI, which we use at codemonauts to start our EC2 instances.

If you find some problems or errors in this repositoy feel free to open an issue or directly fix it with an pull request if you want to.

Content

As a basis we choose the latest Debian from the official AWS AMI store. On top of this we did the following for the base images:

  • Deactivate the default 'admin' user
  • Create our own 'codemonauts' user with our current SSH public key
  • Activate daily unattended-updates for security patches
  • Install the AWS Codedeploy agent
  • Install the AWS SSM agent
  • Install some basic CLI tools

Additionaly on top for the webserver images:

  • Install Nginx and add our config snippets
  • Install mozjpeg for improved JPEG encoding
  • Install PHP-FPM and some PHP Modules which are used by CraftCMS

Images build by this repo

All images are public and available in eu-central-1 and eu-west-1. The XXX in the AMI name is the timestamp during build in the format YYYY-MM-DD-hh-mm.

arm64

  • Debian Bookworm, Base (codemonauts-arm64-bookworm-base_XXX)
  • Debian Bookworm, Webserver with PHP 8.3 (codemonauts-arm64-bookworm-webserver-php83_XXX)

amd64

  • Debian Bookworm, Base (codemonauts-amd64-bookworm-base_XXX)
  • Debian Bookworm, Webserver with PHP 8.3 (codemonauts-amd64-bookworm-webserver-php83_XXX)

About

Our custom AMI used as a base for all customers.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published