> For the complete documentation index, see [llms.txt](https://dev7days.gitbook.io/dev7days/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dev7days.gitbook.io/dev7days/aws/ec2/user-data.md). Agents can also search and read this documentation through its [MCP server](https://dev7days.gitbook.io/dev7days/~gitbook/mcp).

# 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)&#x20;

example

1. Installing updateds&#x20;
2. Installing software
3. Downlod file from the internet
