This is the source repository for the Pulumi code to manage the base infrastructure that supports the online store of the Zephyr Archaeotech Emporium. It's used in Pulumi's Zephyr series of blog posts to discuss best practices when using Pulumi to manage infrastructure and applications.
To deploy this infrastructure with Pulumi, you need to:
- have the Pulumi CLI installed, and ensure you are signed into a backend;
- have NodeJS installed; and
- have the AWS CLI installed and configured for your AWS account.
Follow these steps to deploy the base infrastructure that will support Zephyr's online store:
- Clone this repository to your local system (if you haven't already).
- Run
npm install
to install all necessary dependencies. - Run
pulumi stack init <name>
to create a new stack. - Set your desired AWS region with
pulumi config set aws:region <region-name>
. - Run
pulumi up
.
NOTE: You'll see Pulumi.test.yaml
and Pulumi.prod.yaml
stack files in this repository. These are here for illustrative purposes (to tie back to the Pulumi blog series) and will not impact your ability to use the steps above unless you use a stack name of "test" or "prod" for your stack.
This Pulumi project deploys a VPC using Crosswalk for AWS. You can see the VPC IDs and public/private subnet IDs using pulumi stack output
.