Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

SitePoint PHP Blog:
Running an Elastic LAMP Stack on AWS
Mar 15, 2016 @ 11:54:38

The SitePoint PHP blog has posted a tutorial from Daniel Berman giving you a step by step guide to setting up an Elastic LAMP stack on AWS, the Amazon Web Services platform using Zend Server.

This article introduces what is probably one of the simplest ways of setting up and running an elastic LAMP stack on the cloud – using Zend Server on AWS.

More specifically, the workflow described here includes launching a pre-configured AWS CloudFormation template that sets up all the components of a LAMP stack: Zend Server’s certified PHP stack plus all of Zend Server’s add-on features (including Z-Ray), a MySQL database, a Zend Server elastic group consisting of additional Zend Server instances, an elastic load balancer, and other pre-configured security definitions. This article is perfect for those contemplating moving their production environment to the cloud or those who already have one set up on AWS.

He starts with some of the basics: what Zend Server is and what role CloudFormation plays in the deployment process. The rest of the tutorial is broken up into several steps of the setup and deployment process:

  • Step 1: Launching the stack
  • Step 2: Managing the stack
  • Step 3: Deploying an application
  • Step 4: Monitoring the stack

They include screenshots of the web-based interfaces you'll use to complete each of these steps, giving you a great visual guide to where you should be and what things should look like. In the end you'll have a simple application, running in AWS on Zend Server you can easily monitor and configure.

tagged: zendserver tutorial elastic aws amazon webservices setup configure guide

Link: http://www.sitepoint.com/running-an-elastic-lamp-stack-on-aws/

A Cloudy Place:
PHP and Git on AWS Elastic Beanstalk
Mar 28, 2012 @ 13:53:08

On the "A Cloudy Place" blog there's a recent post about the steps the author ( Shameer) to to get PHP and Git set up on the Elastic Beanstalk service from Amazon.

When Amazon announced Beanstalk’s support for PHP I was curious to know what it would look like. So I decided to give it a try. I hadn’t used my AWS account for a while, so I had to do some account setup tasks, configuring command line tools, etc. In this article I will explain how to set up a PHP application in Beanstalk from scratch.

He walks you through the entire process (complete with some screenshots) of getting the command line tools set up, creating your first PHP application and connecting it to your git repository. There's no database instructions included because the default EC2 instance doesn't include them. You'll need to refer to these instructions if you need that for your application.

tagged: aws elastic beanstalk ec2 amazon git tutorial

Link:

techPortal:
PHP and the Cloud
Mar 31, 2009 @ 14:47:10

On the Ibuildings techPortal today Vito Chin has posted a new article dealing with PHP and "the Cloud" - where the popular web language fits into the move towards cloud computing.

Cloud computing refers to the utilization of shared, elastic resources and processing power accessed via the Internet. In some ways, it hails the reversion to the golden age of time-sharing but with significant improvements to the distribution philosophies underlying the delivery infrastructure. [...] Cloud-based development involves in some sense, the outsourcing, of various parts of the application out of the server and into the cloud.

Included is an illustration of how an application would interact with the cloud and an example of working with the S3 service that Amazon offers. The example mentions both the normal services and something called the "elastic compute cloud" that lets you use remote services to run virtual instances of other operating systems.

tagged: cloud computing amazon webservices s3 elastic compute cloud example

Link: