3
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

OCI Functionsで郵便番号から住所を検索する方法

3
Last updated at Posted at 2022-08-17

OCI外部から、API Gateway経由でOCI Functionsを呼び出し、Object Storageに格納されたファイルにアクセスできます。本記事では、HTTPSリクエストを使って郵便番号から住所を検索するシンプルなデモを紹介します。

このデモを通じて、OCI Functionsと「API Gateway」「Object Storage」のシームレスな連携を体験し、サーバレスならではのスケーラビリティと運用コストの軽減を、ぜひ実感してください。
image.png

検証環境

分類 項目 内容 コメント
OCI Function 言語 Python
メモリ 512 GB デフォルトの256 GBより引き上げた
タイムアウト 30 秒 デフォルトのまま
Object Storage ファイルフォーマット JSON 全日本の12万件の郵便番号は登録済
エンコード UTF-8 改行: LFのみ (Unix)
呼出元 Cloud Shell Linux On-PのLinuxからでもOK
On-Pクライアント Windows コマンド・プロンプト、PowerShell

※、この例で使用しているソースは、ここより取得できます。

ステップ

リンクから、詳細をご確認いただけます。

関連記事
クラウド技術ブログ一覧
OCI Functionsで郵便番号から住所を検索する方法
OCI Functions と AWS Lambda の比較

3
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?