chr*_*671 8 cdn amazon-cloudfront amazon-ec2
亚马逊最近添加了使用任何服务器作为 Cloudfront 源服务器的功能,消除了最初的仅限 S3 的限制。
我的问题是 - 我该如何设置?AWS web-gui 似乎只支持 S3 存储桶(仍然),并且 ec2 命令行工具似乎没有任何用于注册 Cloudfront 发行版的东西。
任何想法非常感谢!
谢谢,克里斯。
您必须使用 API 创建一个使用 CustomOrigin(而不是 S3Origin)的 DistributionConfig。关于如何在此处执行此操作的一些文档:http : //docs.amazonwebservices.com/AmazonCloudFront/latest/APIReference/index.html?DistributionConfigDatatype.html#CustomOriginChildElements
然后你必须使用该 DistributionConfig 创建一个分发:http : //docs.amazonwebservices.com/AmazonCloudFront/latest/APIReference/index.html?CreateDistribution.html
可以在此处找到有关分发的更多信息:http : //docs.amazonwebservices.com/AmazonCloudFront/latest/DeveloperGuide/index.html?WorkingWithDistributions.html
我相信一旦您创建了分配,您就可以从 AWS 控制台内管理它,但您还不能在那里创建它们。
| 归档时间: |
|
| 查看次数: |
10125 次 |
| 最近记录: |