How do I delete or terminate my Amazon EC2 resources?

How do I delete or terminate my Amazon EC2 resources?


How do I delete or terminate my Amazon EC2 resources?

Skip directly to the demo: 0:32

For more details see the Knowledge Center article with this video: https://repost.aws/knowledge-center/d

Saurabh shows you how to delete or terminate your Amazon EC2 resources.

0:00 Introduction
0:32 Identify active resources in your AWS account
3:09 Delete or terminate EC2 resources
3:36 Closing

Subscribe:
More AWS videos - http://bit.ly/2O3zS75
More AWS events videos - http://bit.ly/316g9t4

ABOUT AWS
Amazon Web Services (AWS) is the world’s most comprehensive and broadly adopted cloud platform, offering over 200 fully featured services from data centers globally. Millions of customers — including the fastest-growing startups, largest enterprises, and leading government agencies — are using AWS to lower costs, become more agile, and innovate faster.

#AWS #AmazonWebServices #CloudComputing


Content

0.05 -> [Music]
1.01 -> [Applause]
4.96 -> [Music]
12.16 -> hello i am saurabh a cloud support
14.639 -> engineer here at aws office in northern
16.96 -> virginia today i am going to show you
19.84 -> how to list the active amazon elastic
21.92 -> compute cloud resources using aws
24.32 -> systems manager automation document and
26.72 -> then delete or terminate the active
28.64 -> resources let's get started
31.92 -> before we start let's check the aws
34.16 -> regions where the active ec2 resources
36.64 -> are present by checking your monthly
38.8 -> billing and cost management console
41.84 -> open the billing and cost management
43.52 -> console from your primary account
46.8 -> then select the elastic compute cloud
49.2 -> option
51.039 -> here you can see the aws regions where
53.6 -> the ec2 resources are located
56.079 -> along with the name of the resources
59.28 -> now we use the aws support list ec2
62 -> resources aws systems manager automation
64.879 -> document to list the active ec2
67.04 -> resources
68.56 -> this automation document returns
70.56 -> information on ec2 instances and related
73.52 -> resources such as amazon elastic block
76.56 -> store volumes elastic ip addresses and
79.68 -> amazon ec2 auto scaling groups from the
82.159 -> aws regions that you specify
85.439 -> by default the information is gathered
87.759 -> from all regions and appears in the
89.759 -> output
90.72 -> to run the document follow these steps
94.079 -> in the aws management console open the
96.479 -> systems manager service
99.119 -> from the left navigation pane under
101.28 -> change management choose automation
104.88 -> in the execution section select execute
107.439 -> automation
109.28 -> in the search automation document tab
111.759 -> search for aws support list ec2
114.159 -> resources
115.52 -> and then select the document
118.64 -> the next page provides you all the
120.479 -> information about the document and the
122.479 -> api calls that will be performed in your
124.479 -> aws account
126.32 -> select execute automation
129.52 -> next in the execute automation document
132.08 -> page select the type of execution
135.2 -> here i will select simple execution
138.48 -> below choose the appropriate selection
140.64 -> for input parameters and tags
143.52 -> and then select execute
146.8 -> next find the executed steps and their
149.44 -> status
153.599 -> in the execution status section check
156.16 -> that the overall status is success
159.44 -> after the status has changed to success
161.92 -> select the outputs tab
163.92 -> you will see the resources associated
166 -> with the ec2 instances along with the
168.319 -> regions where the resources are present
171.12 -> now to terminate the resources follow
173.519 -> the steps
175.519 -> after you identify the resources from
177.519 -> the output section go ahead and delete
179.76 -> the unnecessary resources
182.319 -> i will terminate the auto scaling group
184.239 -> frankfurt underscore asg residing in eu
187.36 -> central 1 region
189.84 -> in the ec2 service page on the aws
192.08 -> console select the auto scaling groups
194.56 -> option located in the left navigation
196.64 -> pane
198.239 -> select the desired auto scaling group
199.92 -> and choose delete
201.84 -> all the ec2 instances launched under
203.84 -> this auto scaling group will be
205.36 -> terminated
206.799 -> you can check the aws cost and usage
209.76 -> report or aws cost explorer to confirm
213.04 -> that the resources are no longer
214.799 -> generating charges
216.959 -> so now you know how to use the aws
219.28 -> systems manager automation document to
221.76 -> list all the active ec2 resources and
223.92 -> then terminate them thanks for watching
227.04 -> and happy cloud computing from all of us
229.12 -> here at aws
230.83 -> [Music]
231.87 -> [Applause]
233.62 -> [Music]
238.83 -> [Music]

Source: https://www.youtube.com/watch?v=e0RegZZ9i04