Prerequisites
Before you start, download the sample application source bundle from GitHub: eb-node-express-sample-v1.1.zip.
You will also need a command line terminal or shell to run the commands in the procedures. Example commands are preceded by a prompt symbol ($) and the name of the current directory, when appropriate:
~/eb-project$ this is a command this is output
Note
You can run all commands in this tutorial on a Linux virtual machine, and OS X machine, or an Amazon EC2 instance running Amazon Linux. If you need a development environment, you can launch a single-instance Elastic Beanstalk environment and connect to it with SSH.
This tutorial uses a command line ZIP utility to create a source bundle that you can deploy to Elastic Beanstalk. To use the
zip
command in Windows, you can installUnxUtils
, a lightweight collection of useful command-line utilities likezip
andls
. (Alternatively, you canuse Windows Exploreror any other ZIP utility to create source bundle archives.)To install UnxUtils
Download
UnxUtils
.Extract the archive to a local directory. For example,
C:\Program Files (x86)
.Add the path to the binaries to your Windows PATH user variable. For example,
C:\Program Files (x86)\UnxUtils\usr\local\wbin
.Open a new command prompt window and run the
zip
command to verify that it works:> zip Copyright (C) 1990-1999 Info-ZIP Type 'zip "-L"' for software license. ...