Giter VIP home page Giter VIP logo

ecs_parctice's Introduction

ecs_parctice

LaravelをECSで稼働させるテスト

スタートガイド

関連ライブラリのインストール

npm install

CDK利用の下準備

複数のプロファイルをAWS CLIに設定している場合は使用するアカウントを指定

export AWS_PROFILE={プロファイル名}

CDKを実行するための下準備を実行(アカウントのCFnにCDKToolkitスタックがあれば実行済み)

cdk bootstrap

環境変数設定

  • stack/config/example.tsをコピーして必要な値を設定

デプロイ

cdk deploy

参考

ECSとECRのコンテナ構成をCDKで実装してみた https://dev.classmethod.jp/articles/cdk-ecs-ecr/

ecr-deploymentを使ってCDKでECRの名前を指定してdocker pushする https://chariosan.com/2021/10/24/cdk_ecr_deployment_docker_push/

Docker上で動くLaravel(PHP)をAWS ECS-Fargateにデプロイする(codecommit/codepipeline/codebuild/codedeploy) https://it.kensan.net/docker%E4%B8%8A%E3%81%A7%E5%8B%95%E3%81%8Flaravelphp%E3%82%92aws-ecs%E3%81%AB%E3%83%87%E3%83%97%E3%83%AD%E3%82%A4%E3%81%99%E3%82%8B.html

ecs_parctice's People

Contributors

matsunok avatar naniwadari avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.