随笔分类 -  Amazon Web Service

摘要:Using CloudFormation template to create CodePipeline should be the best practice to maintain a pipeline. There are a lot of posts or videos online tha 阅读全文
posted @ 2022-09-05 07:16 Grandyang 阅读(203) 评论(0) 推荐(0) 编辑
摘要:Unlike AWS_REGION or AWS_LAMBDA_FUNCTION_NAME, we cannot get current account id from the environment variables. In order to to get the account id, we 阅读全文
posted @ 2022-09-03 13:56 Grandyang 阅读(72) 评论(0) 推荐(0) 编辑
摘要:When you deploy with SAM CLI using sam deploy, you might get the following error: Error: Unable to upload artifact <YourComponent> referenced by Conte 阅读全文
posted @ 2022-09-02 13:40 Grandyang 阅读(829) 评论(0) 推荐(0) 编辑
摘要:When use AWS API gateway with lambda authorizer, you may get 403 Forbidden error code with the error message User is not authorized to access this res 阅读全文
posted @ 2022-06-20 08:31 Grandyang 阅读(418) 评论(0) 推荐(0) 编辑
摘要:If you configure CORS (Cross-Origin Resource Sharing) for an API, API Gateway automatically sends a response to preflight OPTIONS requests, even if th 阅读全文
posted @ 2022-06-19 04:54 Grandyang 阅读(55) 评论(0) 推荐(0) 编辑
摘要:AWS Lambda allows you to write customized authorizer for the API gateway, here is the video for Secure your API Gateway with Lambda Authorizer | Step 阅读全文
posted @ 2022-06-17 14:33 Grandyang 阅读(1324) 评论(0) 推荐(0) 编辑
摘要:AWS lambda function has some built-in packages, but when you use some other packages (like requests), you might get the following error: Unable to imp 阅读全文
posted @ 2022-06-06 12:59 Grandyang 阅读(610) 评论(0) 推荐(0) 编辑
摘要:If you got the following error when run the sam deploy : CREATE_FAILED AWS::Lambda::Function <YourFunctionName> Resource handler Function returned mes 阅读全文
posted @ 2021-10-21 13:06 Grandyang 阅读(1281) 评论(0) 推荐(0) 编辑
摘要:If the CodeBuild failed with following issue: Err:4 https://deb.nodesource.com/node_14.x focal Release Certificate verification failed: The certificat 阅读全文
posted @ 2021-10-07 12:55 Grandyang 阅读(783) 评论(0) 推荐(0) 编辑
摘要:DynamoDB 是 AWS 全家桶中非常重要的一个服务,跟 MongoDB 一样,是 NoSQL 数据库。有时候我们需要将某个表的数据整个导出或者导入,如果数据量很大的话,建议使用 AWS Data Pipeline 导出和导入 DynamoDB,如果数据量不是特别大的话,建议使用 AWS CLI 阅读全文
posted @ 2020-05-13 10:18 Grandyang 阅读(1344) 评论(0) 推荐(0) 编辑
摘要:When runs "serverless create_domain", we may get the following error: Could not find the certificate xxxx.com. at ServerlessCustomDomain. This indicat 阅读全文
posted @ 2020-02-20 14:49 Grandyang 阅读(5635) 评论(0) 推荐(0) 编辑
摘要:After install the Nginx on AWS instance, and visit your public ip address, you might see the following: This site can't be reached xxx.xxx.xx take too 阅读全文
posted @ 2018-12-16 06:41 Grandyang 阅读(1564) 评论(0) 推荐(0) 编辑
摘要:Go to Elastic Beanstalk -> Configuration -> Security -> Virtual machine permissions -> EC2 key pair. Choose your key pair. If you do not have one, The 阅读全文
posted @ 2018-12-01 13:32 Grandyang 阅读(494) 评论(0) 推荐(0) 编辑

Fork me on GitHub