---
title: "Comment by Rishabh Mishra on \"Accessing AWS RDS from Private EC2: How to Install Database Clients on Private EC2 Instances Without an AWS NAT Gateway\" | Hashnode"
description: "The temporary-route approach is the smart part, and the revert to strict isolation is what makes it safe to reuse. I would snapshot the private route table befo"
url: "https://hashnode.com/posts/accessing-aws-rds-from-private-ec2-how-to-install-database-clients-on-private-ec2-instances-without-an-aws-nat-gateway/6ae661c675d16366ba37b8b4/comment/6ae6ab22aa02001ec1253696"
---

[Discussion](https://hashnode.com/posts/accessing-aws-rds-from-private-ec2-how-to-install-database-clients-on-private-ec2-instances-without-an-aws-nat-gateway/6ae661c675d16366ba37b8b4)

Comment [Accessing AWS RDS from Private EC2: How to Install Database Clients on Private EC2 Instances Without an AWS NAT Gateway](https://hashnode.com/posts/accessing-aws-rds-from-private-ec2-how-to-install-database-clients-on-private-ec2-instances-without-an-aws-nat-gateway/6ae661c675d16366ba37b8b4)

[Nov 1](https://hashnode.com/posts/accessing-aws-rds-from-private-ec2-how-to-install-database-clients-on-private-ec2-instances-without-an-aws-nat-gateway/6ae661c675d16366ba37b8b4/comment/6ae6ab22aa02001ec1253696)

The temporary-route approach is the smart part, and the revert to strict isolation is what makes it safe to reuse. I would snapshot the private route table before adding the bastion route, so rolling back is a restore rather than a reconstruction from memory.

[Albert Ifunanya Dominic](https://hashnode.com/@nanyaalbert)

[Nov 1](https://hashnode.com/posts/accessing-aws-rds-from-private-ec2-how-to-install-database-clients-on-private-ec2-instances-without-an-aws-nat-gateway/6ae661c675d16366ba37b8b4/comment/6ae6ab22aa02001ec1253696#reply-6ae79e3eabc3cbc6d691e989)

Great Point Mishra. Thanks for reading.

[Rishabh Mishra](https://hashnode.com/@rushdeploy)

[Nov 2](https://hashnode.com/posts/accessing-aws-rds-from-private-ec2-how-to-install-database-clients-on-private-ec2-instances-without-an-aws-nat-gateway/6ae661c675d16366ba37b8b4/comment/6ae6ab22aa02001ec1253696#reply-6ae7fbb94e6d305c35d1222c)

Thanks, Albert. One check I would add after the revert is confirming no outbound route to the bastion remains, since that is easy to miss once access works again.
