AWS S3 Static网站蓝绿色部署

时间:2020-04-21 23:55:20

标签: amazon-s3 amazon-cloudfront blue-green-deployment

一段时间以来,我一直在尝试不同的方法来在CloudFront的S3上设置用于静态网站的Blue Green变体。

1)我尝试使用两个cloud front dist,但是“ Cloudfront不允许具有多个分布的相同备用域名”。

2)我尝试遵循Route 53的方法。该站点本身没有启动。它甚至没有显示蓝色或绿色版本。无法访问该网站。

app-green.example.org => Alias Cloudfont Distribution (s3://app-green.example.org)
app-blue.example.org => Alias Cloudfont Distribution (s3://app-blue.example.org)
app.example.org => Alias app-green.example.org (weighted 10)
app.example.org => Alias app-blue.example.org (weighted 100)

关于如何为AWS S3 Static网站设置B / G的任何想法。

0 个答案:

没有答案