随笔分类 -  云计算

摘要:Create registered limit using cURL 1. Get token ref to https://docs.openstack.org/api-ref/identity/v3/index.html?expanded=create-registered-limits-det 阅读全文
posted @ 2023-01-30 21:22 Jneeee 阅读(268) 评论(0) 推荐(0)
摘要:我希望创建一个 api-gateway httpapi,把 $default 路由全发给一个lambda函数。 SAM配置: ... Events: ExplicitApi: # warning: creates a public endpoint Type: HttpApi Properties: 阅读全文
posted @ 2022-12-04 17:31 Jneeee 阅读(117) 评论(0) 推荐(0)
摘要:阿里云函数计算最近开始取消每个月的免费额度,吃相难看。虽然我平时跑跑个人的定时任务,用到的资源很少,还是决定迁移到别的平台。让它日活-1也算我做的一个贡献吧。 1/ 安装 aws CLI https://docs.aws.amazon.com/cli/latest/userguide/getting 阅读全文
posted @ 2022-11-13 15:08 Jneeee 阅读(194) 评论(0) 推荐(0)
摘要:问题 通过vscode 直接跑function test时候报错找不到插件。(手动跑结果也一样:stestr run --no-discover glance/tests/functional/v2/test_images.py::TestQuotasWithRegistry::test_image 阅读全文
posted @ 2022-10-21 19:19 Jneeee 阅读(89) 评论(0) 推荐(0)
摘要:最近在学习阿里云函数计算,利用函数计算 + NAS,做个把函数中数据持久化的 key-value 数据库方案。项目地址 https://github.com/jneeee/aliyun_func_study 多多 star pickle.dumps pickle.loads 是 python 中常见 阅读全文
posted @ 2022-06-04 21:00 Jneeee 阅读(169) 评论(0) 推荐(0)
摘要:代码仓库地址:https://github.com/jneeee/aliyun_func_study 在 WSL2 ubuntu 18.04上学习云函数,联调需要安装 docker: curl -fsSL https://get.docker.com -o get-docker.sh sh get- 阅读全文
posted @ 2022-05-07 23:09 Jneeee 阅读(219) 评论(0) 推荐(0)
摘要:一、ELB TCP长链接偶现超时的问题 Linux TCP 的保活超时时间默认是7200s,即一个连接需要超过7200s不活跃才开始发送心跳包。而 ELB的TCP会话超时时间为300s,这样有可能导致ELB已经释放链接端口而Client和Server没有释放,从而导致业务链接超时:ELB静静地关闭端 阅读全文
posted @ 2021-04-27 15:07 Jneeee 阅读(1371) 评论(0) 推荐(0)
摘要:查看当前超时时间配置: ipvsadm -l --timeout 修改超时时间: 内存中修改(重启会丢失) ipvsadm --set 300 10 10 持久化配置(升级可能会丢失) vim /etc/keepalived/keepalived.conf global_defs { lvs_tim 阅读全文
posted @ 2021-04-27 15:04 Jneeee 阅读(918) 评论(0) 推荐(0)