{"id":763,"date":"2025-05-08T06:38:15","date_gmt":"2025-05-08T06:38:15","guid":{"rendered":"https:\/\/www.shivaami.com\/blog\/?p=763"},"modified":"2025-08-05T08:39:09","modified_gmt":"2025-08-05T08:39:09","slug":"securing-web-applications-at-scale-with-google-cloud-armor","status":"publish","type":"post","link":"https:\/\/www.shivaami.com\/blog\/securing-web-applications-at-scale-with-google-cloud-armor\/","title":{"rendered":"Securing Web Applications at Scale with Google Cloud Armor"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">In the evolving landscape of cybersecurity threats, protecting public-facing web applications is no longer optional\u2014it&#8217;s essential. Google Cloud Armor provides enterprise-grade DDoS protection and application-layer defense for services deployed on GCP. This blog will guide you through deploying Cloud Armor to safeguard your apps using custom security policies and preconfigured WAF rules.<\/span><b><br \/>\n<\/b><b><br \/>\n<\/b><b>Step-by-Step Implementation:<\/b><\/p>\n<p><b>Step 1: Enable Cloud Armor API<\/b><span style=\"font-weight: 400;\"><br \/>\n<\/span><span style=\"font-weight: 400;\">Activate the required API to start defining security policies.<\/span><\/p>\n<blockquote><p><span style=\"font-weight: 400;\">gcloud services enable compute.googleapis.com<\/span><\/p><\/blockquote>\n<p><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>Step 2: Define a Security Policy<\/b><span style=\"font-weight: 400;\"><br \/>\n<\/span><span style=\"font-weight: 400;\">Create a policy to allow only specific traffic or block malicious IPs.<\/span><\/p>\n<blockquote><p><span style=\"font-weight: 400;\">gcloud compute security-policies create my-security-policy \\<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0&#8211;description &#8220;Block traffic from known bad IPs&#8221;<\/span><\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<p><b>Step 3: Add Rules (WAF or IP-based)<\/b><span style=\"font-weight: 400;\"><br \/>\n<\/span><span style=\"font-weight: 400;\">Block specific IPs or use Google\u2019s preconfigured WAF rules.<\/span><\/p>\n<blockquote><p><span style=\"font-weight: 400;\">gcloud compute security-policies rules create 1000 \\<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0&#8211;security-policy my-security-policy \\<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0&#8211;src-ip-ranges &#8220;1.2.3.4&#8221; \\<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0&#8211;action deny-403 \\<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0&#8211;description &#8220;Block known attacker&#8221;<\/span><\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<p><b>Step 4: Associate Policy with Backend Service<\/b><\/p>\n<blockquote><p><span style=\"font-weight: 400;\">gcloud compute backend-services update my-backend-service \\<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0&#8211;security-policy my-security-policy \\<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0&#8211;global<\/span><\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<p><b>Benefits:<\/b><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Real-time protection from DDoS and OWASP Top 10 threats<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Geo-based traffic filtering<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Integration with logging and monitoring tools<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><\/li>\n<\/ul>\n<p><b>Conclusion:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Google Cloud Armor empowers teams to implement robust security at the edge\u2014ensuring performance isn\u2019t sacrificed for protection. Whether you&#8217;re defending a high-traffic site or a critical business app, Cloud Armor scales with your needs.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the evolving landscape of cybersecurity threats, protecting public-facing web applications is no longer optional\u2014it&#8217;s essential. Google Cloud Armor provides enterprise-grade DDoS protection and application-layer defense for services deployed on GCP. This blog will guide you through deploying Cloud Armor to safeguard your apps using custom security policies and preconfigured WAF rules. Step-by-Step Implementation: Step 1: Enable Cloud Armor API<\/p>\n<p><a class=\"more-link\" href=\"https:\/\/www.shivaami.com\/blog\/securing-web-applications-at-scale-with-google-cloud-armor\/\">Read More<\/a><\/p>\n","protected":false},"author":2,"featured_media":769,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[70],"tags":[],"class_list":["post-763","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cloud-solution"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Securing Web Applications at Scale with Google Cloud Armor - Blog | Shivaami<\/title>\n<meta name=\"description\" content=\"Secure your web apps with Google Cloud Armor. Follow step-by-step setup to block threats, apply WAF rules, and protect against DDoS at scale.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.shivaami.com\/blog\/securing-web-applications-at-scale-with-google-cloud-armor\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Securing Web Applications at Scale with Google Cloud Armor - Blog | Shivaami\" \/>\n<meta property=\"og:description\" content=\"Secure your web apps with Google Cloud Armor. Follow step-by-step setup to block threats, apply WAF rules, and protect against DDoS at scale.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.shivaami.com\/blog\/securing-web-applications-at-scale-with-google-cloud-armor\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog | Shivaami\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/shivaamicloudservices\" \/>\n<meta property=\"article:published_time\" content=\"2025-05-08T06:38:15+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-05T08:39:09+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.shivaami.com\/blog\/wp-content\/uploads\/2025\/08\/Google-Cloud-Armor.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"776\" \/>\n\t<meta property=\"og:image:height\" content=\"310\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Punit Thakkar\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@shivaami\" \/>\n<meta name=\"twitter:site\" content=\"@shivaami\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Punit Thakkar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.shivaami.com\\\/blog\\\/securing-web-applications-at-scale-with-google-cloud-armor\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.shivaami.com\\\/blog\\\/securing-web-applications-at-scale-with-google-cloud-armor\\\/\"},\"author\":{\"name\":\"Punit Thakkar\",\"@id\":\"https:\\\/\\\/www.shivaami.com\\\/blog\\\/#\\\/schema\\\/person\\\/7a796f180e3063c2fa97dae329337b01\"},\"headline\":\"Securing Web Applications at Scale with Google Cloud Armor\",\"datePublished\":\"2025-05-08T06:38:15+00:00\",\"dateModified\":\"2025-08-05T08:39:09+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.shivaami.com\\\/blog\\\/securing-web-applications-at-scale-with-google-cloud-armor\\\/\"},\"wordCount\":215,\"image\":{\"@id\":\"https:\\\/\\\/www.shivaami.com\\\/blog\\\/securing-web-applications-at-scale-with-google-cloud-armor\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.shivaami.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/08\\\/Google-Cloud-Armor.jpg\",\"articleSection\":[\"Cloud Solution\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.shivaami.com\\\/blog\\\/securing-web-applications-at-scale-with-google-cloud-armor\\\/\",\"url\":\"https:\\\/\\\/www.shivaami.com\\\/blog\\\/securing-web-applications-at-scale-with-google-cloud-armor\\\/\",\"name\":\"Securing Web Applications at Scale with Google Cloud Armor - Blog | Shivaami\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.shivaami.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.shivaami.com\\\/blog\\\/securing-web-applications-at-scale-with-google-cloud-armor\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.shivaami.com\\\/blog\\\/securing-web-applications-at-scale-with-google-cloud-armor\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.shivaami.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/08\\\/Google-Cloud-Armor.jpg\",\"datePublished\":\"2025-05-08T06:38:15+00:00\",\"dateModified\":\"2025-08-05T08:39:09+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.shivaami.com\\\/blog\\\/#\\\/schema\\\/person\\\/7a796f180e3063c2fa97dae329337b01\"},\"description\":\"Secure your web apps with Google Cloud Armor. Follow step-by-step setup to block threats, apply WAF rules, and protect against DDoS at scale.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.shivaami.com\\\/blog\\\/securing-web-applications-at-scale-with-google-cloud-armor\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.shivaami.com\\\/blog\\\/securing-web-applications-at-scale-with-google-cloud-armor\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.shivaami.com\\\/blog\\\/securing-web-applications-at-scale-with-google-cloud-armor\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.shivaami.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/08\\\/Google-Cloud-Armor.jpg\",\"contentUrl\":\"https:\\\/\\\/www.shivaami.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/08\\\/Google-Cloud-Armor.jpg\",\"width\":776,\"height\":310,\"caption\":\"Protect Your Applications with Google Cloud Armor\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.shivaami.com\\\/blog\\\/securing-web-applications-at-scale-with-google-cloud-armor\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.shivaami.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Securing Web Applications at Scale with Google Cloud Armor\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.shivaami.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.shivaami.com\\\/blog\\\/\",\"name\":\"Blog | Shivaami\",\"description\":\"Latest Updates on Cloud Email Solution, Quick Tips, News and More.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.shivaami.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.shivaami.com\\\/blog\\\/#\\\/schema\\\/person\\\/7a796f180e3063c2fa97dae329337b01\",\"name\":\"Punit Thakkar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/80a47497b3a0e9c5c0ea60fd9f1fa47102ffdc59be519a78a3e097d13782b604?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/80a47497b3a0e9c5c0ea60fd9f1fa47102ffdc59be519a78a3e097d13782b604?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/80a47497b3a0e9c5c0ea60fd9f1fa47102ffdc59be519a78a3e097d13782b604?s=96&d=mm&r=g\",\"caption\":\"Punit Thakkar\"},\"url\":\"https:\\\/\\\/www.shivaami.com\\\/blog\\\/author\\\/marketing\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Securing Web Applications at Scale with Google Cloud Armor - Blog | Shivaami","description":"Secure your web apps with Google Cloud Armor. Follow step-by-step setup to block threats, apply WAF rules, and protect against DDoS at scale.","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:\/\/www.shivaami.com\/blog\/securing-web-applications-at-scale-with-google-cloud-armor\/","og_locale":"en_US","og_type":"article","og_title":"Securing Web Applications at Scale with Google Cloud Armor - Blog | Shivaami","og_description":"Secure your web apps with Google Cloud Armor. Follow step-by-step setup to block threats, apply WAF rules, and protect against DDoS at scale.","og_url":"https:\/\/www.shivaami.com\/blog\/securing-web-applications-at-scale-with-google-cloud-armor\/","og_site_name":"Blog | Shivaami","article_publisher":"https:\/\/www.facebook.com\/shivaamicloudservices","article_published_time":"2025-05-08T06:38:15+00:00","article_modified_time":"2025-08-05T08:39:09+00:00","og_image":[{"width":776,"height":310,"url":"https:\/\/www.shivaami.com\/blog\/wp-content\/uploads\/2025\/08\/Google-Cloud-Armor.jpg","type":"image\/jpeg"}],"author":"Punit Thakkar","twitter_card":"summary_large_image","twitter_creator":"@shivaami","twitter_site":"@shivaami","twitter_misc":{"Written by":"Punit Thakkar","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.shivaami.com\/blog\/securing-web-applications-at-scale-with-google-cloud-armor\/#article","isPartOf":{"@id":"https:\/\/www.shivaami.com\/blog\/securing-web-applications-at-scale-with-google-cloud-armor\/"},"author":{"name":"Punit Thakkar","@id":"https:\/\/www.shivaami.com\/blog\/#\/schema\/person\/7a796f180e3063c2fa97dae329337b01"},"headline":"Securing Web Applications at Scale with Google Cloud Armor","datePublished":"2025-05-08T06:38:15+00:00","dateModified":"2025-08-05T08:39:09+00:00","mainEntityOfPage":{"@id":"https:\/\/www.shivaami.com\/blog\/securing-web-applications-at-scale-with-google-cloud-armor\/"},"wordCount":215,"image":{"@id":"https:\/\/www.shivaami.com\/blog\/securing-web-applications-at-scale-with-google-cloud-armor\/#primaryimage"},"thumbnailUrl":"https:\/\/www.shivaami.com\/blog\/wp-content\/uploads\/2025\/08\/Google-Cloud-Armor.jpg","articleSection":["Cloud Solution"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.shivaami.com\/blog\/securing-web-applications-at-scale-with-google-cloud-armor\/","url":"https:\/\/www.shivaami.com\/blog\/securing-web-applications-at-scale-with-google-cloud-armor\/","name":"Securing Web Applications at Scale with Google Cloud Armor - Blog | Shivaami","isPartOf":{"@id":"https:\/\/www.shivaami.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.shivaami.com\/blog\/securing-web-applications-at-scale-with-google-cloud-armor\/#primaryimage"},"image":{"@id":"https:\/\/www.shivaami.com\/blog\/securing-web-applications-at-scale-with-google-cloud-armor\/#primaryimage"},"thumbnailUrl":"https:\/\/www.shivaami.com\/blog\/wp-content\/uploads\/2025\/08\/Google-Cloud-Armor.jpg","datePublished":"2025-05-08T06:38:15+00:00","dateModified":"2025-08-05T08:39:09+00:00","author":{"@id":"https:\/\/www.shivaami.com\/blog\/#\/schema\/person\/7a796f180e3063c2fa97dae329337b01"},"description":"Secure your web apps with Google Cloud Armor. Follow step-by-step setup to block threats, apply WAF rules, and protect against DDoS at scale.","breadcrumb":{"@id":"https:\/\/www.shivaami.com\/blog\/securing-web-applications-at-scale-with-google-cloud-armor\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.shivaami.com\/blog\/securing-web-applications-at-scale-with-google-cloud-armor\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.shivaami.com\/blog\/securing-web-applications-at-scale-with-google-cloud-armor\/#primaryimage","url":"https:\/\/www.shivaami.com\/blog\/wp-content\/uploads\/2025\/08\/Google-Cloud-Armor.jpg","contentUrl":"https:\/\/www.shivaami.com\/blog\/wp-content\/uploads\/2025\/08\/Google-Cloud-Armor.jpg","width":776,"height":310,"caption":"Protect Your Applications with Google Cloud Armor"},{"@type":"BreadcrumbList","@id":"https:\/\/www.shivaami.com\/blog\/securing-web-applications-at-scale-with-google-cloud-armor\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.shivaami.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Securing Web Applications at Scale with Google Cloud Armor"}]},{"@type":"WebSite","@id":"https:\/\/www.shivaami.com\/blog\/#website","url":"https:\/\/www.shivaami.com\/blog\/","name":"Blog | Shivaami","description":"Latest Updates on Cloud Email Solution, Quick Tips, News and More.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.shivaami.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.shivaami.com\/blog\/#\/schema\/person\/7a796f180e3063c2fa97dae329337b01","name":"Punit Thakkar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/80a47497b3a0e9c5c0ea60fd9f1fa47102ffdc59be519a78a3e097d13782b604?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/80a47497b3a0e9c5c0ea60fd9f1fa47102ffdc59be519a78a3e097d13782b604?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/80a47497b3a0e9c5c0ea60fd9f1fa47102ffdc59be519a78a3e097d13782b604?s=96&d=mm&r=g","caption":"Punit Thakkar"},"url":"https:\/\/www.shivaami.com\/blog\/author\/marketing\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.shivaami.com\/blog\/wp-json\/wp\/v2\/posts\/763","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.shivaami.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.shivaami.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.shivaami.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.shivaami.com\/blog\/wp-json\/wp\/v2\/comments?post=763"}],"version-history":[{"count":4,"href":"https:\/\/www.shivaami.com\/blog\/wp-json\/wp\/v2\/posts\/763\/revisions"}],"predecessor-version":[{"id":766,"href":"https:\/\/www.shivaami.com\/blog\/wp-json\/wp\/v2\/posts\/763\/revisions\/766"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.shivaami.com\/blog\/wp-json\/wp\/v2\/media\/769"}],"wp:attachment":[{"href":"https:\/\/www.shivaami.com\/blog\/wp-json\/wp\/v2\/media?parent=763"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.shivaami.com\/blog\/wp-json\/wp\/v2\/categories?post=763"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.shivaami.com\/blog\/wp-json\/wp\/v2\/tags?post=763"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}