Giter VIP home page Giter VIP logo

aws-cloudformation-ubuntu-lamp-symfony's Introduction

AWS Cloudformation template for LAMP Stack Deployment

This is a Cloudformation template to deploy LAMP Stack to AWS! This Template is adapted for the PHP-Framework Symfony.

Tutorial in German: https://youtu.be/hcELHMOs32U

Stack

This is LAMP Stack

  • Ubuntu Ubuntu 22.04.1 LTS (64-bit x86)
  • Apache 2.4.52
  • MySQL 8.0.31
  • PHP 8.1.2
  • AWS CLI (current version)
  • Java (openjdk version "18") - if "Jenkins" is installed

Additionally Tools

  • PhpMyAdmin 5.2.0 - optional
  • Python3
  • Symfony (current version) - optional
  • Jenkins (current version) - optional
  • TYPO3 (12.0.0) - optional

!! Don't install TYPO3 and Symfony at the same time !!

AWS Ressourcen

  • EC2-Instance ImageId: ami-0caef02b518350c8b (located in Frankfurt)

Another Ressources

  • GitHub

Description:

Symfony:

  • Path: domain.com

Notes: You can create a new symfony project or you can take an existing Symfony-Project from Github. For the case you want to install an existing project you have to write your own script!

# install an existing project from github
# !! edit !! the following script (the following script is on github)
mkdir /var/www/html/settings
sudo curl https://${GithubUser}:${GithubPassword}@raw.githubusercontent.com/LuminiCode/symfony/master/aws-install-script-sg.sh -o /var/www/html/settings/aws-install-script-sg.sh
bash /var/www/html/settings/aws-install-script-sg.sh ${GithubUser} ${GithubPassword} ${AWS::StackName} ${DBUser} ${DBPassword} ${DBName}

phpMyAdmin:

  • Path: domain.com/phpmyadmin

Jenkins:

  • Path: domain.com:8080
  • Unlock: In the terminal window, use the cat command to display the password
sudo cat /var/lib/jenkins/secrets/initialAdminPassword

aws-cloudformation-ubuntu-lamp-symfony's People

Contributors

luminicode avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  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.