☁️ AWS Errors

49 error notes

awsintermediate

Sửa lỗi 'Permission Denied' của AWS EventBridge đối với Lambda

The service principal events.amazonaws.com does not have permission to invoke the resource: arn:aws:lambda:region:account-id:function:function-name
aws-eventbridgeaws-lambdaiam-policydevops
awsintermediate

Ngăn chặn giới hạn băng thông: Cách khắc phục ProvisionedThroughputExceededException trong Kinesis

ProvisionedThroughputExceededException: Rate exceeded for shard shardId-000000000000 in stream <stream-name> under account <account-id>.
awskinesisthrottlingdata-streams
awsbeginner

Sửa lỗi: 'This stack uses assets' trong AWS CDK

Error: This stack uses assets, so the toolkit stack must be deployed to the environment (Run "cdk bootstrap aws://<account-id>/<region>")
awscdkdevopscloudformation
awsintermediate

Cách khắc phục lỗi AWS ExpiredTokenException trong CI/CD Pipeline

An error occurred (ExpiredTokenException) when calling the ListBuckets operation: The security token included in the request is expired
awsstsiamboto3
awsintermediate

Sửa lỗi DynamoDB TransactionConflictException: Khi các Transaction xung đột

TransactionConflictException: Transaction is ongoing for the item
dynamodbaws-lambdahe-thong-phan-tanbackend
awsintermediate

Khắc phục lỗi [Errno 28] trên AWS Lambda: Cách xử lý giới hạn 512MB của /tmp

[Errno 28] No space left on device: '/tmp/large_file.csv'
aws-lambdacloud-computingpythonserverless
awsintermediate

Fix EC2 Không Mount Được EFS: mount.nfs4: Connection timed out

mount.nfs4: Connection timed out
efsnfsec2security-group
awsintermediate

Khắc phục lỗi 'Essential container in task exited' trong AWS ECS Fargate

Essential container in task exited. Exit Code: 1 (or 137, 127)
aws-ecsfargatedockerkhắc-phục-lỗi
awsintermediate

Khắc phục lỗi AWS Glue OOM: Xử lý 'java.lang.OutOfMemoryError: Java heap space'

Command failed with exit code 1. java.lang.OutOfMemoryError: Java heap space
aws-gluesparkoomkhắc-phục-lỗi
awsintermediate

Tại sao chứng chỉ AWS ACM bị kẹt ở 'Pending Validation' và cách khắc phục

Validation timed out. The status of this certificate request is Pending validation.
aws-acmroute53chứng-chỉ-sslxác-thực-dns
awsintermediate

Khắc phục lỗi AWS ElastiCache Redis 111: Connection Refused trên cổng 6379

Error 111 connecting to cluster.xxxxx.cache.amazonaws.com:6379. Connection refused.
elasticacheredissecurity-groupvpc
awsintermediate

Sửa lỗi AccessDeniedException: User s3.amazonaws.com is Not Authorized to Perform lambda:InvokeFunction

An error occurred (AccessDeniedException) when calling the Invoke operation: User: s3.amazonaws.com is not authorized to perform: lambda:InvokeFunction on resource
awslambdas3iam-policy
awsintermediate

Sửa lỗi API Gateway: Execution failed due to configuration error: Invalid permissions on Lambda function

Execution failed due to configuration error: Invalid permissions on Lambda function
api-gatewaylambdaiamkhac-phuc-loi-aws
awsintermediate

Khắc phục lỗi AWS KMS AccessDeniedException: Tại sao quyền IAM là chưa đủ

AccessDeniedException: User: arn:aws:iam::123456789012:role/MyRole is not authorized to perform: kms:Decrypt on resource: arn:aws:kms:ap-northeast-1:123456789012:key/abc-123
awskmsiamsecurity
awsintermediate

Khắc phục lỗi CloudFront 502: Khi quá trình SSL Handshake thất bại

502 Bad Gateway: CloudFront was unable to establish a secure connection with the origin server.
cloudfront502-bad-gatewayssl-handshakexu-ly-su-co-aws
awsintermediate

Sửa lỗi AWS Athena HIVE_CURSOR_ERROR: Row is not a valid JSON object

HIVE_CURSOR_ERROR: Row is not a valid JSON object
aws-athenas3jsonkhac-phuc-su-co
awstrung bình

Khắc phục lỗi AWS Cognito 'Refresh Token has expired' và ngăn chặn đăng xuất ngẫu nhiên

NotAuthorizedException: Refresh Token has expired
awscognitobảo mậtxác thực
awsintermediate

Sửa lỗi AWS Lambda 'Code uncompressed size is greater than max allowed size' khi triển khai

An error occurred (InvalidParameterValueException) when calling the UpdateFunctionCode operation: Code uncompressed size is greater than 262144000 bytes
aws-lambdadeploymentserverless
awsbeginner

Sửa lỗi AWS Step Functions States.HeartbeatTimeout: Tại sao tác vụ thất bại sau 60 giây

States.HeartbeatTimeout: State machine execution failed: Task timed out after 60 seconds
awsstep-functionslambdaserverless
awsintermediate

Khắc phục AWS VPC Peering: Xử lý lỗi 'Request timeout' và 'No route to host'

Request timeout for icmp_seq — no route to host across VPC peering connection
awsvpcpeeringmạng
awsintermediate

Sửa lỗi 'InsufficientInstanceCapacity' Khi Khởi Chạy hoặc Start EC2 Instances

An error occurred (InsufficientInstanceCapacity) when calling the RunInstances operation: We currently do not have sufficient capacity in the Availability Zone you requested.
awsec2capacitydevops
awsbeginner

Sửa lỗi AWS CLI 'RequestExpired' Do Đồng Hồ Hệ Thống Bị Lệch

RequestExpired: Request has expired. (Service: AmazonS3; Status Code: 403, Error Code: RequestExpired)
aws-cliđồng-bộ-thời-gianntpxác-thực
awsintermediate

Sửa lỗi 'connect: No route to host' trên AWS EC2 — Thiếu Internet Gateway hoặc NAT Gateway

connect: No route to host
awsvpcec2internet-gateway
awsintermediate

Khôi phục AWS RDS từ trạng thái 'storage-full': Khắc phục tức thì và ngăn ngừa lâu dài

DB instance is in storage-full state. The instance may not be able to accept connections or perform writes.
awsrdslưu trữcơ sở dữ liệu
awsintermediate

Sửa lỗi AWS ECR Push: 'no basic auth credentials'

Error response from daemon: no basic auth credentials
ecrdockerauthenticationaws-cli
awsintermediate

Sửa lỗi EKS 'Unauthorized': Hướng dẫn xử lý Kubeconfig và IAM

error: You must be logged in to the server (Unauthorized)
ekskubectlkubeconfigiam
awsintermediate

Sửa lỗi Boto3 ThrottlingException: Xử lý lỗi 'Rate exceeded' trong script AWS Python

ThrottlingException: Rate exceeded
throttlingboto3apiaws
awsintermediate

Sửa lỗi AWS CloudFront 403 ERROR trên S3 Origin — OAC Bucket Policy Chưa Được Cấu Hình

403 ERROR: The request could not be satisfied. Request blocked. We can't connect to the server for this app or website at this time.
cloudfronts3oacbucket-policy
awsintermediate

Sửa lỗi AWS S3 403 Forbidden: HeadObject bị chặn bởi Bucket Policy hoặc ACL

An error occurred (403) when calling the HeadObject operation: Forbidden
awss3bucket-policyacl
awsintermediate

Sửa lỗi AWS Elastic Beanstalk Deploy Failed: WSGIPath Không Tồn Tại & Health Check Severe

ERROR: Your WSGIPath refers to a file that does not exist. / Instance deployment failed. For details, see 'eb-engine.log'. / Environment health has transitioned from Ok to Severe
awselastic-beanstalkhealth-checkdeploy
awsintermediate

Sửa lỗi AWS ECS ResourceInitializationError: unable to retrieve ecr registry auth

ResourceInitializationError: unable to pull secrets or registry auth: execution resource retrieval failed: unable to retrieve ecr registry auth: service call has been retried 3 time(s): RequestError: send request failed
ecsecrdockeriam
awsintermediate

Sửa lỗi AWS CodeDeploy Deployment Failed: Script at specified location failed to complete in 300 seconds

Script at specified location: scripts/before_install.sh failed to complete in 300 seconds
codedeploydeploymentlifecycle-hooktimeout
awsintermediate

Khắc phục lỗi lặp tin nhắn SQS và ReceiptHandleIsInvalidException

com.amazonaws.services.sqs.model.ReceiptHandleIsInvalidException: The input receipt handle is not a valid receipt handle (Service: AmazonSQS; Status Code: 404)
aws-sqsvisibility-timeouthe-thong-phan-tancloudwatch
awsintermediate

Sửa lỗi AWS Secrets Manager EndpointConnectionError: Không thể kết nối đến Endpoint URL (Thiếu VPC Endpoint)

EndpointConnectionError: Could not connect to the endpoint URL: https://secretsmanager.us-east-1.amazonaws.com / ConnectionError: HTTPSConnectionPool: Max retries exceeded
awssecrets-managervpcendpoint
awsintermediate

Sửa lỗi AccessDeniedException trên AWS CloudWatch khi gọi PutLogEvents

An error occurred (AccessDeniedException) when calling the PutLogEvents operation: User: arn:aws:sts::123456789012:assumed-role/MyAppRole is not authorized to perform: logs:PutLogEvents on resource: arn:aws:logs:us-east-1:123456789012:log-group:/aws/lambda/my-func:*
awscloudwatchiamkhắc phục lỗi
awsbeginner

Sửa lỗi CORS trên AWS API Gateway: Thiếu Header 'Access-Control-Allow-Origin'

Access to fetch at 'https://xxxxxxxx.execute-api.ap-northeast-1.amazonaws.com/prod/resource' from origin 'https://example.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
api-gatewaycorslambdaaws
awsbeginner

Sửa lỗi AWS Lambda 'Runtime.ImportModuleError: No module named requests' Khi Deploy Thiếu Dependencies

Runtime.ImportModuleError: Unable to import module 'lambda_function': No module named 'requests'
lambdapythonlayerstriển khai
awsbeginner

Fix AWS SES MessageRejected: Email Address Not Verified (Sandbox Mode)

MessageRejected: Email address is not verified. The following identities failed the check in region US-EAST-1: recipient@example.com
sesemailsandboxsmtp
awsbeginner

Fix lỗi AWS CLI 'InvalidClientTokenId': The Security Token Included in the Request is Invalid

An error occurred (InvalidClientTokenId) when calling the GetCallerIdentity operation: The security token included in the request is invalid.
awscliiamaccess-key
awsintermediate

Fix ProvisionedThroughputExceededException trong AWS DynamoDB

ProvisionedThroughputExceededException: The level of configured provisioned throughput for the table was exceeded. Consider increasing your provisioning level with the UpdateTable API.
dynamodbthroughputcapacityaws
awsintermediate

Fix AWS ALB 503 Service Unavailable: Không có Target nào khỏe mạnh trong Target Group

503 Service Temporarily Unavailable - No healthy upstream
albec2health-checkload-balancer
awsbeginner

Sửa lỗi AWS S3 NoSuchBucket: An error occurred (NoSuchBucket) when calling the operation

An error occurred (NoSuchBucket) when calling the operation
awss3bucketnotfound
awsintermediate

Fix CloudFormation "The stack is in an UPDATE_ROLLBACK_FAILED state and can not be updated"

The stack is in an UPDATE_ROLLBACK_FAILED state and can not be updated.
AWSCloudFormationstackrollback
awsintermediate

Sửa lỗi AWS Lambda "Task timed out after 3.00 seconds"

Task timed out after 3.00 seconds
awslambdatimeoutfunction
awsintermediate

Khắc phục lỗi AWS RDS "FATAL: too many connections for role"

FATAL: too many connections for role
awsrdsconnectionpostgresql
awsintermediate

Sửa lỗi AWS S3: Your proposed upload exceeds the maximum allowed object size

Your proposed upload exceeds the maximum allowed object size.
AWSS3uploadgiới hạn kích thước
awsintermediate

Fix lỗi EC2 "Instance reachability check failed" (1/2 Status Checks Failed)

Instance reachability check failed (1/2 status checks failed)
AWSEC2status checkxử lý sự cố
awsintermediate

Fix InvalidParameterValue: The instance type is not supported in this region (AWS EC2)

InvalidParameterValue: The instance type is not supported in this region
awsec2instanceregion
awsintermediate

Khắc phục lỗi AWS AccessDenied: Đã xảy ra lỗi (AccessDenied) khi gọi thao tác: Access Denied

An error occurred (AccessDenied) when calling the operation: Access Denied