{"id":7675,"date":"2024-02-02T20:26:51","date_gmt":"2024-02-02T14:56:51","guid":{"rendered":"https:\/\/pheonixsolutions.com\/blog\/?p=7675"},"modified":"2024-02-02T20:28:51","modified_gmt":"2024-02-02T14:58:51","slug":"how-to-replace-a-security-group-of-an-ec2-instance-in-aws","status":"publish","type":"post","link":"https:\/\/pheonixsolutions.com\/blog\/how-to-replace-a-security-group-of-an-ec2-instance-in-aws\/","title":{"rendered":"How to replace a security group of an EC2 instance  in AWS"},"content":{"rendered":"\n<p>Introduction<\/p>\n\n\n\n<p>A security group\u00a0controls the traffic that is allowed to reach and leave the instance. It is a set of IP filter rules that define how to handle incoming (ingress) and outgoing (egress) traffic to both the public and private interfaces of an instance.<\/p>\n\n\n\n<p>Prerequisites<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>AWS root\/IAM access<\/li>\n\n\n\n<li>List of rules that need to be associated with  the instance <\/li>\n<\/ol>\n\n\n\n<p>Implementation<\/p>\n\n\n\n<p>Step 1: Log into the AWS account,  and select the EC2 service from the search bar<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/02\/Screen-Shot-2024-02-02-at-8.06.56-PM.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"377\" src=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/02\/Screen-Shot-2024-02-02-at-8.06.56-PM-1024x377.png\" alt=\"\" class=\"wp-image-7676\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/02\/Screen-Shot-2024-02-02-at-8.06.56-PM-1024x377.png 1024w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/02\/Screen-Shot-2024-02-02-at-8.06.56-PM-300x110.png 300w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/02\/Screen-Shot-2024-02-02-at-8.06.56-PM-768x282.png 768w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/02\/Screen-Shot-2024-02-02-at-8.06.56-PM-816x300.png 816w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/02\/Screen-Shot-2024-02-02-at-8.06.56-PM.png 1256w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>Step 2: Navigate to the Network &amp; Security  &gt;&gt; Security group and click on &#8220;create security group&#8221; to create a new one <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/02\/Screen-Shot-2024-02-02-at-8.10.46-PM.png\"><img loading=\"lazy\" decoding=\"async\" width=\"392\" height=\"360\" src=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/02\/Screen-Shot-2024-02-02-at-8.10.46-PM.png\" alt=\"\" class=\"wp-image-7677\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/02\/Screen-Shot-2024-02-02-at-8.10.46-PM.png 392w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/02\/Screen-Shot-2024-02-02-at-8.10.46-PM-300x276.png 300w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/02\/Screen-Shot-2024-02-02-at-8.10.46-PM-327x300.png 327w\" sizes=\"auto, (max-width: 392px) 100vw, 392px\" \/><\/a><\/figure>\n\n\n\n<p>Step 3: Add the required inbound and outbound rules by clicking on &#8220;add rule&#8221;. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/02\/Screen-Shot-2024-02-02-at-8.12.02-PM.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"305\" src=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/02\/Screen-Shot-2024-02-02-at-8.12.02-PM-1024x305.png\" alt=\"\" class=\"wp-image-7678\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/02\/Screen-Shot-2024-02-02-at-8.12.02-PM-1024x305.png 1024w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/02\/Screen-Shot-2024-02-02-at-8.12.02-PM-300x89.png 300w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/02\/Screen-Shot-2024-02-02-at-8.12.02-PM-768x229.png 768w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/02\/Screen-Shot-2024-02-02-at-8.12.02-PM-1536x457.png 1536w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/02\/Screen-Shot-2024-02-02-at-8.12.02-PM-2048x610.png 2048w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/02\/Screen-Shot-2024-02-02-at-8.12.02-PM-850x253.png 850w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>Step 4: Click on Create Security Group<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/02\/Screen-Shot-2024-02-02-at-8.12.56-PM.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"214\" src=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/02\/Screen-Shot-2024-02-02-at-8.12.56-PM-1024x214.png\" alt=\"\" class=\"wp-image-7679\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/02\/Screen-Shot-2024-02-02-at-8.12.56-PM-1024x214.png 1024w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/02\/Screen-Shot-2024-02-02-at-8.12.56-PM-300x63.png 300w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/02\/Screen-Shot-2024-02-02-at-8.12.56-PM-768x160.png 768w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/02\/Screen-Shot-2024-02-02-at-8.12.56-PM-1536x321.png 1536w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/02\/Screen-Shot-2024-02-02-at-8.12.56-PM-2048x427.png 2048w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/02\/Screen-Shot-2024-02-02-at-8.12.56-PM-850x177.png 850w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>Step 5: Navigate to the instance and select the instance that needs to replace the security group<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/02\/Screen-Shot-2024-02-02-at-8.14.23-PM.png\"><img loading=\"lazy\" decoding=\"async\" width=\"458\" height=\"552\" src=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/02\/Screen-Shot-2024-02-02-at-8.14.23-PM.png\" alt=\"\" class=\"wp-image-7680\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/02\/Screen-Shot-2024-02-02-at-8.14.23-PM.png 458w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/02\/Screen-Shot-2024-02-02-at-8.14.23-PM-249x300.png 249w\" sizes=\"auto, (max-width: 458px) 100vw, 458px\" \/><\/a><\/figure>\n\n\n\n<p>Step 6: Click on Actions and navigate to Security &gt;&gt; Change Security Group<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/02\/Screen-Shot-2024-02-02-at-8.15.41-PM-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"798\" height=\"564\" src=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/02\/Screen-Shot-2024-02-02-at-8.15.41-PM-1.png\" alt=\"\" class=\"wp-image-7682\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/02\/Screen-Shot-2024-02-02-at-8.15.41-PM-1.png 798w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/02\/Screen-Shot-2024-02-02-at-8.15.41-PM-1-300x212.png 300w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/02\/Screen-Shot-2024-02-02-at-8.15.41-PM-1-768x543.png 768w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/02\/Screen-Shot-2024-02-02-at-8.15.41-PM-1-424x300.png 424w\" sizes=\"auto, (max-width: 798px) 100vw, 798px\" \/><\/a><\/figure>\n\n\n\n<p> Step 7: Search for the required security group name in the Associated security groups and click on &#8220;Add security group&#8221;. Remove the existing security group by clicking on the &#8220;remove&#8221; option<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/02\/Screen-Shot-2024-02-02-at-8.21.15-PM.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"191\" src=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/02\/Screen-Shot-2024-02-02-at-8.21.15-PM-1024x191.png\" alt=\"\" class=\"wp-image-7683\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/02\/Screen-Shot-2024-02-02-at-8.21.15-PM-1024x191.png 1024w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/02\/Screen-Shot-2024-02-02-at-8.21.15-PM-300x56.png 300w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/02\/Screen-Shot-2024-02-02-at-8.21.15-PM-768x143.png 768w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/02\/Screen-Shot-2024-02-02-at-8.21.15-PM-1536x286.png 1536w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/02\/Screen-Shot-2024-02-02-at-8.21.15-PM-850x158.png 850w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/02\/Screen-Shot-2024-02-02-at-8.21.15-PM.png 1558w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>Step 8: Finally save the changes<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/02\/image.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"458\" src=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/02\/image-1024x458.png\" alt=\"\" class=\"wp-image-7684\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/02\/image-1024x458.png 1024w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/02\/image-300x134.png 300w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/02\/image-768x344.png 768w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/02\/image-1536x688.png 1536w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/02\/image-670x300.png 670w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/02\/image.png 1626w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p> <\/p>\n\n\n\n<p><br> <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction A security group\u00a0controls the traffic that is allowed to reach and leave the instance. It is a set of IP filter rules that define how to handle incoming (ingress) and outgoing (egress) traffic to both the public and private interfaces of an instance. Prerequisites Implementation Step 1: Log into&hellip; <a href=\"https:\/\/pheonixsolutions.com\/blog\/how-to-replace-a-security-group-of-an-ec2-instance-in-aws\/\" class=\"more-link read-more\" rel=\"bookmark\">Continue Reading <span class=\"screen-reader-text\">How to replace a security group of an EC2 instance  in AWS<\/span><i class=\"fa fa-arrow-right\"><\/i><\/a><\/p>\n","protected":false},"author":495,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[819],"tags":[985],"class_list":{"0":"post-7675","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"hentry","6":"category-aws","7":"tag-security-group","8":"h-entry","10":"h-as-article"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Pheonix Solutions - We Empower Your Business Growth<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/pheonixsolutions.com\/blog\/how-to-replace-a-security-group-of-an-ec2-instance-in-aws\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Pheonix Solutions - We Empower Your Business Growth\" \/>\n<meta property=\"og:description\" content=\"Introduction A security group\u00a0controls the traffic that is allowed to reach and leave the instance. It is a set of IP filter rules that define how to handle incoming (ingress) and outgoing (egress) traffic to both the public and private interfaces of an instance. Prerequisites Implementation Step 1: Log into&hellip; Continue Reading How to replace a security group of an EC2 instance in AWS\" \/>\n<meta property=\"og:url\" content=\"https:\/\/pheonixsolutions.com\/blog\/how-to-replace-a-security-group-of-an-ec2-instance-in-aws\/\" \/>\n<meta property=\"og:site_name\" content=\"PHEONIXSOLUTIONS\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/PheonixSolutions-209942982759387\/\" \/>\n<meta property=\"article:published_time\" content=\"2024-02-02T14:56:51+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-02-02T14:58:51+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/02\/Screen-Shot-2024-02-02-at-8.06.56-PM-1024x377.png\" \/>\n<meta name=\"author\" content=\"meenakshi k\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@pheonixsolution\" \/>\n<meta name=\"twitter:site\" content=\"@pheonixsolution\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"meenakshi k\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/how-to-replace-a-security-group-of-an-ec2-instance-in-aws\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/how-to-replace-a-security-group-of-an-ec2-instance-in-aws\\\/\"},\"author\":{\"name\":\"meenakshi k\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#\\\/schema\\\/person\\\/d573de3a2c02cbeca49e90581a88b98f\"},\"headline\":\"How to replace a security group of an EC2 instance in AWS\",\"datePublished\":\"2024-02-02T14:56:51+00:00\",\"dateModified\":\"2024-02-02T14:58:51+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/how-to-replace-a-security-group-of-an-ec2-instance-in-aws\\\/\"},\"wordCount\":194,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/how-to-replace-a-security-group-of-an-ec2-instance-in-aws\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/02\\\/Screen-Shot-2024-02-02-at-8.06.56-PM-1024x377.png\",\"keywords\":[\"security group\"],\"articleSection\":[\"AWS\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/how-to-replace-a-security-group-of-an-ec2-instance-in-aws\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/how-to-replace-a-security-group-of-an-ec2-instance-in-aws\\\/\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/how-to-replace-a-security-group-of-an-ec2-instance-in-aws\\\/\",\"name\":\"Pheonix Solutions - We Empower Your Business Growth\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/how-to-replace-a-security-group-of-an-ec2-instance-in-aws\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/how-to-replace-a-security-group-of-an-ec2-instance-in-aws\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/02\\\/Screen-Shot-2024-02-02-at-8.06.56-PM-1024x377.png\",\"datePublished\":\"2024-02-02T14:56:51+00:00\",\"dateModified\":\"2024-02-02T14:58:51+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/how-to-replace-a-security-group-of-an-ec2-instance-in-aws\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/how-to-replace-a-security-group-of-an-ec2-instance-in-aws\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/how-to-replace-a-security-group-of-an-ec2-instance-in-aws\\\/#primaryimage\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/02\\\/Screen-Shot-2024-02-02-at-8.06.56-PM.png\",\"contentUrl\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/02\\\/Screen-Shot-2024-02-02-at-8.06.56-PM.png\",\"width\":1256,\"height\":462},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/how-to-replace-a-security-group-of-an-ec2-instance-in-aws\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to replace a security group of an EC2 instance in AWS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/\",\"name\":\"Pheonix Solutions\",\"description\":\"We Empower Your Business Growth\",\"publisher\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#organization\",\"name\":\"PheonixSolutions\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/12\\\/logo.png\",\"contentUrl\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/12\\\/logo.png\",\"width\":454,\"height\":300,\"caption\":\"PheonixSolutions\"},\"image\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/PheonixSolutions-209942982759387\\\/\",\"https:\\\/\\\/x.com\\\/pheonixsolution\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#\\\/schema\\\/person\\\/d573de3a2c02cbeca49e90581a88b98f\",\"name\":\"meenakshi k\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/17c0a3923b9a31a41d8de2fdc928e514efe879fe17b6e5d2814b7f81ed2356e5?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/17c0a3923b9a31a41d8de2fdc928e514efe879fe17b6e5d2814b7f81ed2356e5?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/17c0a3923b9a31a41d8de2fdc928e514efe879fe17b6e5d2814b7f81ed2356e5?s=96&r=g\",\"caption\":\"meenakshi k\"},\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/author\\\/meenakshi\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Pheonix Solutions - We Empower Your Business Growth","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/pheonixsolutions.com\/blog\/how-to-replace-a-security-group-of-an-ec2-instance-in-aws\/","og_locale":"en_US","og_type":"article","og_title":"Pheonix Solutions - We Empower Your Business Growth","og_description":"Introduction A security group\u00a0controls the traffic that is allowed to reach and leave the instance. It is a set of IP filter rules that define how to handle incoming (ingress) and outgoing (egress) traffic to both the public and private interfaces of an instance. Prerequisites Implementation Step 1: Log into&hellip; Continue Reading How to replace a security group of an EC2 instance in AWS","og_url":"https:\/\/pheonixsolutions.com\/blog\/how-to-replace-a-security-group-of-an-ec2-instance-in-aws\/","og_site_name":"PHEONIXSOLUTIONS","article_publisher":"https:\/\/www.facebook.com\/PheonixSolutions-209942982759387\/","article_published_time":"2024-02-02T14:56:51+00:00","article_modified_time":"2024-02-02T14:58:51+00:00","og_image":[{"url":"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/02\/Screen-Shot-2024-02-02-at-8.06.56-PM-1024x377.png","type":"","width":"","height":""}],"author":"meenakshi k","twitter_card":"summary_large_image","twitter_creator":"@pheonixsolution","twitter_site":"@pheonixsolution","twitter_misc":{"Written by":"meenakshi k","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/pheonixsolutions.com\/blog\/how-to-replace-a-security-group-of-an-ec2-instance-in-aws\/#article","isPartOf":{"@id":"https:\/\/pheonixsolutions.com\/blog\/how-to-replace-a-security-group-of-an-ec2-instance-in-aws\/"},"author":{"name":"meenakshi k","@id":"https:\/\/pheonixsolutions.com\/blog\/#\/schema\/person\/d573de3a2c02cbeca49e90581a88b98f"},"headline":"How to replace a security group of an EC2 instance in AWS","datePublished":"2024-02-02T14:56:51+00:00","dateModified":"2024-02-02T14:58:51+00:00","mainEntityOfPage":{"@id":"https:\/\/pheonixsolutions.com\/blog\/how-to-replace-a-security-group-of-an-ec2-instance-in-aws\/"},"wordCount":194,"commentCount":0,"publisher":{"@id":"https:\/\/pheonixsolutions.com\/blog\/#organization"},"image":{"@id":"https:\/\/pheonixsolutions.com\/blog\/how-to-replace-a-security-group-of-an-ec2-instance-in-aws\/#primaryimage"},"thumbnailUrl":"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/02\/Screen-Shot-2024-02-02-at-8.06.56-PM-1024x377.png","keywords":["security group"],"articleSection":["AWS"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/pheonixsolutions.com\/blog\/how-to-replace-a-security-group-of-an-ec2-instance-in-aws\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/pheonixsolutions.com\/blog\/how-to-replace-a-security-group-of-an-ec2-instance-in-aws\/","url":"https:\/\/pheonixsolutions.com\/blog\/how-to-replace-a-security-group-of-an-ec2-instance-in-aws\/","name":"Pheonix Solutions - We Empower Your Business Growth","isPartOf":{"@id":"https:\/\/pheonixsolutions.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/pheonixsolutions.com\/blog\/how-to-replace-a-security-group-of-an-ec2-instance-in-aws\/#primaryimage"},"image":{"@id":"https:\/\/pheonixsolutions.com\/blog\/how-to-replace-a-security-group-of-an-ec2-instance-in-aws\/#primaryimage"},"thumbnailUrl":"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/02\/Screen-Shot-2024-02-02-at-8.06.56-PM-1024x377.png","datePublished":"2024-02-02T14:56:51+00:00","dateModified":"2024-02-02T14:58:51+00:00","breadcrumb":{"@id":"https:\/\/pheonixsolutions.com\/blog\/how-to-replace-a-security-group-of-an-ec2-instance-in-aws\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/pheonixsolutions.com\/blog\/how-to-replace-a-security-group-of-an-ec2-instance-in-aws\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/pheonixsolutions.com\/blog\/how-to-replace-a-security-group-of-an-ec2-instance-in-aws\/#primaryimage","url":"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/02\/Screen-Shot-2024-02-02-at-8.06.56-PM.png","contentUrl":"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2024\/02\/Screen-Shot-2024-02-02-at-8.06.56-PM.png","width":1256,"height":462},{"@type":"BreadcrumbList","@id":"https:\/\/pheonixsolutions.com\/blog\/how-to-replace-a-security-group-of-an-ec2-instance-in-aws\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/pheonixsolutions.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to replace a security group of an EC2 instance in AWS"}]},{"@type":"WebSite","@id":"https:\/\/pheonixsolutions.com\/blog\/#website","url":"https:\/\/pheonixsolutions.com\/blog\/","name":"Pheonix Solutions","description":"We Empower Your Business Growth","publisher":{"@id":"https:\/\/pheonixsolutions.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/pheonixsolutions.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/pheonixsolutions.com\/blog\/#organization","name":"PheonixSolutions","url":"https:\/\/pheonixsolutions.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/pheonixsolutions.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2016\/12\/logo.png","contentUrl":"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2016\/12\/logo.png","width":454,"height":300,"caption":"PheonixSolutions"},"image":{"@id":"https:\/\/pheonixsolutions.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/PheonixSolutions-209942982759387\/","https:\/\/x.com\/pheonixsolution"]},{"@type":"Person","@id":"https:\/\/pheonixsolutions.com\/blog\/#\/schema\/person\/d573de3a2c02cbeca49e90581a88b98f","name":"meenakshi k","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/17c0a3923b9a31a41d8de2fdc928e514efe879fe17b6e5d2814b7f81ed2356e5?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/17c0a3923b9a31a41d8de2fdc928e514efe879fe17b6e5d2814b7f81ed2356e5?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/17c0a3923b9a31a41d8de2fdc928e514efe879fe17b6e5d2814b7f81ed2356e5?s=96&r=g","caption":"meenakshi k"},"url":"https:\/\/pheonixsolutions.com\/blog\/author\/meenakshi\/"}]}},"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p7F4uM-1ZN","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/7675","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/users\/495"}],"replies":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/comments?post=7675"}],"version-history":[{"count":0,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/7675\/revisions"}],"wp:attachment":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=7675"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=7675"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=7675"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}