Deploying site on Amazon Beanstalk and IIS settings

amazon-beanstalkamazon-web-servicesiis-7.5

I am interested in working with Amazon Elastic Beanstalk to deploy my new site. A few things that I need to know and can't get an answer to:

1) How can I maintain IIS settings of all deployed and future deployed machines?
2) If I can maintain, what happens if I change the settings on one server, will it automatically set it on other servers?
3) How can I backup the data. In other servers I usually make an AMI and deploy to a new server in case of a problem?

Best Answer

In constrast to @Christopher's comment:

1) deploying a custom AMI through EB is an anti-pattern. Every time EB updates the base platform, you will need to recreate your custom AMI.

2) Yes, manual configuration changes on the server is an anti-pattern. But specifying configuration as part of your deployment unit is recommended practice.

Have a look at the AWS EB documentation on Customizing Software on Windows Servers.

3) You should not have any state on your server that needs to be backed up. Everything you need to deploy the application is in your deployment package and EB configuration. EB uses health checks and auto-scaling to ensure your environment is always running.