Use AWS EC2 Tags to Control a Linux Startup Script.

Introducing the Launch Tag concept.

Credit: undraw.co

For times when you want a Linux system to start up with adhoc functionality, use the EC2 Launch Tag concept to control how a service is started.