Search code examples
amazon-web-servicesvpsrds

Remove AWS VPC Instance and its RDS


I want to remove VPS Instance in AWS and it's RDS.How to remove the both services in my account.


Solution

  • Your question is confusing because the title mentions VPS, while your question mentions VPC and RDS. So, here's some definitions:

    • An Amazon EC2 instance is a virtual machine that runs in the AWS cloud. Some people might refer to a virtual machine as a Virtual Private Server (VPS), but within AWS the term VPS is only really used with a virtual machine provisioned via Amazon Lightsail.
    • An Amazon Virtual Private Cloud (VPC) is a virtual network in which resources (eg Amazon EC2 instances can be created). There is a Default VPC provided in an AWS account that should not (in general) be deleted.
    • Amazon Relational Database Service (RDS) provides fully-managed database instances for SQL databases such as SQL Server, My SQL, Oracle, PostgreSQL.

    If you wish to remove an Amazon RDS instance, go to the RDS management console, select the instance, then in the Instance Actions menu select Delete.

    See: Deleting a DB Instance

    If you wish to remove an Amazon EC2 instance, go to the EC2 management console, select the instance, then go to the Actions menu and select Instance State -> Terminate.

    See: Terminate Your Instance

    I do not recommend that you delete your VPC unless you created it yourself.