Coder Social home page Coder Social logo

exanubes / ecs-fargate-deployment Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 4.0 269 KB

Repository from exanubes.com for Deploying ECS Fargate Application

Home Page: https://exanubes.com/blog/ecs-fargate-deployment

JavaScript 14.80% TypeScript 83.83% Dockerfile 1.37%
aws-cdk ecs fargate route-53 alb vpc

ecs-fargate-deployment's Introduction

ECS Fargate Deployment

Repository from exanubes.com for Deploying ECS Fargate Application.

This repository is using AWS CDK v2 and is not compatible with AWS CDK v1 bootstrap stack.

Commands:

Run the following commands inside infrastructure directory for building, deploying and destroying the stacks

npm run build
npm run cdk:deploy
npm run cdk:destroy

Both of these commands use the aws-cli sts service to get the account id and aws IAM role exanubes-cloudformation-access in order to dynamically provide role arn. Make sure you're using the account you want to deploy the stacks to and that you have the role created either with the same name or different name and change the scripts in package.json.

ecs-fargate-deployment's People

Contributors

exanubes avatar

Stargazers

 avatar

Watchers

 avatar  avatar

ecs-fargate-deployment's Issues

Running "npm run build && npm run cdk:deploy -- --all" generates EcrStack error

EcrStack failed: Error: EcrStack: This CDK deployment requires bootstrap stack version '6', found an older version. Please run 'cdk bootstrap'.
    at CloudFormationDeployments.validateBootstrapStackVersion (/Users/mbellemo/Projects/invoice-management/infrastructure/node_modules/aws-cdk/lib/api/cloudformation-deployments.ts:436:13)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at CloudFormationDeployments.publishStackAssets (/Users/mbellemo/Projects/invoice-management/infrastructure/node_modules/aws-cdk/lib/api/cloudformation-deployments.ts:411:7)
    at CloudFormationDeployments.deployStack (/Users/mbellemo/Projects/invoice-management/infrastructure/node_modules/aws-cdk/lib/api/cloudformation-deployments.ts:299:5)
    at CdkToolkit.deploy (/Users/mbellemo/Projects/invoice-management/infrastructure/node_modules/aws-cdk/lib/cdk-toolkit.ts:208:24)
    at initCommandLine (/Users/mbellemo/Projects/invoice-management/infrastructure/node_modules/aws-cdk/lib/cli.ts:310:12)

EcrStack: This CDK deployment requires bootstrap stack version '6', found an older version. Please run 'cdk bootstrap'.

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.