Question in title. Just wondering how this works: if you have an EC2 instance which serves some code (let's call it a simple web server), how is this code copied to the other EC2 instances if they are launched as part of the Auto-Scaling Group? I believe you can copy the AMI which has the operating system and perhaps some installations, but does it also have the files that are served?
Kind regards