Debugging AWS Elasticbeanstalk
Feb 10, 2021
Elasticbeanstalk environment can go down due to multiple causes, here are few instances, which I faced, and the steps I followed to resolve the issues.
Ran out of diskspace — Not able ssh to EB to find the issues, even the logs were not listing anything
Sol:
- Increase the EBS root-volume to 50 GB(or as per the requirement)
- Terminate EB instances
- ASG will launch the new instances with increase root volume size.
IPv6 issues — Not able ssh to EB instances to find the issues, even the logs were not listing anything
Sol:
- Disabled ipv6 on vpc
- Terminate eb instances
- ASG will launch the new instances with increase root volume size.