Articles → AWS → Bootstrap Script In AWS

Bootstrap Script In AWS






Purpose





Prerequisite Knowledge





Bootstrap In Action




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


Picture showing adding the powershell script for installing IIS in the user data section while creating an EC2 instance




Picture showing the IIS server installed on EC2 instance



Posted By  -  Karan Gupta
 
Posted On  -  Friday, October 8, 2021

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250