Code Deploy allows triggering deployments that retrieve files from S3 and install and run them on EC2 instances. The Code Deploy service communicates with Code Deploy agents installed on EC2 instances to retrieve files from S3 and run instructions locally such as installing IIS and using files like Appsspec.yml and batch files. Code Deploy deployments do not override existing files.