1. Packages
  2. AWS Classic
  3. How-to Guides
  4. AWS Web Server Component

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.28.1 published on Thursday, Mar 28, 2024 by Pulumi

AWS Web Server Component

aws logo

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.28.1 published on Thursday, Mar 28, 2024 by Pulumi

    View Code Deploy

    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.

    aws logo

    Try AWS Native preview for resources not in the classic version.

    AWS Classic v6.28.1 published on Thursday, Mar 28, 2024 by Pulumi