はじめまして、Goのpackage import pathのためにgithubアカウントを短くしたymgytです。 ハウテレビジョンでは2018年5月15日にiOSアプリ外資就活ドットコムのリニューアル版をリリースいたしました。 このアプリのバックエンドをAWS Elastic Container Service(ESC)とGoを中心に作りました。本blogではその際にハマったところや意識したところを述べていきたいと思います。 構成 Terraform Cloudformationとの比較 Go製CLIツール ECS Cluster Cluster作成のtf fileのsample user_data.sh Service Deploy Autoscaling Service Cluster Terminate Hook Lambda terminating hook lambda lam