You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
Content-Length: 358915 | pFad | http://b.hatena.ne.jp/nabinno/api-gateway/
ここ1、2年でWeb APIを提供する企業はもちろん、それを活用した企業提携などが増えてきました。新しいWebサービスであればWeb APIを提供しないケースのが少ないくらいで、APIファーストと言った言葉も生まれています。 そんな中、次に問題になるのがWeb APIの管理です。既存システムの中に作り込んでいく、モノシリックな方法もあるでしょうが、今回はWeb APIを切り離して提供することでシステムの疎結合やマイクロサービス化を実現できるKongを紹介します。 Kongについて KongはオープンソースのAPIゲートウェイで、簡単にWeb APIを構築して本体サイトとのプロキシとして動作します。また、認証を行ったり、CORSやSSLなどの認証、トラフィックコントロール、解析や監視といった機能をプラグインで提供します。 Kong - Open-Source API Management a
The fastest, most-adopted API gateway is just the start The world's most sensitive and critical traffic volumes run on Kong. Why? With battle-tested open-source technology and enterprise-grade solutions and support, Kong is the most trusted and performant cloud-native API management platform for the modern tech stack. And since Kong is cloud, protocol, and language agnostic, our products work seam
Proxy Reference Introduction Kong listens for traffic on four ports, which by default are: :8000 on which Kong listens for incoming HTTP traffic from your clients, and forwards it to your upstream services. This is the port that interests us in this guide. :8443 on which Kong listens for incoming HTTPS traffic. This port has a similar behavior as the :8000 port, except that it expects HTTPS traffi
Clustering Reference Introduction Multiple Kong nodes pointing to the same datastore must belong to the same “Kong Cluster”. A Kong cluster allows you to scale the system horizontally by adding more machines to handle a bigger load of incoming requests, and they all share the same data since they point to the same datastore. A Kong cluster can be created in one datacenter, or in multiple datacente
Clustering Reference Introduction A Kong cluster allows you to scale the system horizontally by adding more machines to handle more incoming requests. They will all share the same configuration since they point to the same database. Kong nodes pointing to the same datastore will be part of the same Kong cluster. You need a load-balancer in front of your Kong cluster to distribute traffic across yo
渡辺です。 日本列島が酷暑とのことですが、札幌は23-4℃となっております。 書く機会があったので。 適当に修正してご利用ください。 /Lambda関数名 というリソースを定義し、POSTで対応するLambda関数を呼び出すテンプレートです。 --- AWSTemplateFormatVersion: 2010-09-09 Description: "API Gateway" Parameters: FunctionName: Type: String Description: "Lambda Function Name (ex: hello-world)" Resources: Api: Type: "AWS::ApiGateway::RestApi" Properties: Name: "api" Resource: Type: "AWS::ApiGateway::Resource"
Amazon API Gateway でバックエンド API コードを変更することなく、request/response パラメーターと response ステータスを上書きできるようになりました。 body のコンテンツをベースに response ステータスコードを再マップできるようになりました。また、response ヘッダーのほか request ヘッダー、クエリストリング、パスパラメーターなども、body、他のパラメーター、ステータスコードをもとに上書きできます。たとえば、レガシーのバックエンド API が「Input field out of range」の body コンテンツとともに 200 HTTP ステータスコードを返したとしたら、4xx のステータスコードを戻すよう、API を再マップできるようになります。request/response パラメーターとステータスの上
Starting today, Amazon API Gateway has increased the number of APIs and the request rate limit for creating and importing regional and private APIs. These limit increase enable you to better develop, deploy, and scale your API Gateway APIs. The number of APIs per account has been increased to 600 regional APIs, 600 private APIs, and 120 edge APIs. Now, you can create and import regional and privat
Amazon API Gateway の使用量プランにおいて、メソッドレベルでスロットリングを設定することにより、個々のメソッドに対するリクエストを異なるレートで調整できるようになりました。 使用量プランでは、特定のリクエスト率とリクエストクォータで選択した API に対するアクセスを許可できるようになりました。メソッドレベルのスロットリングが使用量プランに含まれるようになったことにより、個別のクライアント API キーに異なる API メソッドでスロットリング (レートおよびバーストの制限) を設定できます。これで、ユースケースに基づいて API に対するより細やかなアクセス制限が設定可能になります。 API の使用量プランにおけるメソッドレベルでのスロットリングは、AWS マネジメントコンソール、AWS CLI、AWS SDK のいずれかを使用して設定できます。Amazon API G
API Gatewayにはタイムアウトの制限があるため、Lambdaで長めの処理を行い、処理結果をレスポンスとして返す場合は非同期の構成にする必要があります。Step Functionsと組み合わせることで、比較的簡単に非同期にできたのでご紹介したいと思います。 どうも!大阪オフィスの西村祐二です。 下記図のような、webサイト上のボタンをクリックし、API Gatewayを経由しLambdaで処理を実行し、その処理結果をブラウザに表示するといった構成はよくあるパターンかと思います。 このような構成で躓くところとして、API Gatewayのタイムアウト制限があります。遭遇場面としてはLambdaで時間のかかる処理をしたときに遭遇することがあります。現状(2018/7/3時点)、API Gatewayは最大29秒でタイムアウトする制限となっています。つまり、29秒以内にレスポンスを返し、裏
API GatewayによるMicroservices化 mercari.go#1 3 July 2018 Taichi Nakashima About me @deeeet / @tcnksm (GitHub) Blog on deeeet.com Tech lead at Mercari microservices platform team 2 Mercari Meetup for Microservices Platform 7/19 遊びに来てくれ! https://mercari.connpass.com/event/92168/ 3 tl;dr Mercari Microservices化のために開発したAPI Gatewayについて紹介する. API Gatewayとは何か? API Gatewayの設計思想は? API Gatewayの機能の実装方法は? API Gate
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く
Fetched URL: http://b.hatena.ne.jp/nabinno/api-gateway/
Alternative Proxies: