Giter Club home page Giter Club logo

zephyr-data's Introduction

Zephyr Archaeotech Emporium Online Store - Data Infrastructure

This is the source repository for Pulumi code to manage the data infrastructure supporting the online store for 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.

Deploying with Pulumi

Prerequisites

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.

Dependencies

This project has a dependency on the base infrastructure managed by the Pulumi code in the zephyr-infra repository. You will need to have created a stack from that project and run a successful pulumi up before starting here. You will also need to know the organization name, project name, and stack name for the stack that manages the base infrastructure. All of this information can be obtained by running pulumi stack ls in the directory where the zephyr-infra project resides.

Instructions

Follow these steps to use this Pulumi program to create the data infrastructure for the Zephyr online store:

  1. Clone this repository to your local system (if you haven't already).
  2. Run npm install to install all necessary dependencies.
  3. Run pulumi stack init <name> to create a new stack. For the smoothest, experience, use the same stack name here that you used with your zephyr-infra stack (see the Dependencies section).
  4. Set your desired AWS region with pulumi config set aws:region <region-name>.
  5. (Optional) Use pulumi config set to set values for baseOrgName, baseProjName, and baseStackName. These configuration values correspond to the organization, project, and stack where the base infrastructure was deployed. Unless you know you need specific values here, the default values are typically sufficient (the code will default to using your current organization, your current stack name, and the project name "zephyr-infra").
  6. 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 two Aurora clusters, each with three database instances. You can view the database endpoints for these clusters using pulumi stack output after a successful pulumi up run.

zephyr-data's People

Contributors

scottslowe avatar

Stargazers

Eric Rudder avatar

Watchers

Luke Hoban avatar Pat Gavlin avatar Eric Rudder avatar  avatar

Forkers

aaronfriel

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.