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

Bihar Tourism: Complete Travel Guide to Tourist Places, Culture, Food & Things to Do

The plains along the Ganges hold the foundations of ancient empires, global centers of learning, and the origins of two world religions. Bihar Tourism offers travelers an…

Read More

Complete Guide to Upcoming Events, Tickets & Things to Do

Lucknow is widely known for its classical heritage, historic architecture, and legendary culinary traditions. Beyond its timeless monuments, the city is also home to an active, modern…

Read More

What MedTech Teams Should Understand Before Building SaMD Products

Software is no longer a supporting feature in much of medical technology. It is increasingly the product itself, responsible for interpreting data, guiding clinical decisions, monitoring patients,…

Read More

Best Knee Replacement Hospitals in India: How to Choose the Right Hospital & Surgeon

Facing chronic joint stiffness or learning that a family member may need joint surgery brings up critical healthcare decisions. When daily tasks like climbing stairs, walking around…

Read More

Events in Kolkata: Complete Guide to Upcoming Events, Tickets & Things to Do

Kolkata has a distinct pulse, driven by a rich heritage that effortlessly intersects with a modern, dynamic cultural calendar. From intimate acoustic sessions in heritage cafes to…

Read More

How to Create a Professional Training Agenda in Minutes with the DevOpsSchool Training Agenda Builder

Designing a good training program sounds simple: Choose a topic โ†’ divide it into sessions โ†’ start teaching. In reality, creating a professional training agenda requires much…

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