Skip to content

Packer, Ansible remote, Serverspec, "webapp" for Terraform deployment to AWS

License

Notifications You must be signed in to change notification settings

apolloclark/packer-aws-webapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Packer, Ansible remote, Serverspec, "webapp" for Terraform deployment to AWS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published