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

The Role of Automation in Modern iGaming Infrastructure

The iGaming industry operates in a fast-moving digital environment where scalability, reliability, security and speed are essential. Online sportsbooks and casino platforms need to handle high traffic,…

Read More

Running LLM Workloads Like Any Other Production Service: A DevOps Playbook for Model APIs

A model API is a dependency like any other, and it deserves the same operational discipline. Photo via Unsplash. When a team ships its first feature built…

Read More

Combining Tech Skills with Higher Education: Strategies for Top University Admissions

The modern higher education landscape has shifted dramatically, moving away from purely standardized metrics toward holistic evaluations where applied, real-world skills matter deeply. Secondary school students who…

Read More

What a Financial Strategy Partner Brings Beyond Basic Advisory

Basic advisory explains what happened in a business. A financial strategy partner helps leaders decide what should happen next. That difference matters when growth creates cash pressure,…

Read More

Designing a production-ready web scraping pipeline that survives blocks, retries, and CI

Most scraping failures in production look like random network noise. The real cause is usually a weak contract between your code and the target site. You deploy…

Read More

Top 7 Bare-Metal AI Infrastructure Providers

Bare-metal AI infrastructure providers give teams dedicated physical compute, but the buying experience varies considerably: some supply individual GPU servers that your engineers operate, while others take…

Read More
Subscribe
Notify of
guest
2 Comments
Newest
Oldest Most Voted
Skylar Bennett
Skylar Bennett
10 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
10 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