AWS

Angular+Serverless Framework+AWSな構成のサーバレスWebアプリにAmplify+API Gateway Lambda AuthorizerでCognitoユーザ認証を組み込んでみた

これはServerless Advent Calendar 2018の15日目です。 インフラ構築、Backend API、Frontend SPAと実装してきたサーバレスWebアプリのサンプルにAWS AmplifyとAWS API Gateway Lambda Authorizerを使ってCognitoユーザ認証を組み込んでみました。 今回のコ…

AWS CLIでCode4兄弟によるEC2+nginx+Laravelの継続的デプロイ環境を構築する

これはパーソルキャリア Advent Calendar 2018の4日目です。 AWS CLIを使ってEC2+nginx+Laravelな環境をCode4兄弟(CodeCommit, CodeBuild, CodeDeploy, CodePipeline)で継続的デプロイできるようにする手順をまとめてみました。 構築する環境 構築の手順 最…

Create a Clean Architecture REST API with Serverless Framework and TypeScript

This article is a translation of the original article. I implemented an empty API of sample prepared in the previous article*1 so that it works. Specification of API Architecture Final goal (but I can not get it...) This article Implementa…

Serverless FrameworkとTypeScriptでClean ArchitectureライクなREST APIを作ってみる

前回のTerraformでAWSサーバーレスなサービスのインフラ構築をコード化する - Inside Closure - にへろぐではサンプルとして空っぽのAPIを用意しました。せっかくなのでこのサンプルを動くように実装してみました。 何を作ったのか アーキテクチャ 目指した…

TerraformでAWSサーバーレスなサービスのインフラ構築をコード化する

最近、TerraformでAWSサーバーレスなサービスのインフラ構築をコード化する機会があったので理解を深めるためにプライベートでも作ってみました。 AWSサーバーレスなサービスの全体像 インフラ構築の流れ セットアップ用のCodeBuild サービスの環境を構築す…