Moser-ss / infra-poc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

POC for infra setup

This project uses Pulumi to manage Infrastructure as a Code

Structure

index.ts file declares the using TypeScript the EKS cluster and the services deployed in that cluster

The manifests directory contains the Kubernetes manifests in YAML represents the services it will be deployed in the cluster. Pulumi doesn't use them. They only exist to guide the people who aren't familiar with Pulumi but know how to read the YAML manifests

Experiment in your AWS account

Prerequisites

  1. Get Started with Kubernetes on Pulumi

Steps

After cloning this repo, from this working directory, run these commands:

  1. Install the required Node.js packages:

    $ npm install
  2. Create a new stack, which is an isolated deployment target for this example:

    $ pulumi stack init
  3. Update the stack.

    $ pulumi up
  4. Once you've finished experimenting, tear down your stack's resources by destroying and removing it:

    $ pulumi destroy --yes
    $ pulumi stack rm --yes

About


Languages

Language:TypeScript 100.0%