Skip to content

Latest commit

 

History

History
45 lines (30 loc) · 906 Bytes

File metadata and controls

45 lines (30 loc) · 906 Bytes

Deploy

Packet Webserver

This example demonstrates creating a webserver in Packet.net

Running the Example

After cloning this repo, cd into it and run these commands.

  1. Create a new stack, which is an isolated deployment target for this example:

    $ pulumi stack init
  2. Install all of the dependencies for the application:

    $ npm install
  3. Deploy everything with the pulumi up command. This provisions the webserver:

    $ pulumi up
  4. After a couple minutes, your webserver will be ready.

    $ pulumi up
    ...
    
    Outputs:
      + ip  : "147.75.65.213"
      + name: "new-vervet"
  5. Once you are done, you can destroy all of the resources, and the stack:

    $ pulumi destroy
    $ pulumi stack rm