Fully featured low overhead profiler for Java EE and Java SE platforms.
Easy to use performance and memory .NET profiler for Windows and Linux.
Performance monitoring and profiling of Jenkins, Bamboo, TeamCity, Gradle, Maven, Ant and JUnit.

YourKit with AWS Session Manager

Moderators: Vladimir Kondratyev, Anton Katilin

YourKit with AWS Session Manager

Postby dhearn » Mon Nov 02, 2020 2:30 pm

Hi - we are evaluating use of AWS Session Manager for access to our Amazon EC2 instances without having to whitelist IP addresses of our technical staff (as we currently do for SSH access). The only thing left to get working is YourKit access and I've not been successful getting it to work thus far. Note that I'm trying to use YK without having to pre-load the agent in our Tomcat instances (the production workloads we want to monitor). This all works fine if I specify the public IP address, the normal SSH port (22) and the SSH user. With Session Manager, I get a "Failed to connect to..." message. Has anyone done this or have some advice on how it could be done?
Dave Hearn
Posts: 1
Joined: Fri Oct 30, 2020 2:36 pm

Re: YourKit with AWS Session Manager

Postby Anton Katilin » Mon Nov 02, 2020 3:36 pm

Hi Dave,

Just to clarify: you attach from the profiler UI. The configuration with the public IP address, port 22 and the SSH user works, but the alternate IP/port/user does not. Is this correct?

It's not a known AWS specific issue, however, please try the following generic suggestions.

1. Could you please provide the full exception message and stack trace from the profiler UI log file from your local machine: <user home>/.yjp/log/profiler-ui-<pid>.log
In case of doubt please send entire log file to [email protected]

2. Please ensure you correctly specified all connection parameters. Do you authenticate with a key file or a password? If a password or passphrase are needed, please specify them in the profiler UI.
Anton Katilin
Posts: 6062
Joined: Wed Aug 11, 2004 8:37 am

Return to Java Profiler

Who is online

Users browsing this forum: No registered users and 1 guest

YourKit uses cookies and other tracking technologies to improve your browsing experience on our website, to show you personalized content and targeted ads, to analyze our website traffic, and to understand where our visitors are coming from.

By browsing our website, you consent to our use of cookies and other tracking technologies in accordance with the Privacy Policy.