Securing infrastructure using Bastion Host ⚔️
Let's assume you have some virtual machines and you need to keep those private without exposing them to the public internet as a security concern. So you need to put those in a private network or avoid assigning public IPs to each VMs.
But then how do we access those VMs remotely if they don’t have a public IP? That's where Bastion Host comes in.
So what is Bastion Host??
Bastion host is a single-purpose server that let authorized users access a private network from an external network such as the internet.
How does it work?? 🤔
As I previously mentioned our VMs stayed private and don’t have public IPs. All of those only have private IPs. To access those VMs using private IPs, we can create a new virtual machine with public IP called Bastion Host and only expose necessary ports to the public internet.
So we can access our VMs through our Bastion Host as this image shows.
Recommended by LinkedIn
Advantages of Bastion Host 😁
Disadvantages of Bastion Host 🥲
Best practices when securing Bastion Host 🔒
Thank you for reading and please tell me if there are any mistakes I made or improvements that I can do to my article. 🫡
Software Developer | Shopify | React | Angular | Node.js | Next.js
2y❤❤ nice work
Lecturer and Head - Department of Information & Communication Technology, Uva Wellassa University (MPhil in Computer Science, BSc(Hons) in Software Engineering, Dip in HRM, CTHE, CFPM, MIEEE, MYSF, MIS, MSLAIHEE, MLKNOG)
2yNice article
Software Engineer at Surge Global
2yNice work💪
Software Engineer - AI/R&D @ Insighture
2yNice work
Senior Systems Engineer | Virtualization | Enterprise Backup | Server & Storage
2yGreat Hope to try it