RUVIDEO
Поделитесь видео 🙏

VisualVM with AWS EC2

📁 Лайфстайл 👁️ 17 📅 04.12.2023

The full instructional document accompanying this video series can be found on Google Drive at https://drive.google.com/file/d/1DVke37qictTw5TYzp3FKsrpHjKN3gTk9/view?usp=sharing

In this video:
1) Set up and SSH Tunnel with SOCKS proxy on Port 10,000
☐Open Putty. In Session, set Host Name as ec2-user@(public DNS).
Example: [email protected]
☐Go to Connection - SSH - Auth and under “Private key file for authentication” enter the path to the correct ppk file for the instance.
☐Under Connection - SSH - Tunnels, type 10000 into Source Port, select Dynamic, then Add. “D10000” should appear in Forwarded Ports. Select Open to open the tunnel.
☐To run code with JMX monitoring, Start the application with the following arguments added:
java -Dcom.sun.management.jmxremote.port=3333 \
-Dcom.sun.management.jmxremote.ssl=false \
-Dcom.sun.management.jmxremote.authenticate=false \
YourJavaApp
(see https://docs.oracle.com/javase/7/docs/technotes/guides/visualvm/jmx_connections.html)
☐If necessary, include classpath and package, or
any other necessary arguments, as well. Example:
java -cp IntroToCompSci/homework/interfaces/QuizGenerator/src/main/java \
-Dcom.sun.management.jmxremote.port=3333 \
-Dcom.sun.management.jmxremote.ssl=false \
-Dcom.sun.management.jmxremote.authenticate=false \
edu.yu.intro.interfaces.quizgenerator.QuizGenerator
(Slashes at the end of each line are added to allow a single command to be typed in the Bash across multiple lines, using the Enter key.)

2) Set Up VisualVM To Use SOCKS Proxy

☐In the VisualVM menu, select Tools - Options - Network.
Select Manual Proxy Settings and set
SOCKS PROXY as localhost, and the port as 10,000.

☐Make sure to uncheck Use the same proxy settings for all protocols.

3) Add Remote Host To VisualVM

☐Get the Private IP Address of the EC2 instance, viewable in the console.

☐In VisualVM, select File - Add Remote Host, enter the Private IP Address as the Host Name, and select OK.

☐Right click on the host and select Add JMX Connection.

☐Enter [Private IP Address]:[JMX Port]. In our case the port is 3333. Example: 172.31.16.181:3333

☐Select okay and wait for VisualVM to connect and begin profiling the currently running application

Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «VisualVM with AWS EC2», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.

Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.

Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!

Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.