The application that we were going to discuss in this video was running on Elastic Beanstalk (EBS) service in Amazon Web Services (AWS). Intermittently this application was throwing HTTP 502 Bad Gateway error. In this video, let’s discuss how we troubleshooted and resolved this HTTP 502 bad gateway error in Elastic Beanstalk service.
If you liked this video, you'll love our Java Performance Masterclass. Learn more:
https://ycrash.io/java-performance-tr...
- - - - - - - - - - - - - -
Topics covered:
1:11 - AWS Elastic Beanstalk architecture
3:08 - HTTP 502 Bad Gateway error
4:19 - HTTP 502 thrown by Nginx in AWS EBS
6:14 - Out of memory: Kill process or sacrifice child
10:00 - Root cause – Lack of RAM
11:11 - Solution – Upgrading EC2 instance RAM capacity
- - - - - - - - - - - - - -
Links shared in the video:
AWS Elastic BeanStalk service:
https://aws.amazon.com/elasticbeanstalk/
Open source yCrash script:
https://github.com/ycrash/ycrash-agent
Similar problem faced by another application which was running in an non-AWS environment:
https://answers.ycrash.io/question/jv...
- - - - - - - - - - - - - -
Read more in this blog:
https://blog.ycrash.io/2022/05/30/tro...
- - - - - - - - - - - - - -
Our Tools:
yCrash: https://yCrash.io/
GCeasy: https://gceasy.io/
HeapHero: https://heaphero.io/
fastThread Tool: https://fastthread.io/
- - - - - - - - - - - - - -
SRE Community:
Need help in troubleshooting your performance problems?
Post here: https://answers.ycrash.io/
- - - - - - - - - - - - - -
Follow us on:
LinkedIn: / ycrash
Instagram: / ycrash_rca
Facebook: / tier1app
Twitter: / tier1app
- - - - - - - - - - - - - -
Related blog and video:
1. DETECTIVE STORY: TROUBLESHOOTING TIMEOUT IN AWS ELASTIC BEANSTALK:
https://blog.tier1app.com/2017/03/09/...
2. AWS Cloud watch + yCrash = Monitoring + RCA:
• AWS Cloud watch + yCrash = Monitoring + RCA
- - - - - - - - - - - - - -
#502badgateway | #502badgatewayissue | #502badgatewayerror | #oracle502badgateway | #oraclecloud502badgateway | #oraclecloud502badgatewayissue | #502badgatewayfix | #oracle502badgatewayfix | #oracleloadbalancer502badgateway | #502errortroubleshootfix | #nginxbadgateway | #oraclecloudbadgateway | #oraclecloudbadgatewayfix | #502troubleshooting | #howtoenableautoscalinginaws | #504gatewaytimeouterror | #504gatewaytimeout | #gatewayerror