How do you pass User Data to an instance during launch?

When you launch an Amazon EC2 instance, you can pass user data to the instance that is used to perform automated configuration tasks, or to run scripts after the instance starts.
Пожалуйста, войдите, чтобы спрашивать, отвечать, делиться, ставить лайки и голосовать.