For this sample application, you have to add a source file to the EC2 instance. You can create the following files under the C:\Packt directory or any other directory. If you use another directory name, use that name in the following steps:
- Sample web page: Create a simple web page, index.html, under the C:\Packt directory and add the following contents:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Hi From Packt!!!</title> </head> <body> <h1>Hi From Packt!!!!!</h1> </body> </html>
- Script to run the application: Now you need to create a script, before-install.bat, which AWS CodeDeploy uses to set ...