2)What is the purpose of using User Data when launching an EC2 instance?
The main purpose of EC2 User Data is to automate the initial setup/configuration of an EC2 instance when it is launched.
The main purpose of EC2 User Data is to automate the initial setup/configuration of an EC2 instance when it is launched.