<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: ponnarasu</title>
    <description>The latest articles on DEV Community by ponnarasu (@ponnarasu).</description>
    <link>https://dev.to/ponnarasu</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1213038%2Fd20aef6d-4354-4ea8-bd8c-e4326b46f3d8.png</url>
      <title>DEV Community: ponnarasu</title>
      <link>https://dev.to/ponnarasu</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ponnarasu"/>
    <language>en</language>
    <item>
      <title>AWS : Connect EC2 in Terminal (Ubuntu) &amp; Installing Apache2.</title>
      <dc:creator>ponnarasu</dc:creator>
      <pubDate>Mon, 20 Nov 2023 01:37:52 +0000</pubDate>
      <link>https://dev.to/ponnarasu/connect-ec2-in-terminal-ubuntu-installing-apache2-5dma</link>
      <guid>https://dev.to/ponnarasu/connect-ec2-in-terminal-ubuntu-installing-apache2-5dma</guid>
      <description>&lt;p&gt;&lt;strong&gt;Prerequisite :&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Make sure the EC2 instance running in AWS.&lt;/li&gt;
&lt;li&gt;Key-pair to connect EC2&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Step#1 :&lt;/p&gt;

&lt;p&gt;Open the terminal in Ubuntu OS and move to directory where *.pem file saved in local. Then verify the file permission of the file. &lt;/p&gt;

&lt;p&gt;&lt;code&gt;devops@kaniyam:~/Desktop/Ponnarasu/Devops$ stat -c %a Ubuntu_Demo_server_key.pem &lt;br&gt;
644&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Step#2 : &lt;br&gt;
Change the File permission to 600, which mean, only owner has access to read and write file and other doesn't have access. &lt;/p&gt;

&lt;p&gt;&lt;code&gt;devops@kaniyam:~/Desktop/Ponnarasu/Devops$ chmod 600 Ubuntu_Demo_server_key.pem &lt;br&gt;
devops@kaniyam:~/Desktop/Ponnarasu/Devops$ stat -c %a Ubuntu_Demo_server_key.pem &lt;br&gt;
600&lt;br&gt;
&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Step#3 : &lt;br&gt;
Connecting EC2 instance in Terminal by SSH.( SSH terminal should be open in EC2 ).&lt;/p&gt;

&lt;p&gt;&lt;code&gt;devops@kaniyam:~/Desktop/Ponnarasu/Devops$ **ssh -i Ubuntu_Demo_server_key.pem  ubuntu@3.98.120.128**&lt;br&gt;
The authenticity of host '3.98.120.128 (3.98.120.128)' can't be established.&lt;br&gt;
ED25519 key fingerprint is SHA256:lNe/eooCjYSwIbu3p5HkbkB+WoW6I897bn0TaCBAYss.&lt;br&gt;
This key is not known by any other names&lt;br&gt;
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes&lt;br&gt;
Warning: Permanently added '3.98.120.128' (ED25519) to the list of known hosts.&lt;br&gt;
Welcome to Ubuntu 22.04.3 LTS (GNU/Linux 6.2.0-1012-aws x86_64)&lt;br&gt;
&lt;/code&gt;&lt;br&gt;
Step#4 :&lt;br&gt;
Update the Ubuntu OS &lt;/p&gt;

&lt;p&gt;&lt;code&gt;ubuntu@ip-172-31-1-176:~$ **sudo apt-get update**&lt;br&gt;
Hit:1 http://ca-central-1.ec2.archive.ubuntu.com/ubuntu jammy InRelease&lt;br&gt;
Get:2 http://ca-central-1.ec2.archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]&lt;br&gt;
&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Step#5 :&lt;br&gt;
Set/update the root password using below command.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;ubuntu@ip-172-31-1-176:~$ **sudo passwd root**&lt;br&gt;
New password: &lt;br&gt;
Retype new password: &lt;br&gt;
passwd: password updated successfully&lt;br&gt;
&lt;/code&gt;&lt;br&gt;
Step#6 :  Command to find the Public IP in terminal.&lt;/p&gt;

&lt;p&gt;`ubuntu@ip-172-31-1-176:~$ &lt;strong&gt;curl ifconfig.me&lt;/strong&gt;&lt;br&gt;
3.98.120.128&lt;/p&gt;

&lt;p&gt;ubuntu@ip-172-31-1-176:~$ &lt;strong&gt;curl icanhazip.com&lt;/strong&gt;&lt;br&gt;
3.98.120.128&lt;/p&gt;

&lt;p&gt;ubuntu@ip-172-31-1-176:~$ &lt;strong&gt;curl &lt;a href="http://checkip.amazonaws.com"&gt;http://checkip.amazonaws.com&lt;/a&gt;&lt;/strong&gt;&lt;br&gt;
3.98.120.128&lt;br&gt;
`&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Installing APACHE2 in Instance.&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;&lt;code&gt;buntu@ip-172-31-1-176:~$ sudo apt install apache2&lt;br&gt;
Reading package lists... Done&lt;br&gt;
Building dependency tree... Done&lt;br&gt;
Reading state information... Done&lt;br&gt;
The following additional packages will be installed:&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Start : &lt;br&gt;
&lt;code&gt;ubuntu@ip-172-31-1-176:~$ sudo systemctl start apache2&lt;br&gt;
ubuntu@ip-172-31-1-176:~$ sudo systemctl enable apache2&lt;br&gt;
&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Status : &lt;br&gt;
&lt;code&gt;ubuntu@ip-172-31-1-176:~$ sudo systemctl status apache2&lt;br&gt;
&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ufd54srF--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ixe950n58ao4th5wk20f.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ufd54srF--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ixe950n58ao4th5wk20f.png" alt="Image description" width="777" height="278"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Open the Apache Webserver in Firefox. &lt;/p&gt;

&lt;p&gt;Failed to Open. &lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Dto3gC7s--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ppqs39erchpu4j508hk9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Dto3gC7s--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ppqs39erchpu4j508hk9.png" alt="Image description" width="800" height="207"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Cause : &lt;br&gt;
Only SSH port is on the EC2 Instance, so Apache server not connecting.&lt;/p&gt;

&lt;p&gt;Adding http: port in the security group . &lt;/p&gt;

&lt;p&gt;Step#1 : &lt;br&gt;
Existing Security Group : &lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--bUmkUEm4--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ovqkectijnmqkm2avr8d.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--bUmkUEm4--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ovqkectijnmqkm2avr8d.png" alt="Image description" width="800" height="96"&gt;&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;Step#2 : &lt;br&gt;
Add rule by clicking the "Add Rule" button. &lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Bip3ygCj--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3s98rugh9szi2h2e9e4u.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Bip3ygCj--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3s98rugh9szi2h2e9e4u.png" alt="Image description" width="800" height="318"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Step#3 :&lt;br&gt;
 Choose  the Type as "HTTP" and select source as "0.0.0.0/0" to connect the public IP from anywhere. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--i_RHLKCP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6megr4cctdcqmpdy1qx9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--i_RHLKCP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6megr4cctdcqmpdy1qx9.png" alt="Image description" width="800" height="187"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After adding the New security rule.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--JOW0hnZ6--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gl5hpmfyqbos9s9ijhtk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--JOW0hnZ6--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gl5hpmfyqbos9s9ijhtk.png" alt="Image description" width="800" height="154"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Refresh the Apache page : &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Ac4116-0--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/i3nn4155kds5ahiq3rbh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Ac4116-0--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/i3nn4155kds5ahiq3rbh.png" alt="Image description" width="800" height="528"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>AWS : EC2 Creation</title>
      <dc:creator>ponnarasu</dc:creator>
      <pubDate>Sat, 18 Nov 2023 15:08:44 +0000</pubDate>
      <link>https://dev.to/ponnarasu/aws-es2-creation-4f21</link>
      <guid>https://dev.to/ponnarasu/aws-es2-creation-4f21</guid>
      <description>&lt;p&gt;What is EC2 ?&lt;/p&gt;

&lt;p&gt;EC2 is a Virtual Server offer by Amazon to running the application on AWS.&lt;/p&gt;

&lt;p&gt;Installing ES2 in AWS.&lt;br&gt;
Step# 1 : &lt;br&gt;
Login to Your AWS account and go to the ES2 Dashboard. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--R2oO0sEf--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/svk6ycnccrvcgu7tru5j.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--R2oO0sEf--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/svk6ycnccrvcgu7tru5j.png" alt="Image description" width="800" height="334"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Step# 2 :&lt;br&gt;
In the EC2 Dashboard, Click the "Launch Instance" button(Orange color).&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--9IkzTZC9--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8p5ik7gm1mrftnr51hla.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--9IkzTZC9--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8p5ik7gm1mrftnr51hla.png" alt="Image description" width="538" height="204"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Step# 3: &lt;br&gt;
In the Launch Instance Page, Name your new Web server/Virtual Server and selecting OS Image ( AWS Linux, Ubuntu, Windows, Redhat) then choose the Latest version of the OS and Architecture. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--THyaHUs3--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/83lv4cbvhbkh3pu79hby.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--THyaHUs3--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/83lv4cbvhbkh3pu79hby.png" alt="Image description" width="793" height="189"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--hQpH2GBT--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jdpxwfapog1hvcshlkq6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--hQpH2GBT--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jdpxwfapog1hvcshlkq6.png" alt="Image description" width="788" height="720"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Step#4: &lt;br&gt;
In the Launch Instance Page, Choose the Instance type( No. of CPU's , Memory ) Re command is t2.micro for the study purpose, go head with higher performance machines for Organization purpose. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--cXOooChq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/affs055ktw42c8ac1nk1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--cXOooChq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/affs055ktw42c8ac1nk1.png" alt="Image description" width="784" height="280"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Step# 5:&lt;br&gt;
Creating Key Pair and it used to open your ES2 instance in your machine. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--n41KU5Tm--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/f5k9l6z4rqq1y4luzacn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--n41KU5Tm--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/f5k9l6z4rqq1y4luzacn.png" alt="Image description" width="791" height="244"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Name the Key pair file and choose the RSA decryption/encryption algorithm then save the file *.pem in Local, don't share it. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--bu8oAepD--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mntvfjgfiv0pnfrcjgvv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--bu8oAepD--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mntvfjgfiv0pnfrcjgvv.png" alt="Image description" width="599" height="633"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Step# 6:&lt;br&gt;
Configure Network Settings on your EC2 instance. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--WB2-Nsh_--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/y2wa2txfimcyc4c4jvcc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--WB2-Nsh_--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/y2wa2txfimcyc4c4jvcc.png" alt="Image description" width="789" height="678"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;By clicking "Edit" button, you can change the configuration. &lt;br&gt;
Enable the "Auto-assign public IP" to connect your instance in public. Create and name your Security group to controlling the port access. We are open the ssh port to connect the EC2 from my local machine. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ViMRvvNL--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2vwfressmp7emtthkvgy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ViMRvvNL--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2vwfressmp7emtthkvgy.png" alt="Image description" width="624" height="831"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Step #7: Storage. &lt;br&gt;
Choose the appropriate storage to be require for the application. Re command would be 8GB for learning purpose. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--OyDB_WmA--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/w6lz0cde4duopt4flzut.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--OyDB_WmA--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/w6lz0cde4duopt4flzut.png" alt="Image description" width="631" height="375"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Step# 8: &lt;br&gt;
Creating/installing the EC2 instance by click the "Launch Instance" button. You can create more than one instance with this configuration by change the "Number of Instance".&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--bZZTTxKX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/logxftdxh03x5mcpi7qt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--bZZTTxKX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/logxftdxh03x5mcpi7qt.png" alt="Image description" width="310" height="654"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Below page will be navigate once EC2 successfully running. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--hYJ5iyVr--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6osy1b4bvacnrby7cazx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--hYJ5iyVr--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6osy1b4bvacnrby7cazx.png" alt="Image description" width="800" height="168"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Step# 9 : &lt;br&gt;
By clicking the "Instance ID", we can see the all the configuration of EC2. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--H2_NTakm--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/90rnz2t091p0zxfbk4qb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--H2_NTakm--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/90rnz2t091p0zxfbk4qb.png" alt="Image description" width="800" height="148"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--kmv0FWVJ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ndara5jdfxcpljnkove5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--kmv0FWVJ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ndara5jdfxcpljnkove5.png" alt="Image description" width="800" height="301"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Detach/Terminate Instance&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Step #1:&lt;br&gt;
In EC2 dashboard, Choose the instance name from list and select the Instance State drop down. It will show instance states, Stop, start, terminate, etc.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--LC2CV-4b--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lqbqo6lnn8q6wgu2kofd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--LC2CV-4b--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lqbqo6lnn8q6wgu2kofd.png" alt="Image description" width="135" height="162"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Choose the Instance state "Terminate Instance" will detach the instance which are choose in the Dashboard. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--xgFpLZ6E--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lrpumlfv8faj8l3ooypq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--xgFpLZ6E--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lrpumlfv8faj8l3ooypq.png" alt="Image description" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Choose the "Terminate" button on the pop-up screen. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--DV7npHFo--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mhjl7l2fx4wq9y2lh7uw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--DV7npHFo--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mhjl7l2fx4wq9y2lh7uw.png" alt="Image description" width="660" height="282"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Will take few minutes to terminated the EC2 Instance. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--YW7MuoB2--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2kdy62qsdln1fj8x0xgu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--YW7MuoB2--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2kdy62qsdln1fj8x0xgu.png" alt="Image description" width="800" height="118"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--6z-4mUfd--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0zq8ccmdm5usbn2u6iaz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--6z-4mUfd--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0zq8ccmdm5usbn2u6iaz.png" alt="Image description" width="800" height="109"&gt;&lt;/a&gt;  &lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
