User Data
It is a feature of EC2 that you are able to launch the commands when machine starts. This script is only run at the instance first start by the root user. (Automate boot task)
example
Installing updateds
Installing software
Downlod file from the internet
Last updated