Tutorial: Deploy a "hello, world!" application with CodeDeploy (Windows Server)
In this tutorial, you deploy a single webpage to a single Windows Server Amazon EC2 instance running Internet Information Services (IIS) as its web server. This webpage displays 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 CodeDeploy (Windows Server, Ubuntu Server, or Red Hat Enterprise Linux).
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 must adapt those that cover
Windows-based directory paths such as c:\temp
. Also, if you want to connect
to the Amazon EC2 instance, you need a client application that can connect 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 CodeDeploy, including configuring your 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