Skip to content

Instantly share code, notes, and snippets.

View serithemage's full-sized avatar
🏠
Working from home

Jung Do Hyun serithemage

🏠
Working from home
View GitHub Profile
cd ~/
sudo yum install ruby -y
sudo amazon-linux-extras install epel -y > /dev/null 2>&1
sudo yum install figlet -y
echo "ruby version"
ruby --version
if [ -f ~/master.zip ]
then
echo "lolcat master.zip already download"
@serithemage
serithemage / instance-types.sh
Last active June 2, 2023 18:41 — forked from trestletech/instance-types.sh
Get all EC2 Instance Types in All Availability Zones
#!/bin/bash
# Getting list of Availability Zones from target region
# all
#target_regions=$(aws ec2 describe-regions --output text --query 'Regions[*].[RegionName]' | sort)
# default region
target_regions=$(aws configure get region)