云应用运行时迁移复杂性与去中心化按需云CPU设计
1. 云应用相关配置文件
在云应用的部署和管理中,有两个重要的配置文件,分别是区域定义文件(districts.json)和凭证文件(credentials.json)。
区域定义文件(districts.json)示例如下:
[
{
"type ": "district",
"id": "gce -europe",
"provider ": "gce",
" credential_id ": " gce_default ",
" gce_project_id ": "your -proj -id",
" gce_region ": "europe -west1",
"gce_zones ": [" europe -west1 -b", "europe -west1 -c"],
"flavors ": [
{
"flavor ": "small",
" machine_type ": "n1 -standard -1"
},
{
"flavor ": "med",
" machine_type ": "n1 -standard -2"
},
{
"flavor ":
超级会员免费看
订阅专栏 解锁全文

被折叠的 条评论
为什么被折叠?



