Skip to content

Instantly share code, notes, and snippets.

View vikaslalwani's full-sized avatar
🚩

Vikas Lalwani vikaslalwani

🚩
View GitHub Profile
@vikaslalwani
vikaslalwani / Heap_Dump_Java_AWS_ECS.md
Created February 22, 2021 04:51 — forked from pwillis-els/Heap_Dump_Java_AWS_ECS.md
Dumping heap of a Java process running in AWS ECS

Heap dumping a Java process running in AWS ECS

Note: this guide is designed for AWS ECS services, but starting from Step 4 is functionally equivalent to any Docker container on a Linux host.

Step 1. Look up ECS service

  1. Log into the AWS Console using the appropriate AWS account
  2. Navigate to AWS ECS service clusters (https://console.aws.amazon.com/ecs/home)
  3. Make sure you are in the correct region, if not, switch to the correct region (second drop-down menu in top right corner)
  4. Select the correct cluster (ex: https://console.aws.amazon.com/ecs/home?region=us-east-1#/clusters//services)
  5. In the Services tab, In the 'Filter in this page' text box, type the name of the service