Serverless

How to create a bucket with Public Read Access?

三世轮回 提交于 2020-04-11 05:09:38
问题 I´d like to enable Public Read-Access on all items in my Bucket that are in the "public" folder in the serverless.yml file. Currently this is definition code i use to declare my bucket. Its a bit of copy and paste from one of the serverless-stack examples. Resources: AttachmentsBucket: Type: AWS::S3::Bucket Properties: AccessControl: PublicRead # Set the CORS policy BucketName: range-picker-bucket-${self:custom.stage} CorsConfiguration: CorsRules: - AllowedOrigins: - '*' AllowedHeaders: - '*'

AccessDenied on DynamoDB GSI Index

别来无恙 提交于 2020-04-10 03:17:59
问题 I've wrote a serverless.yml to deploy some lambdas and I'm using GSI in a specific API. If I run locally using serverless-offline, it's working but I'm facing an error when deploy the lambda: AccessDeniedException: User: arn:aws:sts::408462944160:assumed-role/telecom-integration-dev-us-east-1-lambdaRole/integration-dev-dialerStatistics is not authorized to perform: dynamodb:Query on resource: arn:aws:dynamodb:us-east-1:408462944160:table/integration-dialer-dev/index/other_dial_status-index

AccessDenied on DynamoDB GSI Index

会有一股神秘感。 提交于 2020-04-10 03:17:10
问题 I've wrote a serverless.yml to deploy some lambdas and I'm using GSI in a specific API. If I run locally using serverless-offline, it's working but I'm facing an error when deploy the lambda: AccessDeniedException: User: arn:aws:sts::408462944160:assumed-role/telecom-integration-dev-us-east-1-lambdaRole/integration-dev-dialerStatistics is not authorized to perform: dynamodb:Query on resource: arn:aws:dynamodb:us-east-1:408462944160:table/integration-dialer-dev/index/other_dial_status-index

AccessDenied on DynamoDB GSI Index

流过昼夜 提交于 2020-04-10 03:16:57
问题 I've wrote a serverless.yml to deploy some lambdas and I'm using GSI in a specific API. If I run locally using serverless-offline, it's working but I'm facing an error when deploy the lambda: AccessDeniedException: User: arn:aws:sts::408462944160:assumed-role/telecom-integration-dev-us-east-1-lambdaRole/integration-dev-dialerStatistics is not authorized to perform: dynamodb:Query on resource: arn:aws:dynamodb:us-east-1:408462944160:table/integration-dialer-dev/index/other_dial_status-index

AccessDenied on DynamoDB GSI Index

时光毁灭记忆、已成空白 提交于 2020-04-10 03:16:47
问题 I've wrote a serverless.yml to deploy some lambdas and I'm using GSI in a specific API. If I run locally using serverless-offline, it's working but I'm facing an error when deploy the lambda: AccessDeniedException: User: arn:aws:sts::408462944160:assumed-role/telecom-integration-dev-us-east-1-lambdaRole/integration-dev-dialerStatistics is not authorized to perform: dynamodb:Query on resource: arn:aws:dynamodb:us-east-1:408462944160:table/integration-dialer-dev/index/other_dial_status-index

[转帖]腾讯云发布国内首款Serverless数据库,成本降低70%

ぃ、小莉子 提交于 2020-04-09 04:12:25
腾讯云发布国内首款Serverless数据库,成本降低70% https: // www.sohu.com/a/386098208_162522 是不是用k8s搞的 30 %的成本是存储的? 4月7日,腾讯云正式发布国内首个Serverless数据库新品——PostgreSQL for Serverless。相比普通云上数据库,该数据库能够最快1秒完成部署,成本降低70%。这款新型数据库将为数百万开发者带来更灵活的业务开发模式、更快捷的上云体验,以及更大空间的成本优势。企业数字化进程将全面提速。 Serverless技术给云计算带来的改变是革命性的。它通过封装几乎全部的底层资源和系统运维工作,使开发人员更容易使用云基础设施,极大地简化了基于云服务的编程。因此,Serverless也被业界认为是继虚拟化、容器技术之后的第三代通用计算平台。 腾讯云数据库负责人,数据库领域资深技术专家林晓斌表示,此次发布的数据库是国内第一家基于Serverless技术开发的新型数据库,既拥有Serverless化带来的低成本、易扩容等优点,又包含PG实例本身的高可用、高性能、高安全等特性。这款数据库的发布是腾讯云数据库拥抱云原生战略的又一落地,也将进一步巩固腾讯云数据库在国内的领先优势。 全自动扩缩容,1秒部署、成本降低70% 相对于传统的云数据库在扩容过程中需要人为干预或事先设定来说

Alibaba Cloud Native Day | 4 月 18 日杭州场线上直播

落爺英雄遲暮 提交于 2020-04-09 00:58:29
Alibaba Cloud Native Day 将于 4 月 18 日全天进行线上直播! 届时,多名阿里技术专家线上齐聚,畅聊 K8s、Serverless 、 OAM 及微服务等实践案例。通过本场活动,您将了解到: 如何用 Start.aliyun.com 5 分钟搭建一套云上应用; 阿里巴巴容器服务 ACK 助力在线教育行业抗击疫情; 阿里巴巴函数计算 Serverless/FaaS 的详解。 时间: 4 月 18 日 9:30 - 16:50 地点: 线上直播 报名方式: 点击进行报名 【 详细信息看这里 】 “ 阿里巴巴云原生 关注微服务、Serverless、容器、Service Mesh 等技术领域、聚焦云原生流行技术趋势、云原生大规模的落地实践,做最懂云原生开发者的技术圈。” 来源: oschina 链接: https://my.oschina.net/u/4312205/blog/3225395

微服务最强开源流量网关Kong

纵然是瞬间 提交于 2020-04-08 22:13:19
前言 在微服务架构中,由于系统和服务的细分,导致系统结构变得非常复杂, 为了跨平台,为了统一集中管理api,同时为了不暴露后置服务。甚至有时候需要对请求进行一些安全、负载均衡、限流、熔断、灰度等中间操作,基于此类种种的客观需求一个类似综合前置的系统就产生了,这就是API网关(API Gateway)。API网关作为分散在各个业务系统微服务的API聚合点和统一接入点,外部请求通过访问这个接入点,即可访问内部所有的REST API服务。目前常用的微服务网关有zuul、gateway,今天来简单介绍一下另一种选择——Kong 。说到Kong可能对大家有点陌生,我们来先了解下另一种不陌生的中间件——OpenResty。 OpenResty OpenResty® 是一个基于 Nginx 与 Lua 的高性能 Web 平台,其内部集成了大量精良的 Lua 库、第三方模块以及大多数的依赖项。用于方便地搭建能够处理超高并发、扩展性极高的动态 Web 应用、Web 服务和动态网关。因此,我们可以做出各种符合我们需要的网关策略的Lua脚本,以其为基础构建高性能的网关系统。 Kong Kong基于OpenResty,是一个云原生、快速、可扩展、分布式的Api 网关。继承了OpenResty的高性能、易扩展性等特点。Kong通过简单的增加机器节点,可以很容易的水平扩展。同时功能插件化

Gartner 容器报告:阿里云与 AWS 并列第一,领先微软、谷歌

点点圈 提交于 2020-04-08 19:51:20
近日,国际知名调研机构 Gartner 发布 2020 年容器公有云竞争格局报告,阿里云再度成为国内唯一入选厂商。Gartner 报告显示,阿里云容器服务在中国市场表现强劲,产品形态丰富,在如 Serverless 容器、服务网格、安全沙箱容器、混合云和边缘等领域,具备良好的技术发展策略。 2020 年 3 月,Gartner 第二次公开《竞争格局:公共云容器服务》年度调研报告,报告针对 Serverless Kubernetes、服务网格、容器镜像等十项功能维度进行对比,阿里云和 AWS 覆盖九项产品能力,产品丰富度领先 Google、微软、IBM 和 Oracle 四家厂商。 阿里云连续两年入选 Gartner 容器报告,一方面是因为阿里云拥有全球第三的市场份额,另一方面是因为其已经拥有近十年的容器技术储备。 目前,阿里云容器服务(ACK)已在中国及海外 19 个公有云可用区开服,同时也支持客户在自有机房和边缘端的部署使用 Kubernetes。同时,阿里云还提供了丰富的差异化产品:兼容 Istio 的托管版服务网格、基于弹性容器实例的无服务器 Kubernetes(ASK)、提供镜像扫描的独享版容器镜像服务 (ACR)、基于轻量虚拟机技术的安全沙箱容器运行时和托管服务网格(ASM)等等。在此前的 Forrester 公共云容器服务评测中,阿里云作为 Strong

Vue北京 | 构建Serverless应用

你说的曾经没有我的故事 提交于 2020-04-06 16:22:40
「 Vue Beijing | Build your serverless applications 」 「 活动介绍 | About This Event 」 hi, 你听说过serverless吗?什么是serverless? 为什么我要知道serverless?我怎么在项目中应用serverless?如果你跟我一样对serverless有这么多疑问,来参加我们周日的线上活动吧! 我们将一一解答。 Vue Beijing 这次带来线上的workshop, 给大家介绍serverless相关的知识并带领大家一起用serverless技术实现一个简单的应用。 ​ Have you heard about serverless? what is serverless? why should I know about serverlss? How can I apply serverless for my projects? Here is the event for you !! Vue Beijing Meetup presents an Intro to serverless online Workshop that will equip you with the knowledge you need to get you started with using