Articles → AWS → Bootstrap script in AWS

Bootstrap script in AWS






Purpose





Prerequisite knowledge





Bootstrap in action






<powershell>
   Install-WindowsFeature -name Web-Server -IncludeManagementToolsNew-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

Click to Enlarge



Picture showing the IIS server installed on EC2 instance

Click to Enlarge


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

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250