aws-samples / aws-samples/aws-refarch-moodle
basic_health_check.sh Fails Consistently During Auto Scaling Health Check
- Dominant language
- No language data
- Stars
- 149
- Forks
- 141
- PR merge metrics
- No merged PRs in 30d
Description
I am encountering an issue where the basic_health_check.sh script consistently fails during the Auto Scaling process. Below are the details of the deployment process and the problem encountered.
What I Have Tried:
- Verified that the server is running and can be accessed manually using curl after the deployment fails.
- Added a sleep 30 after start_application.sh to ensure the application has enough time to start up.
- Double-checked that the endpoint http://localhost:80/status.txt is correct and accessible.
- Reviewed logs, but no obvious errors related to the application startup were found.
Any help or suggestions would be greatly appreciated!
Contributor guide
Research direction
Start by reading basic_health_check.sh and start_application.sh, then inspect how the Auto Scaling health check invokes them and how http://localhost:80/status.txt is served. Reproduce the deployment while reviewing startup and health-check logs; done means the health check succeeds consistently during Auto Scaling.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, shell
- Domain
- cloud, devops, infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100