Open Control Panel: Access the Amazon EC2 console at https://console.aws.amazon.com/ec2/.
Select Instances: In the navigation pane, choose Instances.
Select Instance to Terminate: Choose the instance you want to terminate, then select Instance state, and choose Terminate instance.
Confirm Termination: When prompted for confirmation, choose Terminate.
When you delete a VPC using the Amazon VPC console interface, the following VPC components will also be deleted for you:
Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.
Terminate all instances in the VPC. For more information, see Terminate Your Instance in the Amazon EC2 User Guide for Linux Instances.
Open the Amazon VPC console at https://console.aws.amazon.com/vpc/.
In the navigation pane, select Your VPCs.
Choose the VPC you want to delete and select Actions, then Delete VPC.
If there are resources you need to delete or terminate before we can delete the VPC, we will display them. Delete or terminate these resources and try again. Otherwise, we will display the resources we will delete along with the VPC. Review the list and then proceed to the next step.
(Optional) If you have a Site-to-Site VPN connection, you can choose the option to delete it. If you plan to use the customer gateway with another VPC, we recommend keeping the Site-to-Site VPN connection and the gateways. Otherwise, you will have to reconfigure your customer gateway device after you create a new Site-to-Site VPN connection.
When prompted for confirmation, enter delete
and then select Delete.