(Optional) Provide the AWS-owned Elastic IP addresses that you use to send outbound emails as well asanycan reduce the occurrences of emails sent from the Elastic IP
我的目标是自动为弹性伸缩的EC2实例分配弹性IP。
我完成了以下工作:-使用启动脚本配置了EC2实例,以便根据规范分配IP配置的启动配置和自动伸缩组。问题是,当部署自动缩放的启动配置时,我失去了允许它在获得弹性IP分配之前自动分配公共地址(最初)的能力。当我手动部署AMI时,如果我选中"assign public IP address“框,实例将部署,临时分配xxxx.amazon.xxx