Learn how to use the AWS CLI to spin up AWS instances in no time

Multicolored keyboard
Multicolored keyboard
Photo by Aryan Dhiman on Unsplash

What Is the AWS CLI?

curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" && unzip awscliv2.zip && sudo ./aws/install

Image for post
Image for post
Google Chrome Inspector Developer Tool connected to VPN

Writing bash scripts to automate user account management

Image for post
Image for post
Photo by Michael Dziedzic on Unsplash

“I’ve locked myself out of my VM — I can’t access it!”


Using Terminal to Check Macbook Pro Fan Speed and To Find Macbook Pro Temperature?

Image for post
Image for post
stock photography visualization/representation of macOS (Big Sur)

Image for post
Image for post

AWS charges you for DNS zones?

AWS charges for non-attached Elastic IP addresses?


Get started with WASM today

Containers
Containers
Photo by Lucas van Oort on Unsplash.


5 easy ways to restart your Docker containers

The number five
The number five
Photo by Ralph Hutter on Unsplash.

1. How to List Each Running Docker Container

docker ps

2. How to List (All) Running Docker Containers

docker ps -a

3. How to Run Each Docker Container as a Background Process Using Docker Detached Mode

docker run -d 

4. How to Run Each Docker Container With Output Allocated to Your Terminal?

docker run -d -p 80:80 --name <IMAGE_NAME> -t <IMAGE_NAME>

5. How to Restart a Docker Container After Exited?

docker update --restart unless-stopped <CONTAINER_ID>
docker update --restart unless-stopped $(docker ps -q)


Image for post
Image for post

Someone reading a book by the window, visual artwork including translucent images design
Someone reading a book by the window, visual artwork including translucent images design
A designer reading a book by the window for illustrative purposes instead of developing code on a computer without the internet.

Firstly, What Can You Do Without The Internet?


GIMP! Running from a docker container using XQuartz
GIMP! Running from a docker container using XQuartz
FROM debian:buster-slim

RUN apt-get update && apt-get install -y \
gimp \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*

ENTRYPOINT [ "gimp" ]
docker build -t gimp . 
docker run \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-e DISPLAY=$DISPLAY \
--net=host \
-v $(PWD)/Pictures:/root/Pictures \
gimp:latest
$ docker run \
> -v /tmp/.X11-unix:/tmp/.X11-unix \
> -e DISPLAY=unix$DISPLAY \
> --net=host \
> -v $(PWD)/Pictures:/root/Pictures \
> gimp:latest
Cannot open…

About

Steven Rescigno

Designer | Developer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store