Skip to content

Latest commit

 

History

History
46 lines (28 loc) · 1.3 KB

README.md

File metadata and controls

46 lines (28 loc) · 1.3 KB

Packer Recipe Mock TAMS API

Packer recipe to bake a AWS Rocky Linux 8 AMI that has the Mock TAMS API running + sample media

Links

Files

aws-ami-tams-mock-api-example.pkr.hcl

The Packer configuration file that:

  • Uses the official Rocky Linux 8 AMI as base
  • Provisions a t3.medium instance (compilation needs decent CPU/memory)
  • Creates a 40GB GP3 volume
  • Tags the AMI appropriately

configuration-state.sh

The build script that:

  • Installs all required dependencies
  • Compiles NASM and YASM for better performance
  • Builds all required libraries (x264, x265, libfdk-aac, etc.)
  • Compiles FFmpeg with all common codecs and features
  • Makes FFmpeg available system-wide
  • Added parallel compilation with -j$(nproc) for faster builds
  • Installs Python & builds virtual environment
  • Downloads media Big Buck Bunny for demo use

RunBooks