Reputation: 33
Previously I have my Java project on aws but due to some financial reason I move project onto digital ocean instance , now I want to stop/terminate those (dev & prod) instances from aws console .Problem is we using RDS for the project so if I stop/terminate the ec2 instance it affect my database ?
Upvotes: 0
Views: 152
Reputation: 308
RDS instances are DB Architectures and are totally different instances than AWS EC2. RDS are independent of any EC2 , rather you can use RDS as the DB and host your Compute Engine in GCP or Azure and link them both together.
Networking is a main issue here, and you need to describe and put them in correct VPC Configuration and subnets, so that its not globally accesible.
Coming to your question, no RDS won't be terminated just because you terminate the EC2, it will keep running until and unless you explicitly terminate it.
Upvotes: 2