{"id":33271,"date":"2022-12-11T11:09:35","date_gmt":"2023-09-03T00:26:08","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e7%a0%94%e7%a9%b6%e4%ba%86aws-alb%e7%9a%84%e9%bb%8f%e6%80%a7%e4%bc%9a%e8%af%9d%ef%bc%88%e6%af%8f%e6%ac%a1%e9%87%8d%e6%96%b0%e8%bf%9e%e6%8e%a5%e4%bc%9a%e8%af%9d%e5%af%bf%e5%91%bd%e9%83%bd\/"},"modified":"2024-01-15T07:43:44","modified_gmt":"2024-01-14T23:43:44","slug":"%e6%88%91%e7%a0%94%e7%a9%b6%e4%ba%86aws-alb%e7%9a%84%e9%bb%8f%e6%80%a7%e4%bc%9a%e8%af%9d%ef%bc%88%e6%af%8f%e6%ac%a1%e9%87%8d%e6%96%b0%e8%bf%9e%e6%8e%a5%e4%bc%9a%e8%af%9d%e5%af%bf%e5%91%bd%e9%83%bd","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e7%a0%94%e7%a9%b6%e4%ba%86aws-alb%e7%9a%84%e9%bb%8f%e6%80%a7%e4%bc%9a%e8%af%9d%ef%bc%88%e6%af%8f%e6%ac%a1%e9%87%8d%e6%96%b0%e8%bf%9e%e6%8e%a5%e4%bc%9a%e8%af%9d%e5%af%bf%e5%91%bd%e9%83%bd\/","title":{"rendered":"\u6211\u7814\u7a76\u4e86AWS ALB\u7684\u9ecf\u6027\u4f1a\u8bdd\uff08\u6bcf\u6b21\u91cd\u65b0\u8fde\u63a5\u4f1a\u8bdd\u5bff\u547d\u90fd\u4f1a\u5ef6\u957f\uff09"},"content":{"rendered":"<p>\u6211\u5011\u6c7a\u5b9a\u4f7f\u7528ALB\u7684\u9ecf\u8457\u6703\u8a71\uff08Sticky Session\uff09\u529f\u80fd\uff0c\u4f46\u5728\u6aa2\u8996\u914d\u7f6e\u6642\u767c\u73fe\u53ea\u80fd\u8a2d\u5b9a\u6703\u8a71\u6301\u7e8c\u6642\u9593\u3002\u9019\u610f\u5473\u8457\uff0c\u4f8b\u5982\u6211\u5011\u8a2d\u5b9a\u4e8624\u5c0f\u6642\u7684\u6703\u8a71\u6301\u7e8c\u6642\u9593\uff0c\u5373\u4f7f\u572824\u5c0f\u6642\u5feb\u8981\u7d50\u675f\u524d\u767b\u9304\u61c9\u7528\u7a0b\u5f0f\uff0c\u7531\u65bc\u9ecf\u8457\u6703\u8a71\u7684Cookie\u5df2\u904e\u671f\uff0c\u5c07\u91cd\u65b0\u8f49\u767c\u5230\u672a\u767b\u9304\u7684\u5be6\u4f8b\uff0c\u5c0e\u81f4\u767b\u9304\u6703\u8a71\u88ab\u4e2d\u65b7\u3002\u89ba\u5f97\u6709\u9ede\u4e0d\u65b9\u4fbf\u5f8c\uff0c\u91cd\u65b0\u95b1\u8b80\u4e86\u624b\u518a\uff0c\u767c\u73fe\u4e86\u4ee5\u4e0b\u63cf\u8ff0\u3002<\/p>\n<blockquote><p>\u53ef\u4ee5\u5728\u76ee\u6807\u7ec4\u7ea7\u522b\u542f\u7528\u7c98\u6027\u4f1a\u8bdd\u3002<br \/>\n\u8fd8\u53ef\u4ee5\u901a\u8fc7\u8bbe\u7f6e\u8d1f\u8f7d\u5747\u8861\u5668\u751f\u6210\u7684cookie\u7684\u6301\u7eed\u65f6\u95f4\uff0c\u4ee5\u79d2\u4e3a\u5355\u4f4d\u3002<br \/>\n\u8fd9\u6bb5\u65f6\u95f4\u5c06\u5728\u6bcf\u4e2a\u8bf7\u6c42\u4e2d\u8bbe\u7f6e\u3002<br \/>\n\u56e0\u6b64\uff0c\u5728\u6bcf\u4e2a\u671f\u9650\u5230\u671f\u4e4b\u524d\uff0c\u5982\u679c\u5ba2\u6237\u7aef\u53d1\u9001\u8bf7\u6c42\uff0c\u7c98\u6027\u4f1a\u8bdd\u5c06\u7ee7\u7eed\u3002<br \/>\n\u5982\u679c\u542f\u7528\u4e86\u591a\u4e2a\u76ee\u6807\u7ec4\u7684\u7c98\u6027\u4f1a\u8bdd\uff0c\u5efa\u8bae\u4e3a\u6240\u6709\u76ee\u6807\u7ec4\u8bbe\u7f6e\u76f8\u540c\u7684\u6301\u7eed\u65f6\u95f4\u3002<\/p><\/blockquote>\n<p>\u6211\u51b3\u5b9a\u5b9e\u9645\u9a8c\u8bc1\u4e00\u4e0b\uff0c\u5728\u4e00\u5b9a\u7684\u6a21\u7cca\u6709\u6548\u671f\u5185\u53d1\u9001\u8bf7\u6c42\u4f1a\u5ef6\u957f\u4f1a\u8bdd\u7684\u610f\u601d\u3002<\/p>\n<h2>\u9a8c\u8bc1\u73af\u5883<\/h2>\n<p>\u4ee5\u4e0b\u662f\u9a8c\u8bc1\u73af\u5883\u7684\u8bbe\u5b9a\u3002<br \/>\n\u5f53\u8bbf\u95eenginx\u7684\/stikky.txt\u65f6\uff0c\u4f1a\u8fd4\u56denginx01\u548cnginx02\u3002<br \/>\n\u9ecf\u6027\u4f1a\u8bdd\u7684\u6301\u7eed\u65f6\u95f4\u8bbe\u5b9a\u4e3a3\u79d2\uff08\u5728\u5b9e\u9645\u73af\u5883\u4e2d\uff0c\u662f\u4e0d\u4f1a\u8bbe\u7f6e\u8fd9\u4e48\u672a\u6765\u7684\uff0c\u54c8\u54c8\uff09\u3002<\/p>\n<pre class=\"post-pre\"><code>Client --- ALB --- Nginx01\r\n                \u2514- Nginx02\r\n<\/code><\/pre>\n<h2>\u68c0\u9a8c\u7ed3\u679c<\/h2>\n<p>\u9996\u5148\uff0c\u5c1d\u8bd5\u4ee55\u79d2\u7684\u95f4\u9694\u8fdb\u884c\u8f6e\u8be2\u3002<br \/>\n\u6839\u636e\u547d\u4ee4\u7ed3\u679c\uff0c\u53ef\u4ee5\u770b\u5230\u5b83\u4ea4\u66ff\u8fde\u63a5\u5230Nginx01\u548cNginx02\u3002<br \/>\n\u7531\u4e8e\u9ecf\u6027\u4f1a\u8bdd\u57283\u79d2\u949f\u540e\u5931\u6548\uff0c\u6240\u4ee5\u5f53\u57285\u79d2\u540e\u518d\u6b21\u8bbf\u95ee\u65f6\u5c06\u88ab\u89c6\u4e3a\u65b0\u8fde\u63a5\uff0c\u5e76\u91cd\u65b0\u5206\u914d\uff0c\u91cd\u65b0\u53d1\u884ccookie\u3002<\/p>\n<pre class=\"post-pre\"><code>[root@localhost ~]# yes \"date '+%d-%m %H:%M:%S'|tr '\\n ' ' ' ; curl -c .\/cookie_elb.txt -b .\/cookie_elb.txt http:\/\/nginx-1428263045.us-west-2.elb.amazonaws.com\/stikky.txt;sleep 5;\" | sh\r\n27-01 05:45:03 nginx02\r\n27-01 05:45:08 nginx01\r\n27-01 05:45:14 nginx01\r\n27-01 05:45:20 nginx02\r\n27-01 05:45:25 nginx02\r\n27-01 05:45:31 nginx01\r\n27-01 05:45:36 nginx01\r\n<\/code><\/pre>\n<p>\u5c1d\u8bd5\u75281\u79d2\u7684\u95f4\u9694\u8fdb\u884c\u8f6e\u8be2\u3002<br \/>\n\u5c3d\u7ba1\u8bd5\u4e8630\u79d2\u4ee5\u4e0a\uff0c\u4f46\u73b0\u5728\u59cb\u7ec8\u8fde\u63a5\u5230\u4e86Nginx02\u3002<br \/>\n\u867d\u7136\u62c5\u5fc3\u4f1a\u4e2d\u65ad\u4f1a\u8bdd\uff0c\u4f46\u4f3c\u4e4e\u5373\u4f7f\u7ecf\u8fc75\u79d2\uff0c\u4f1a\u8bdd\u4ecd\u7136\u4fdd\u6301\u3002<br \/>\n\u4e5f\u5c31\u662f\u8bf4\uff0c\u5982\u679c\u5728\u4f1a\u8bdd\u671f\u95f4\u91cd\u65b0\u8fde\u63a5\uff0c\u4f1a\u8bdd\u65f6\u95f4\u4e5f\u4f1a\u5ef6\u957f\uff0c\u8fd9\u5e94\u8be5\u662f\u5bf9\u7684\u3002<\/p>\n<pre class=\"post-pre\"><code>[root@localhost ~]# yes \"date '+%d-%m %H:%M:%S'|tr '\\n ' ' ' ; curl -c .\/cookie_elb.txt -b .\/cookie_elb.txt http:\/\/nginx-1428263045.us-west-2.elb.amazonaws.com\/stikky.txt;sleep 1;\" | sh\r\n27-01 06:03:12 nginx01\r\n27-01 06:03:14 nginx01\r\n27-01 06:03:15 nginx01\r\n27-01 06:03:17 nginx01\r\n27-01 06:03:18 nginx01\r\n27-01 06:03:20 nginx01\r\n27-01 06:03:21 nginx01\r\n27-01 06:03:23 nginx01\r\n27-01 06:03:24 nginx01\r\n27-01 06:03:26 nginx01\r\n27-01 06:03:27 nginx01\r\n27-01 06:03:29 nginx01\r\n27-01 06:03:30 nginx01\r\n27-01 06:03:32 nginx01\r\n27-01 06:03:33 nginx01\r\n27-01 06:03:35 nginx01\r\n27-01 06:03:36 nginx01\r\n27-01 06:03:38 nginx01\r\n27-01 06:03:39 nginx01\r\n27-01 06:03:41 nginx01\r\n27-01 06:03:42 nginx01\r\n27-01 06:03:44 nginx01\r\n27-01 06:03:45 nginx01\r\n27-01 06:03:47 nginx01\r\n27-01 06:03:48 nginx01\r\n27-01 06:03:50 nginx01\r\n\r\n<\/code><\/pre>\n<h2>\u90a3\u4e48\uff0c\u7c98\u6027\u4f1a\u8bdd\u671f\u5e94\u8be5\u8bbe\u7f6e\u591a\u957f\u65f6\u95f4\u5462\uff1f<\/h2>\n<p>\u6839\u636e\u4e0a\u8ff0\u9a8c\u8bc1\u7ed3\u679c\uff0c\u5728\u4e00\u4e2a\u9891\u7e41\u901a\u4fe1\u7684\u540e\u53f0\u7cfb\u7edf\u4e2d\uff0c\u7c98\u6027\u4f1a\u6839\u636e\u901a\u4fe1\u6b21\u6570\u4e0d\u65ad\u66f4\u65b0\uff0c\u53ea\u8981\u4e0d\u9000\u51fa\u767b\u5f55\u5c31\u4f1a\u4e00\u76f4\u4fdd\u6301\u3002\u800c\u5728\u6ca1\u6709\u7528\u6237\u64cd\u4f5c\u7684\u60c5\u51b5\u4e0b\u4e0d\u4f1a\u8fdb\u884c\u901a\u4fe1\u7684\u7cfb\u7edf\u4e2d\uff0c\u5982\u679c\u5904\u4e8e\u65e0\u64cd\u4f5c\u72b6\u6001\u592a\u957f\u65f6\u95f4\uff0c\u7c98\u6027\u4f1a\u8fbe\u5230\u6709\u6548\u671f\u9650\uff0c\u56e0\u6b64\u6700\u597d\u5c06\u5176\u8bbe\u7f6e\u4e3a\u4e0e\u7cfb\u7edf\u4f1a\u8bdd\u8d85\u65f6\u76f8\u540c\u3002\u8fd9\u6837\u4e00\u6765\uff0c\u5728\u7cfb\u7edf\u4f1a\u8bdd\u8fc7\u671f\u5e76\u9700\u8981\u91cd\u65b0\u767b\u5f55\u65f6\uff0c\u7c98\u6027\u4f1a\u8bdd\u4e5f\u4f1a\u5230\u671f\uff0c\u4ece\u800c\u907f\u514d\u7528\u6237\u610f\u5916\u65ad\u5f00\u4f1a\u8bdd\u7684\u60c5\u51b5\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6211\u5011\u6c7a\u5b9a\u4f7f\u7528ALB\u7684\u9ecf\u8457\u6703\u8a71\uff08Sticky Session\uff09\u529f\u80fd\uff0c\u4f46\u5728\u6aa2\u8996\u914d\u7f6e\u6642\u767c\u73fe\u53ea\u80fd\u8a2d\u5b9a\u6703\u8a71\u6301\u7e8c\u6642\u9593\u3002\u9019\u610f [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-33271","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u6211\u7814\u7a76\u4e86AWS ALB\u7684\u9ecf\u6027\u4f1a\u8bdd\uff08\u6bcf\u6b21\u91cd\u65b0\u8fde\u63a5\u4f1a\u8bdd\u5bff\u547d\u90fd\u4f1a\u5ef6\u957f\uff09 - Blog - Silicon Cloud<\/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:\/\/www.silicloud.com\/zh\/blog\/\u6211\u7814\u7a76\u4e86aws-alb\u7684\u9ecf\u6027\u4f1a\u8bdd\uff08\u6bcf\u6b21\u91cd\u65b0\u8fde\u63a5\u4f1a\u8bdd\u5bff\u547d\u90fd\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u6211\u7814\u7a76\u4e86AWS ALB\u7684\u9ecf\u6027\u4f1a\u8bdd\uff08\u6bcf\u6b21\u91cd\u65b0\u8fde\u63a5\u4f1a\u8bdd\u5bff\u547d\u90fd\u4f1a\u5ef6\u957f\uff09\" \/>\n<meta property=\"og:description\" content=\"\u6211\u5011\u6c7a\u5b9a\u4f7f\u7528ALB\u7684\u9ecf\u8457\u6703\u8a71\uff08Sticky Session\uff09\u529f\u80fd\uff0c\u4f46\u5728\u6aa2\u8996\u914d\u7f6e\u6642\u767c\u73fe\u53ea\u80fd\u8a2d\u5b9a\u6703\u8a71\u6301\u7e8c\u6642\u9593\u3002\u9019\u610f [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u6211\u7814\u7a76\u4e86aws-alb\u7684\u9ecf\u6027\u4f1a\u8bdd\uff08\u6bcf\u6b21\u91cd\u65b0\u8fde\u63a5\u4f1a\u8bdd\u5bff\u547d\u90fd\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-09-03T00:26:08+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-14T23:43:44+00:00\" \/>\n<meta name=\"author\" content=\"\u6e05, \u626c\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u6e05, \u626c\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e7%a0%94%e7%a9%b6%e4%ba%86aws-alb%e7%9a%84%e9%bb%8f%e6%80%a7%e4%bc%9a%e8%af%9d%ef%bc%88%e6%af%8f%e6%ac%a1%e9%87%8d%e6%96%b0%e8%bf%9e%e6%8e%a5%e4%bc%9a%e8%af%9d%e5%af%bf%e5%91%bd%e9%83%bd\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e7%a0%94%e7%a9%b6%e4%ba%86aws-alb%e7%9a%84%e9%bb%8f%e6%80%a7%e4%bc%9a%e8%af%9d%ef%bc%88%e6%af%8f%e6%ac%a1%e9%87%8d%e6%96%b0%e8%bf%9e%e6%8e%a5%e4%bc%9a%e8%af%9d%e5%af%bf%e5%91%bd%e9%83%bd\/\",\"name\":\"\u6211\u7814\u7a76\u4e86AWS ALB\u7684\u9ecf\u6027\u4f1a\u8bdd\uff08\u6bcf\u6b21\u91cd\u65b0\u8fde\u63a5\u4f1a\u8bdd\u5bff\u547d\u90fd\u4f1a\u5ef6\u957f\uff09 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-09-03T00:26:08+00:00\",\"dateModified\":\"2024-01-14T23:43:44+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/cb5556d2501da73d864cac945e8d9461\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e7%a0%94%e7%a9%b6%e4%ba%86aws-alb%e7%9a%84%e9%bb%8f%e6%80%a7%e4%bc%9a%e8%af%9d%ef%bc%88%e6%af%8f%e6%ac%a1%e9%87%8d%e6%96%b0%e8%bf%9e%e6%8e%a5%e4%bc%9a%e8%af%9d%e5%af%bf%e5%91%bd%e9%83%bd\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e7%a0%94%e7%a9%b6%e4%ba%86aws-alb%e7%9a%84%e9%bb%8f%e6%80%a7%e4%bc%9a%e8%af%9d%ef%bc%88%e6%af%8f%e6%ac%a1%e9%87%8d%e6%96%b0%e8%bf%9e%e6%8e%a5%e4%bc%9a%e8%af%9d%e5%af%bf%e5%91%bd%e9%83%bd\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e7%a0%94%e7%a9%b6%e4%ba%86aws-alb%e7%9a%84%e9%bb%8f%e6%80%a7%e4%bc%9a%e8%af%9d%ef%bc%88%e6%af%8f%e6%ac%a1%e9%87%8d%e6%96%b0%e8%bf%9e%e6%8e%a5%e4%bc%9a%e8%af%9d%e5%af%bf%e5%91%bd%e9%83%bd\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u6211\u7814\u7a76\u4e86AWS ALB\u7684\u9ecf\u6027\u4f1a\u8bdd\uff08\u6bcf\u6b21\u91cd\u65b0\u8fde\u63a5\u4f1a\u8bdd\u5bff\u547d\u90fd\u4f1a\u5ef6\u957f\uff09\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/cb5556d2501da73d864cac945e8d9461\",\"name\":\"\u6e05, \u626c\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/32a4239de8ff29adace466261d309424a1e5fe9f7e3036bf89fe03f2e3dbe717?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/32a4239de8ff29adace466261d309424a1e5fe9f7e3036bf89fe03f2e3dbe717?s=96&d=mm&r=g\",\"caption\":\"\u6e05, \u626c\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/qingyang\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e7%a0%94%e7%a9%b6%e4%ba%86aws-alb%e7%9a%84%e9%bb%8f%e6%80%a7%e4%bc%9a%e8%af%9d%ef%bc%88%e6%af%8f%e6%ac%a1%e9%87%8d%e6%96%b0%e8%bf%9e%e6%8e%a5%e4%bc%9a%e8%af%9d%e5%af%bf%e5%91%bd%e9%83%bd\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u6211\u7814\u7a76\u4e86AWS ALB\u7684\u9ecf\u6027\u4f1a\u8bdd\uff08\u6bcf\u6b21\u91cd\u65b0\u8fde\u63a5\u4f1a\u8bdd\u5bff\u547d\u90fd\u4f1a\u5ef6\u957f\uff09 - Blog - Silicon Cloud","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.silicloud.com\/zh\/blog\/\u6211\u7814\u7a76\u4e86aws-alb\u7684\u9ecf\u6027\u4f1a\u8bdd\uff08\u6bcf\u6b21\u91cd\u65b0\u8fde\u63a5\u4f1a\u8bdd\u5bff\u547d\u90fd\/","og_locale":"zh_CN","og_type":"article","og_title":"\u6211\u7814\u7a76\u4e86AWS ALB\u7684\u9ecf\u6027\u4f1a\u8bdd\uff08\u6bcf\u6b21\u91cd\u65b0\u8fde\u63a5\u4f1a\u8bdd\u5bff\u547d\u90fd\u4f1a\u5ef6\u957f\uff09","og_description":"\u6211\u5011\u6c7a\u5b9a\u4f7f\u7528ALB\u7684\u9ecf\u8457\u6703\u8a71\uff08Sticky Session\uff09\u529f\u80fd\uff0c\u4f46\u5728\u6aa2\u8996\u914d\u7f6e\u6642\u767c\u73fe\u53ea\u80fd\u8a2d\u5b9a\u6703\u8a71\u6301\u7e8c\u6642\u9593\u3002\u9019\u610f [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u6211\u7814\u7a76\u4e86aws-alb\u7684\u9ecf\u6027\u4f1a\u8bdd\uff08\u6bcf\u6b21\u91cd\u65b0\u8fde\u63a5\u4f1a\u8bdd\u5bff\u547d\u90fd\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-09-03T00:26:08+00:00","article_modified_time":"2024-01-14T23:43:44+00:00","author":"\u6e05, \u626c","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u6e05, \u626c","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e7%a0%94%e7%a9%b6%e4%ba%86aws-alb%e7%9a%84%e9%bb%8f%e6%80%a7%e4%bc%9a%e8%af%9d%ef%bc%88%e6%af%8f%e6%ac%a1%e9%87%8d%e6%96%b0%e8%bf%9e%e6%8e%a5%e4%bc%9a%e8%af%9d%e5%af%bf%e5%91%bd%e9%83%bd\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e7%a0%94%e7%a9%b6%e4%ba%86aws-alb%e7%9a%84%e9%bb%8f%e6%80%a7%e4%bc%9a%e8%af%9d%ef%bc%88%e6%af%8f%e6%ac%a1%e9%87%8d%e6%96%b0%e8%bf%9e%e6%8e%a5%e4%bc%9a%e8%af%9d%e5%af%bf%e5%91%bd%e9%83%bd\/","name":"\u6211\u7814\u7a76\u4e86AWS ALB\u7684\u9ecf\u6027\u4f1a\u8bdd\uff08\u6bcf\u6b21\u91cd\u65b0\u8fde\u63a5\u4f1a\u8bdd\u5bff\u547d\u90fd\u4f1a\u5ef6\u957f\uff09 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-09-03T00:26:08+00:00","dateModified":"2024-01-14T23:43:44+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/cb5556d2501da73d864cac945e8d9461"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e7%a0%94%e7%a9%b6%e4%ba%86aws-alb%e7%9a%84%e9%bb%8f%e6%80%a7%e4%bc%9a%e8%af%9d%ef%bc%88%e6%af%8f%e6%ac%a1%e9%87%8d%e6%96%b0%e8%bf%9e%e6%8e%a5%e4%bc%9a%e8%af%9d%e5%af%bf%e5%91%bd%e9%83%bd\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e7%a0%94%e7%a9%b6%e4%ba%86aws-alb%e7%9a%84%e9%bb%8f%e6%80%a7%e4%bc%9a%e8%af%9d%ef%bc%88%e6%af%8f%e6%ac%a1%e9%87%8d%e6%96%b0%e8%bf%9e%e6%8e%a5%e4%bc%9a%e8%af%9d%e5%af%bf%e5%91%bd%e9%83%bd\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e7%a0%94%e7%a9%b6%e4%ba%86aws-alb%e7%9a%84%e9%bb%8f%e6%80%a7%e4%bc%9a%e8%af%9d%ef%bc%88%e6%af%8f%e6%ac%a1%e9%87%8d%e6%96%b0%e8%bf%9e%e6%8e%a5%e4%bc%9a%e8%af%9d%e5%af%bf%e5%91%bd%e9%83%bd\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u6211\u7814\u7a76\u4e86AWS ALB\u7684\u9ecf\u6027\u4f1a\u8bdd\uff08\u6bcf\u6b21\u91cd\u65b0\u8fde\u63a5\u4f1a\u8bdd\u5bff\u547d\u90fd\u4f1a\u5ef6\u957f\uff09"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/cb5556d2501da73d864cac945e8d9461","name":"\u6e05, \u626c","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/32a4239de8ff29adace466261d309424a1e5fe9f7e3036bf89fe03f2e3dbe717?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/32a4239de8ff29adace466261d309424a1e5fe9f7e3036bf89fe03f2e3dbe717?s=96&d=mm&r=g","caption":"\u6e05, \u626c"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/qingyang\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e7%a0%94%e7%a9%b6%e4%ba%86aws-alb%e7%9a%84%e9%bb%8f%e6%80%a7%e4%bc%9a%e8%af%9d%ef%bc%88%e6%af%8f%e6%ac%a1%e9%87%8d%e6%96%b0%e8%bf%9e%e6%8e%a5%e4%bc%9a%e8%af%9d%e5%af%bf%e5%91%bd%e9%83%bd\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/33271","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=33271"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/33271\/revisions"}],"predecessor-version":[{"id":57473,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/33271\/revisions\/57473"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=33271"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=33271"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=33271"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}