Quantcast
Channel: Configuration & Scripting
Viewing all articles
Browse latest Browse all 780

IIS issue: When trying to download code from AWS S3 and deploy in IIS server using Power Shell script while Windows startup Default Application pool is not started

$
0
0

Hi,

I am trying to launch Amazon EC2 windows server 2008 R2 instance using AWS Auto Scaling feature. I have used cusmized AMI in Autoscaling Launch configuration to launch an instance.I have placed Power Shell script in AMI. 

The responsibility of script is to download code from AWS S3 and deploy in IIS server while windows startup first time.

When i check status, IIS is started succesfully. But default Application pool is not started.

To resolve this issue i have written one scheduled script. It helps to start the application pool if any application pool is in stopped state.

Application pool is started but still i am not able to communicate with IIS server through browser. This all happens when i launch EC2 instance first time. 

Please help any one to resolve this issue.

Thanks in advance


Viewing all articles
Browse latest Browse all 780

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>