Accessing private EC2 using the bastion host/jump host

This post is continuous post from the previous post – Deploying EC2 with Private and Public Subnet Using Terraform in AWS. Bastion hosts are instances that sit within your public subnet and are typically accessed using the SSH or RDP. The primary role for the bastion host is that it’s act as the “jump” server…

Deploying EC2 with Private and Public Subnet Using Terraform in AWS

Terraform always the simple and easy way for us to deploying our infrastructure over the cloud, in this post, I will deploying 2 EC2 in the public and private subnet and try to access into the private EC2 using the public bastion host. A bastion host is a special-purpose computer on a network specifically designed and configured…

Using AWS CloudFormation to start/stop EC2/RDS instance

AWS getting more popular nowadays where more and more company moving their workload on the AWS cloud platform including the development and UAT environment. Normally development and UAT environment only use by the programmer or staff during the working hour which around 8 to 12 hours per day excluding the public holiday and weekend. Let’s…

Increase disk space on Linux EC2

You can attach an EBS volume as another device (ex. /dev/sdf) to an instance for more disk space. Once you have a mount point set in Linux OS, you can copy your website files there and point the web service config to point to that directory for the website. As another option, you can expand…, pub-3772983857049267, DIRECT, f08c47fec0942fa0