Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 477 Bytes

File metadata and controls

7 lines (4 loc) · 477 Bytes

Deploy

AWS Web Server Component

Deploy an EC2 instance with the @pulumi/aws package, using a common module for creating an instance. We define a function, createInstance, in webserver.js and use it in the main program, index.js.

For a walkthrough of the main example, see Simple Web Server Using Amazon EC2.