Skip to content

leoelcoder/mean-stack-exercise-infrastructure

Repository files navigation

mean-stack-exercise-infrastructure

AWS Infrastructure project for the Mean Stack Challenge.

The cdk.json file tells the CDK Toolkit how to execute your app.

Requirements

  • cdk 2.1029.2
  • aws cli 2.27.42
  • nodejs 22.14.0

How to deploy

Make sure you have configured the AWS Credentials on your machine. For demo purposes, the deployment instructions use the default profile credentials, so make sure you have something like this in your .aws/credentials file:

[default]
aws_access_key_id = XXXXXXXXXXXXXXXXXXX
aws_secret_access_key = XXXXXXXXXXXXXXXXXXX

Install AWS CLI using the instructions in this link: https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html

Install cdk globally in your machine

npm install -g cdk

Install node dependencies

npm run install

Initialize the cdk boostrap in your AWS account (first time):

cdk boostrap

And finally deploy the code

you can deploy all at once:

cdk deploy --all

or deploy the stacks individually

cdk  deploy NetworkStack
cdk deploy AppStack

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published