Tutorial: Deploy a "Hello, World!" Application with AWS CodeDeploy (Windows Server)
In this tutorial, you will deploy a single web page to a single Windows Server Amazon EC2 instance running Internet Information Services (IIS) as its web server. This web page will display a simple "Hello, World!" message.
This tutorial builds on concepts that were introduced in the Step 5: Try the Sample Deployment Wizard. If you have not yet completed it, you may want to do that first.
This tutorial's steps are presented from a Windows perspective. Although you can complete
most of these steps on a local machine running Linux, macOS, or Unix, you will need to adapt those that cover
Windows-based directory paths such as
c:\temp. Also, if you want to connect
to the Amazon EC2 instance, you will need a client application that is capable of connecting through
Remote Desktop Protocol (RDP) to the Amazon EC2 instance running Windows Server. (Windows includes an RDP
connection client application by default.)
Before you start this tutorial, you must complete the prerequisites in Getting Started, including configuring your IAM user, installing or upgrading the AWS CLI, and creating an IAM instance profile and a service role.
- Step 1: Launch a Windows Server Amazon EC2 Instance
- Step 2: Configure Your Source Content to Deploy to the Windows Server Amazon EC2 Instance
- Step 3: Upload Your "Hello, World!" Application to Amazon S3
- Step 4: Deploy Your "Hello, World!" Application
- Step 5: Update and Redeploy Your "Hello, World!" Application
- Step 6: Clean Up Your "Hello, World!" Application and Related Resources