Confusion about AWS AutoScaling and AMI role in it

I know how to AutoScale. Now I need to know how to configure a web server so that I can add it to ELB and make it trigger AutoScaling (up and down).

I have an EC2 server running a web server. I have mounted an EBS and am using it as the web root. Now I want to make an AMI based on this server and tell AutoScaling to launch new servers based on this AMI.

Everyday my Wordpress site gets updated with new posts. If I make the AMI today and after two days I have a traffic spike that causes the ELB to scale up to meet demand, how will my EBS data be updated on the AMI?

I want to understand the role of the AMI in AutoScaling. How will the newly launched server in the scaling group have the www data that is on the attached EBS. I know that an EBS volume can only be attached to one server.

Also, when the AMI is used to launch a new server, will it grab the latest data from the source server and update the AMI at the moment it is launched so that the new server will have the most recent changes.

Can someone guide me through this?

链接地址: http://www.djcxy.com/p/63386.html

上一篇: 缺少块设备映射的虚拟名称。 启动EC2实例失败

下一篇: 关于AWS AutoScaling和AMI角色的混淆