1 Answer
- Newest
- Most votes
- Most comments
3
I'd strongly recommend you to check event history of ASG.
Please follow this re:Post Knowledge Center Article step by step, you'll most likely find the cause.
Assuming you already have strict inbound rules in attached security groups, most likely this would be coming from within application, some scheduled job/load.
Additionally take a look at following two posts, which would clarify little more:
Relevant content
- Accepted Answerasked 2 months ago
- Accepted Answerasked a year ago
- asked a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated 3 months ago
Were you able to find the cause?
Not yet. When running the same API application on an ec2 instance it works fine but deploying the application on ASG something gets restarted exactly around 7 AM UTC. The CPU utilization and other EBS-related metrics spike up.
can you simply create a shell script and schedule it for that time to see what are the processes running, something as below: echo "------ps-------" ps -ef echo "------top-------" top echo "------sar-------" sar
Put these commands in a script and schedule it at the interval of 2 minutes for an hour
*/5 7 * * * load.sh>load.dmp
You'll get some clue, what's going on.