Deploy a LAMP Web App on Amazon Lightsail

GETTING STARTED GUIDE

Introduction

Follow step-by-step instructions to deploy a LAMP stack using Amazon Lightsail

Overview

In this guide, you will learn how to deploy a PHP web application on a LAMP (Linux, Apache, MySQL, PHP) stack deployed using Amazon Lightsail.

Lightsail is an easy-to-use virtual private server (VPS) provider that offers you everything needed to build an application or website for a cost-effective, monthly plan. 

What You Will Learn

In this guide, you will learn how to:

  • How to set up a LAMP stack using Amazon Lightsail blueprints
  • Deploy a PHP app to the instance

Prerequisites

Before Starting this guide, you will need:

  • An AWS account: if you don't already have one follow the  Setup Your Environment getting started guide for a quick overview.
  • (Optional) Activity in this guide will heavily involve terminal activities. You can use your own development environment to follow this guide, or you can also use AWS Cloud9. For more information on how to setup your AWS Cloud9 environment, please refer to this guide Setting up AWS Cloud9.

 AWS Experience

Beginner

 Time to Complete

15 minutes

 Cost to Complete

Free Tier eligible

 Requires

  • AWS Account with administrator-level access**
  • Recommended browser: The latest version of Chrome or Firefox

[**]Accounts created within the past 24 hours might not yet have access to the services required for this tutorial.

Modules

This tutorial is divided into the following short modules. You must complete each module before moving to the next one.

  1. Set up a LAMP stack with Lightsail (15 mins): Set up your LAMP stack with Lightsail and install your PHP application.
  2. Clean up: In this last part of the guide, you learn how to clean up resources after you are done.

Prepare Container