Find the Best Cosmetic Hospitals

Explore trusted cosmetic hospitals and make a confident choice for your transformation.

โ€œInvest in yourself โ€” your confidence is always worth it.โ€

Explore Cosmetic Hospitals

Start your journey today โ€” compare options in one place.

Wetty – How to Install & Access Wetty (Web-based SSH) on AWS EC2 linux to access using browser


โœ… 1. Install Docker (if not installed)

sudo apt update
sudo apt install -y docker.io
sudo systemctl enable --now docker
Code language: CSS (css)

โœ… 2. Start Wetty using Docker (recommended + stable)

This avoids all Node/gc-stats errors you faced earlier.

Run Wetty in container:

sudo docker run -d \
  --name wetty \
  -p 80:3000 \
  wettyoss/wetty \
  --ssh-host=127.0.0.1

What this means:

  • Docker runs Wetty internally on port 3000
  • EC2 instance listens on port 80
  • No need for Node.js / npm on host
  • No gc-stats errors
  • Very stable
Run Wetty in container BUT access the HOST Machine

sudo docker run -d \
  --name wetty \
  -p 80:3000 \
  wettyoss/wetty \
  --force-ssh \
  --ssh-host=172.31.47.185 \
  --ssh-port=22 \
  --ssh-user=ubuntu

โœ… 3. Access Wetty in your browser

Use either:

http://13.200.229.28/wetty
Code language: JavaScript (javascript)

or

http://ec2-13-200-229-28.ap-south-1.compute.amazonaws.com/wetty
Code language: JavaScript (javascript)

โš ๏ธ Wetty does NOT load on / โ†’ You must add /wetty


โœ… 4. Verify Container is Running

docker ps

Should show:

PORTS
0.0.0.0:80->3000/tcp

Find Trusted Cardiac Hospitals

Compare heart hospitals by city and services โ€” all in one place.

Explore Hospitals
I'm Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked at Cotocus and regularly write about technology, travel, investing, health, product reviews, and digital marketing through my various platforms. I publish technical articles at DevOps School, travel stories at Holiday Landmark, stock market insights at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow, and SEO and digital marketing strategies at Wizbrand.

Related Posts

How eLearning Platforms Help Businesses Keep DevOps Skills Up to Date

As a DevOps team, youโ€™re expected to keep moving, but sometimes your technology ends up moving faster than you can.  There are constant updates and new things…

Read More

The Cultural Travelerโ€™s Guide to Bhopal: Heritage, Arts, and Local Events

Planning a trip to central India often brings travelers face-to-face with a rich tapestry of heritage, natural beauty, and vibrant community life. Bhopal, the capital of Madhya…

Read More

Understanding Patient Evaluation Methods for Spinal Care Options

Spine-related discomfort can profoundly impact daily life, altering everything from basic mobility to overall well-being. Because the spine is a complex network of vertebrae, discs, nerves, and…

Read More

Top 10 Corporate Card Management Tools: Features, Pros, Cons & Comparison

Introduction Corporate Card Management Tools are modern financial platforms designed to help businesses issue, control, track, and reconcile company spending through physical and virtual corporate cards. Unlike…

Read More

Top 10 Product Feed Management Tools: Features, Pros, Cons & Comparison

Introduction Product Feed Management Tools are specialized software platforms that help businesses organize, optimize, transform, and distribute product data across multiple online channels such as marketplaces, comparison…

Read More

Top 10 SLA Management Tools: Features, Pros, Cons & Comparison

Introduction Service Level Agreements (SLAs) define the expectations, responsibilities, and performance benchmarks between service providers and customers. SLA Management Tools help organizations track, monitor, measure, and enforce…

Read More
Subscribe
Notify of
guest
2 Comments
Newest
Oldest Most Voted
Skylar Bennett
Skylar Bennett
8 months ago

This is a really practical and wellโ€‘written guide to setting up webโ€‘based SSH access with Wetty on AWS EC2 using Docker. I appreciate how the post walks through installing Docker, running the Wetty container, mapping ports (host port 80 to container port 3000), and then explains how to access the terminal via a browser โ€” that makes remote access much simpler and more accessible. The fact that this approach avoids needing Node.js/npm on the host and sidesteps common errors like โ€œgcโ€‘statsโ€ (by using the Docker image) makes the setup robust and easier to maintain. For DevOps engineers or anyone managing cloud servers who want quick, browser-based SSH access, this tutorial is a solid timeโ€‘saver and a good example of Dockerโ€‘first thinking. ๐Ÿ‘

Jason Mitchell
Jason Mitchell
8 months ago

This article offers a clean, practical walkthrough for using Wetty to expose SSH sessions through a browserโ€”a great fit for cloudโ€‘based setups like AWSโ€ฏEC2. It clearly lays out the prerequisites (installing Docker) and the container command (docker run โ€‘d โ€‘โ€‘name wetty โ€‘p 80:3000 wettyoss/wetty โ€‘โ€‘sshโ€‘host=127.0.0.1) that avoids tedious Node/npmโ€‘based installs. Besides the โ€œhowโ€, the article also points out useful details such as mapping host and container ports, using /wetty as the path, and verifying the container is running. For DevOps teams or interns building remote access or management workflows in a secure way, this tutorial bridges setup to usage extremely well.

2
0
Would love your thoughts, please comment.x
()
x