aws-samples / aws-samples/elasticache-refarch-chatapp

Environment failed to launch as it entered Terminated state

Open
#5 8 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
149
Forks
70
PR merge metrics
No merged PRs in 30d

Description

### DESCRIPTION

Create stack (using required KeyName), and after 8 minutes, run into this:

11:34:57 UTC-0700 | CREATE_FAILED | AWS::ElasticBeanstalk::Environment | ChatEnvironment | Environment failed to launch as it entered Terminated state
-- | -- | -- | -- | --

I don't know enough about the internals to test this locally and find out why it was terminating. Nothing in the UI is showing why/how it failed, so I don't know how to further troubleshoot and provide something useful.

Any instructions how to run NodeJS + Nginx + Redis locally? Maybe could reproduce locally.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the stack creation using the required KeyName and the AWS::ElasticBeanstalk::Environment resource named ChatEnvironment, then investigate the reported transition to Terminated after about eight minutes. Compare the NodeJS, Nginx, and Redis setup with a local reproduction; done means documenting a reproducible cause or clear local-run and troubleshooting instructions.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, nginx, node.js, redis
Domain
backend, cloud, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.