Toggle navigation
lunaplus*
Home
SEARCH
lunaplus*
Find hints in all sort of places
AWS Lambda関数をPowerShellで作成する
Mac上でPowerShellを動かしてみたくなり、それだけでは面白くないなぁと言うことで、勢いでAWS Lambdaのモジュールを作成してみました。 色々と調べながら試行錯誤したので、記事にしてみました。 まずは、Mac上でBrewを使って、PowerShellをインストールします。 brew install —cask powershell ==> Downloading https://github.com/PowerShell/PowerShell/releases/download/v7.1. ==> Downloading from https://github-releases.githubusercontent.com/49609581/89b7 ######################################################################## 100.0% ==> Installing Cask powershell ==> Running installer for powershell; your password may be necessary. Package installers may write to any location; options such as `--appdir` are ignored. Password: installer: Package name is PowerShell - 7.1.4 installer: Installing at base path / installer: The install was successful. 🍺 powershell was successfully installed! はい。順調です。 すでにこの段階でPowerShellが動き出します。コマンド名は、pwsh で起動します。
Posted on 2021/09/29
Lambda PythonからAthenaにクエリーを実行する
オペレーション上の障害でログ調査が必要になり、Athenaを使い始めました。 Athenaを使うとS3上のログファイルに対してブラウザ上でクエリをちょこちょこと書いて検索するだけなので非常に便利です。ただ、現実には毎日や毎時ごとのパーティションを事前に作成する必要があり、この作業が結構忘れがち、、なので「Lambdaからパーティション作成をやってしまおう」という算段です。
Posted on 2017/05/13
FEATURED TAGS
ai
alibabacloud
apache
athena
aws
bash
cloudformation
deployment
directmail
dns
docker
environment
eventbridge
github
github actions
hugo
iam
java
lambda
linux
macos
mail
mysql
proxy
r
r studio
servercerts
ssl
tomcat
web
インストール
データハンドリング
BOOKMARKS
CleanWhite Hugo Theme