Skip to content

Latest commit

 

History

History
55 lines (46 loc) · 1.51 KB

README.md

File metadata and controls

55 lines (46 loc) · 1.51 KB

packer-aws-webapp-config

Packer based project for provisioning a "webapp" image using Ansible remote, and Serverspc, for AWS, or Virtualbox, with Elastic monitoring.

Requirements

To use this project, you must have installed:

(Optional)

Deploy to AWS, with Packer

git clone https://github.com/apolloclark/packer-aws-webapp
cd ./packer-aws-webapp/config
# create a keypair named "packer" or change lines 26, 27 in build_packer_aws.sh
./build_packer.sh

Deploy Locally, with Vagrant

git clone https://github.com/apolloclark/packer-aws-webapp
cd ./packer-aws-webapp/config
# change line 6 in build_packer_virtualbox.sh to a folder with an Ubuntu 16.04 ISO
vagrant up
vagrant ssh
# http://127.0.0.1:8080

MySQL

mysql -h 127.0.0.1 -u root -p

Ansible

Ansible Roles:

  • geerlingguy.firewall
  • geerlingguy.apache
  • apolloclark.apache-modsecurity
  • apolloclark.mysql
  • apolloclark.mysql-mcafee-audit
  • apolloclark.mysql-deploy
  • geerlingguy.php-versions
  • geerlingguy.php
  • geerlingguy.apache-php-fpm
  • geerlingguy.php-mysql
  • geerlingguy.composer