Running #laravel Artisan commands on #aws Fargate
▻https://hackernoon.com/running-laravel-artisan-commands-on-aws-fargate-6c0e95f8e72b?source=rss-
I’ve recently published my thoughts on running a scalable, highly available Laravel project behind AWS VPC. In this post I want to talk about running Laravel Artisan commands on Fargate.IntroductionAWS Fargate is an AWS managed service that allows us to deploy #docker containers on ECS without having to manage the underlying infrastructure (EC2 cluster). That means it’s no longer possible to use a bastion host to get shell access to one of the container instances and interact with the container via docker exec.One key concept that allows artisan to run on Fargate is the Docker Command, which is responsible for executing the command that gives the container a reason to exist. For instance, when running Apache on an alpine image, the command will be httpd -DFOREGROUND. This command holds the (...)