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.
Not what you're looking for?
-
To practice deploying to an Amazon Linux or Red Hat Enterprise Linux (RHEL) Amazon EC2 instance instead, see Tutorial: Deploy WordPress to an Amazon EC2 Instance (Amazon Linux or Red Hat Enterprise Linux and Linux, macOS, or Unix).
-
To practice deploying to an on-premises instance instead, see Tutorial: Deploy an Application to an On-Premises Instance with AWS CodeDeploy (Windows Server, Ubuntu Server, or Red Hat Enterprise Linux).
This tutorial builds on concepts that were introduced in the Step 5: Try the AWS CodeDeploy 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 with AWS CodeDeploy, including configuring your IAM user, installing or upgrading the AWS CLI, and creating an IAM instance profile and a service role.
Topics
- 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


