AWS Classic v5.32.0, Mar 17 23
Try the new Preview AWS Native if you need AWS resources not available in the classic version.
AWS Classic v5.32.0 published on Friday, Mar 17, 2023 by Pulumi
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.