Skip to content

Instantly share code, notes, and snippets.

@mahendra0859
Last active December 18, 2020 12:32
Show Gist options
  • Save mahendra0859/3dbb6f6ada9cd72cd3190567cf29366c to your computer and use it in GitHub Desktop.
Save mahendra0859/3dbb6f6ada9cd72cd3190567cf29366c to your computer and use it in GitHub Desktop.
AWS Management Console

AWS Management Console

Updating Environment Variables (.env) in ECS for backend

  • Elastic Container Service
    -> staging-cluster -> Tasks -> Task Defination -> Create new revision -> Configure via JSON

    Add JSOn in follwoning way

    {
        "name":"JWT_SECRET"
        "value":"lorm ipsum"
    }
    

    -> Save -> create

    • Elastic Container Service
      -> staging-cluster -> Check services -> Update -> Add latest revision -> Skip To Review -> Update Service

Navigating to Cloudwatch to see the backend logs from ECS(Elastic Container Service)

  • Elastic Container Service
    -> staging-cluster -> Tasks -> Task -> expand Containers -> Log driver: awslogs View logs in CloudWatch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment