How to Create an IIS Web Server on a Windows EC2 Instance Using a Bootstrap Script
Launch instance

Give server name windows-webserver

Select windows server 2022

Instance type and key

Network settings


Configure storage

User data Install-WindowsFeature -name Web-Server -IncludeManagementTools New-Item -Path C:\inetpub\wwwroot\index.html -ItemType File -Value "KTExperts is a knowledge Sharing Platform" -Force

Launch instance

Copy the public IP address

View the page
