Skip to content

Instantly share code, notes, and snippets.

View kwbtdisk's full-sized avatar
😆
Am exciting building Application in JS/TS

Daisuke Kawabata kwbtdisk

😆
Am exciting building Application in JS/TS
View GitHub Profile
@kamermans
kamermans / docker_ephemeral_create.sh
Last active September 22, 2022 18:32
AWS EC2 script to mount Instance Store 0 and 1 as Docker temp and volume storage
#!/bin/sh -e
# This script will DESTROY /dev/xvdb and /dev/xvdc and remount them
# for Docker temp and volume storage.
# It is intended for EC2 instances with 2 ephemeral SSD instance stores
# like the c3.xlarge instance type.
service docker stop || true
# Setup Instance Store 0 for Docker Temp
# (set in /etc/default/docker)