Skip to content

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

License

Notifications You must be signed in to change notification settings

SimplifyMyCloud/Packer-Recipe-Mock-TAMS-API

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published