Problem: You are running a critical Windows Server on AWS EC2 and the C: drive is almost full (storage volume) but it should zero downtime (No Restart, No Stop then Start). Is this possible on AWS EC2?
Yes, it is possible.
Check the instructions below.
Test Windows Server
||Microsoft Windows Server 2016 Base
||30 GiB – General Purpose SSD (gp2)
We are increasing the Storage size from 30 GiB to the target size of 50 GiB.
You can set any size that you want as long as it is bigger than the current size.
To resize the volume of the Windows Drive on AWS you can follow the steps below. Continue reading Resizing Storage Volume for AWS EC2 Windows without Restarts/Downtime
If you are studying Kubernetes and having a hard time running Minikube on an EC2 Instance, you are not alone. I had a hard time doing it when it was my first time.
Below are the steps (and some comments) that I took to help me run Minikube on my EC2 Instance.
Installation of Minikube on EC2 Ubuntu
1. Run a public EC2 Server with the following setup
||Ubuntu Server 18.04 LTS (HVM), SSD Volume Type
||8 GB (gp2)
||– Key: Name
– Value: Minikube
||Name: Minikube Security Group
Later we will be editing this.
||Create your own keypair.
You will need this to SSH to your EC2 Instance
The above setup is within the AWS Free Tier so you could try Minikube on EC2 without spending money. But you can run Minikube on a bigger instance if you like.
2. SSH into your created EC2 Instance using your keypair.
ssh [email protected]<ipv4_public_ip> -i <keypair>.pem
3. Install kubectl
curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl
chmod +x ./kubectl
sudo mv ./kubectl /usr/local/bin/kubectl
4. Install Docker
sudo apt-get update && \
sudo apt-get install docker.io -y
Minikube requires Docker. Continue reading Running Minikube in AWS EC2 (Ubuntu)