July Release Confetti
150+ New Courses, Hands‑On Labs, And
Interactive Learning Activities
Learn More

Configuring A Web Application In VPC

Length: 00:45:18

Lesson Summary:

In this lesson, we build an application from the ground up in a Virtual Private Cloud on Amazon Web Services. To do this, we are going to use an Elastic Loab Balancer (ELB), EC2 instances, an Amazon RDS database, and a PHP Application (Laravel).

Commands to copy/paste (in order, but not including steps in between):

sudo apt-get install git php5 php5-fpm nginx php5-common php5-curl php5-cli php5-gd php5-intl php5-imagick php5-mcrypt php5-mysql mysql-client libexpat1 ssl-cert


NOTE: If you selected an AMI with Ubuntu 16.04 instead of 14.04 (which is what I chose in the video, but no longer the default), then these commands will return a "package has no installation candidate" error. This happens because 16.04 comes with PHP7 by default. Use php7 packages instead, or run these commands:

sudo add-apt-repository ppa:ondrej/php

sudo apt-get update

sudo apt-get install git php5.6 php5.6-fpm nginx php5.6-common php5.6-curl php5.6-cli php5.6-gd php5.6-intl php5.6-imagick php5.6-mcrypt php5.6-mysql mysql-client libexpat1 ssl-cert

Then continue on as normal.


git clone https://github.com/christophelimpalair/laravel5-example app

curl -sS https://getcomposer.org/installer | php

This lesson is only available to Linux Academy members.

Sign Up To View This Lesson
Or Log In

Looking For Team Training?

Learn More