Skip to content

thantzin-soe/laravel-on-fargate

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

laravel-on-fargate

Laravel App on AWS Fargate Demo

laravel-app

A simple Laravel app based on laravel demo application.

nginx-web

A simple nginx image with some modification.

Prequisites

You need to have:

  • Docker installed
  • AWS Account

Disclaimer: Deploying on Fargate will incur charges for your AWS account.

Step-by-step Tutorial

  1. Build images for both laravel-app and nginx-web.
  2. Push the images to your ECR repositories.
  3. Create a Fargate cluster.
  4. Write a TaskDefinition:
  • Make sure to include both images in Containers Definition.
  • Also create a shared Volume and mount at "/var/www".
  1. Finally, you can either run the Task or create a Service to make sure your app keep running.

For more detailed information you can read the article here: https://medium.com/@yosi.pramajaya/multi-containers-app-on-aws-fargate-e86d9dc6e207

About

Laravel App on AWS Fargate Demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 94.9%
  • HTML 3.3%
  • Dockerfile 1.2%
  • Other 0.6%