Giter VIP home page Giter VIP logo

aws-sqs-asg-cloudwatch's Introduction

aws-sqs-asg-cloudwatch

Scalable AWS ECS Fargate services with SQS

Requirements

  • Terraform v1.7.5
  • provider registry.terraform.io/hashicorp/aws v5.41.0
  • Nodejs v20

Build and publish docker image

Requirements

  • Specified DOCKER_HUB_ACCESS_TOKEN secret in GitHub repository secrets. The token is should be taken from your DockerHub account.
  • Specified DOCKER_HUB_USERNAME variable in GitHub repository variables. The username is should be taken from your DockerHub account.
  • The DATABASE_CONNECTION_URI could be with any default value, the prod value will be generated by terraform on apply stage.
  • The REDIS_HOST could be with any default value, the prod value will be generated by terraform on apply stage.

Instructions

The build and publish docker image the process is automatically initiated on package version bump triggered by running npm run version:patch or yarn version:patch from the repo root folder.

Terraform deployment

Requirements

  • Created AWS account
  • Created user with admin rights and downloaded AWS access key for this user AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY
  • The AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY should be stored in the GitHub secrets

Instructions

  • Create any pull request in GutHub
  • Comment in pull request /plan prod, where /plan is the action for terraform and prod in workspace
  • Check GitHub actions and in case no issues detected proceed with the next step
  • Comment in pull request /apply prod, where /apply is the action for terraform and prod in workspace
  • Check GitHub action result for errors

aws-sqs-asg-cloudwatch's People

Contributors

yzhbankov-rpp avatar yzhbankov avatar

Watchers

 avatar

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.