News Feed
Jobs Feed
Sections




News Archive
feed this:

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

Amazon Web Services PHP Blog:
Provision an Amazon EC2 Instance with PHP
August 23, 2013 @ 09:15:23

On the Amazon Web Services blog today Jeremy Lindblom shares a quick way you can use the AWS SDK to create an EC2 instance directly from PHP in just a few lines of code.

Amazon EC2 is a powerful AWS service that includes the ability to provision on-demand servers. While you can easily do this through the AWS Management Console, in this post, I want show you how to use the AWS SDK for PHP to do it programmatically by interacting with the Amazon EC2 API.

He starts with an outline of the steps (requiring a little bit of EC2-side configuration first) and shows how to use the SDK. His code sets up the client, creates the key pair and security group then is ready to make the instance. You can give the "runInstances" method a configuration that includes number of instances and what type. There's also some hooks back into the request that can tell you when the instances are running and how to get the path to the new instance (for ssh access).

0 comments voice your opinion now!
amazon webservice api provision instance ec2 sdk tutorial

Link: http://blogs.aws.amazon.com/php/post/TxMLFLE50WUAMR/Provision-an-Amazon-EC2-Instance-with-PHP

CoderWall.com:
Scale PHP on Ec2 to 30,000 Concurrent Users / Server
July 19, 2013 @ 11:07:08

On CoderWall.com there's a post sharing some findings about how RockThePost.com scaled PHP to 30,000 concurrent users on Amazon EC2 instances.

RockThePost.com is a LAMP stack hosted on Ec2. We're preparing to be featured in an email which will be sent to ~1M investors... all at the same time. For our 2 person engineering department, that meant we had to do a quick sanity check to see just how many people we can support concurrently.

They have a list of five suggestions/opinions on what has helped them scale out to this level including using Varnish for caching, turning on APC (PHP opcode caching) and using a c1.xlarge EC2 instance. They used Google Analytics and Siege to run their load testing on the "exterior" of the site.

0 comments voice your opinion now!
rockthepost scale amazon ec2 concurrent users howto

Link: https://coderwall.com/p/__z9ia

DZone.com:
How to Set up Wordpress on EC2 Using Puppet and Git
March 30, 2012 @ 09:14:52

On DZone.com there's WordPress instance on an Amazon EC2 instance with the help of Puppet and Joyent appliance, migrating to Linode, and finally, to Amazon with a Bitnami stack, we noticed the common pain of manually configuring each of these environments. Bitnami caused us an even bigger headache by being very difficult to update (apt-get doesn't update the bitnami wrapped AMP stack). We decided to get full control of our box by setting up a stock Debian LAMP stack on AWS using Puppet and git to manage our sites. Here's a gentle introduction on how we did it.

He guides you through the entire process:

  • Setting up a micro instance on EC2
  • Signing up for unfuddle (for git)
  • Installing Puppet (standalone)
  • Setting up your git repository to point to unfuddle
  • The needed Puppet configuration files to get the WordPress instance deployed

Complete code (and commands) are provided in the post.

0 comments voice your opinion now!
wordpress ec2 puppet install git tutorial unfuddle


A Cloudy Place:
PHP and Git on AWS Elastic Beanstalk
March 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.

0 comments voice your opinion now!
aws elastic beanstalk ec2 amazon git tutorial


Dzone.com:
A Free Amazon EC2 Cloud Server Based LAMP
February 22, 2012 @ 10:42:17

In this new article on DZone.com, Artur Mkrtchyan shows you how to get an Amazon EC2 instance up and running and get a LAMP server set up and ready to go.

In this article I'm going to show you how to create a free Amazon EC2 cloud based LAMP Server and Point your domain to Amazon EC2 Instance. There are 4 simple steps to do.

The setup process is pretty easy - getting an Amazon free account, creating a server from an existing image, installing the LAMP stack and pointing your domain at the EC2 instance. He gives a step-by-step guide of the process, including the commands you'll need to execute to get all of the LAMP packages installed.

0 comments voice your opinion now!
lamp stack amazon ec2 instance tutorial cloud server


Matthew Turland's Blog:
Setting up EC2 for Drupal with Puppet
February 14, 2012 @ 11:14:40

In this new post to his blog Matthew Turland shows how to set up a puppet configuration to deploy and set up an EC2 environment for Drupal.

I'm currently working on a project that involves running Drupal on Amazon EC2. To save time in setting up future new VM instances, I decided to take the opportunity to learn puppet. For the time being, I'm using a single VM to run the full LAMP stack and running puppet without a server by copying my puppet manifest to the VM and using puppet's apply command to apply it locally. However, this manifest can easily be adapted for a multi-VM environment.

He includes the full configuration in the post that does a few things including setting up the correct PHP timezone, starting up the Apache instance, installing a few PHP modules (like PDO, MySQL and GD) and setting up the MySQL server. He also includes the commands needed to run the configuration and point it at the correct EC2 instance.

0 comments voice your opinion now!
drupal puppet configuration setup virtualmachine vm ec2 amazon


PHPMaster.com:
From Zero to Cloud Setting up an EC2 Sandbox, Part 3
September 22, 2011 @ 08:42:22

SitePoint's PHPMaster has a new post today, the third part of a series helping you get your application from "zero to cloud" on an Amazon EC2 setup. In this latest post they wrap things up by showing how to set up the full lamp stack on the remote server. Here's part one and two that lead up to this latest part.

This is the final article in a three part series focused on setting up EC2 as a sandbox for application developers. I assume you have an AWS account with Amazon; if you don't, please read Part 1 to learn how easy it is to sign up. I also assume you have configured your development environment and installed an AMI; if you haven't, please read Part 2. In this installment, we'll learn how to install Apache, MySQL and PHP in our running AMI, and then clone the AMI to make our own.

Included in the post are all the commands you'll need to get the packages installed for PHP, MySQL, Apache 2, PEAR and the PHP command line binary. With all of that installed, they show you how to create an AMI (Amazon Machine Image) to make it easier to scale in the future.

0 comments voice your opinion now!
tutorial amazon aws image machine scale ec2 instance


SitePoint.com:
WordPress in the Cloud with Amazon EC2 and the Microsoft Web Platform
July 14, 2010 @ 11:03:58

On SitePoint.com today there's a new guide posted about how to get a WordPress instance up and running on an Amazon EC2 instance and the Microsoft Web Platform.

One claim I often hear from web developers, especially those who offer website design and consulting services, is their need to quickly launch websites that run fast and give them total control of the server for maximum flexibility and scalability. This is a quick tutorial on how to do just that, with a guided tour on how to run WordPress on Amazon's EC2 Cloud and the Microsoft Web Platform. [...] WordPress and EC2 come together in a really slick way, giving you a super-fast blog or website in just a few minutes.

For those that don't already have an EC2 instance, he helps you get that set up first complete with an almost one-click install of a WordPress instance. With the help of the Web Platform Installer you can easily install not only WordPress but all of the other technology it needs to get running quickly. Screenshots accompany the tutorial descriptions to help make the whole process even simpler.

0 comments voice your opinion now!
amazon ec2 platform webplatforminstaller wordpress tutorial


Zend Developer Zone:
Get Your Cloud on with Zend Server CE
July 22, 2009 @ 13:38:13

New on the Zend Developer Zone today Wil Sinclair has this new article looking at the Zend Server Community Edition and getting it set up on the EC2 service from Amazon via a special image they've already created.

The barrier to entry for EC2 is relatively low, but there are a few new concepts to get under your belt. The first- and possibly most important- decision you'll face is what AMI to use. Zend has just made this decision a lot easier. We've prepared an AMI with a fully optimized, feature-complete installation of Zend Server CE.

The rest of the tutorial walks you through the process of getting the EC2 account up and running, a quick look at the AWS Management Console and how to get the Zend CE image out to the instance and up and running (responding to requests on port 18001).

0 comments voice your opinion now!
webservice ec2 amazon cloud zendserver


Zend Developer Zone:
Zend Framework 1.8.0 Released
May 01, 2009 @ 08:43:54

The latest version of the Zend Framework has officially been released - version 1.8, the first in the 1.8.x series with lots of new features including components encouraging the rapid application development functionality the framework already has and additional features to make it easier to use ZF in "the cloud".

I'm pleased to announce the Zend Framework 1.8.0 release, the first in our 1.8 series of releases. This release marks the culmination of several long-standing projects, as well as a formalization of many of our recommended practices.

The new rapid application development features include something that's been a long time coming, Zend_Tool. It gives you a command-line interface to build out ZF project parts and configure/display settings for them. Zend_Application was also released in relation to provide a standardized way for boostraping applications with either default configurations or custom settings.

Since cloud computing use has been on the rise, the ZF development team has added in two new components - interfaces for Amazon's Simple Storage Service and the Elastic Compute Cloud.

You can read more in the official press release from Zend.

0 comments voice your opinion now!
zendframework release zendtool zendapplication amazon cloud s3 ec2



Community Events











Don't see your event here?
Let us know!


symfony2 install code example component release language unittest framework overview application hack podcast introduction facebook opinion composer hhvm package security

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework