AWS
Ubuntu
ubuntu16.04

Setup Common Configuration in new AWS Ubuntu16.04 Server.

1. Setup timezone

# sudo timedatectl set-timezone Asia/Taipei

2. Mount EBS (Option)

# lsblk

# sudo mkfs -t ext4 /dev/xvdb
or
# sudo mkfs -t ext4 /dev/nvme1n1

# sudo mkdir -p /media/SecondDisk

# sudo mount /dev/xvdb /media/SecondDisk
or
# sudo mount /dev/nvme1n1 /media/SecondDisk

3. Auto mount EBS when boot (Option)

# sudo blkid -s UUID
/dev/xvdb: UUID="d0ada05e-4b41-49e8-adf0-fd48c4ac93dd"

# sudo vim /etc/fstab
...
...
...
UUID=d0ada05e-4b41-49e8-adf0-fd48c4ac93dd       /media/SecondDisk      ext4    defaults        0       0
...
...
...
:wq!