Home

[AWS Error] arn is not authorized to perform 해결 방법

1. Problem AWS 의 자원을 활용하다보면 아래와 같은 에러를 만날 수 있습니다. is not authorized to perform 관련 이슈인데, 이러한 이슈는 접근하고 있는 자원에 대한 권한(Policy)이 없기 때문입니다. 아래의 이슈는 api Gateway 를 사용하면서 발생한 문제인데, Lambda 를 사용하거나 Event Bridge 등의 다양한 AWS 서비를 사용할 때에 권한히 없으면 동일하게 발생하는 문제입니다. User: arn:aws:iam::000000000000:user/name is not authorized to perform: apigateway:POST on reso...

Read more

스트림, 스트리밍 데이터, 배치이란? 실시간 데이터 처리 방법 및 개념 정리

1. 데이터 스트리밍이란? 스트리밍(streaming) 데이터란 줄지어서 계속 유입되는 데이터를 의미합니다. 많은 서비스에서 수많은 사용자가 끊임없이 텍스트, 이미지, 영상 등의 데이터를 만들어 서비스에 전달합니다. 이런 특징을 보유한 스트리밍 데이터를 바로 저장하고 분석하는 기술을 스트리밍 분석 기술이라고 부르며, 실시간 분석이라고도 합니다. 예시 서비스 위치 데이터를 활용한 서비스 금융 거래 이상 여부 탐지 기능 소셜 네트워크 실시간 방송 은행 거래 ...

Read more

AWS Arn, Iam, Policy, Role 이란? 개념정리

1. AWS Arn, Iam, Policy, Role 이란? 개념정리 1.1. ARN (Amazon Resource Name) 정의: ARN은 AWS 리소스를 고유하게 식별하는 Amazon 리소스 식별자입니다. 각 리소스에 대해 고유한 ARN이 있으며, 이를 통해 해당 리소스에 대한 권한을 부여하거나 정책을 적용할 수 있습니다. 예시 Amazon S3 버킷의 ARN은 arn:aws:s3:::bucket-name과 같이 표현될 수 있습니다. 특정 IAM 사용자의 Arn은 arn:aws:iam::account-id:user/user-name 같이 표현될 수 있습니다. ...

Read more

[leetcode] 71. Simplify Path _ Algorithm Problem Solve for python

1. Problem 71. Simplify Path Given a string path, which is an absolute path (starting with a slash ‘/’) to a file or directory in a Unix-style file system, convert it to the simplified canonical path. In a Unix-style file system, a period ‘.’ refers to the current directory, a double period ‘..’ refers to the directory up a level, and any mul...

Read more

[leetcode] 394. Decode String _ Algorithm Problem Solve for python

1. Problem 394. Decode String Given an encoded string, return its decoded string. The encoding rule is: k[encoded_string], where the encoded_string inside the square brackets is being repeated exactly k times. Note that k is guaranteed to be a positive integer. You may assume that the input string is always valid; there are no extra white sp...

Read more

[leetcode] 1466. Reorder Routes to Make All Paths Lead to the City Zero _ Algorithm Problem Solve for python

1. Problem 1466. Reorder Routes to Make All Paths Lead to the City Zero There are n cities numbered from 0 to n - 1 and n - 1 roads such that there is only one way to travel between two different cities (this network form a tree). Last year, The ministry of transport decided to orient the roads in one direction because they are too narrow. Ro...

Read more

[leetcode] 62. Unique Paths _ Algorithm Problem Solve for python

1. Problem 62. Unique Paths There is a robot on an m x n grid. The robot is initially located at the top-left corner (i.e., grid[0][0]). The robot tries to move to the bottom-right corner (i.e., grid[m - 1][n - 1]). The robot can only move either down or right at any point in time. Given the two integers m and n, return the number of possible...

Read more