Giter Club home page Giter Club logo

aws-demo-php-eb-elasticache's Introduction

Description

Show how to deploy a sample PHP application on AWS Elastic Beanstalk using AutoScaling, LoadBalancer, and a pre-existing ElastiCache (memcached) cluster for PHP session storage. The required EC2 instances will be created within a pre-existing VPC and subnets.

Requirements

a) You need to install the Elastic Beanstalk Command Line Interface (EB CLI) - See the instructions.

b) Have a previously created VPC and its subnets.

c) Have a previously created ElastiCache cluster.

NOTE: You may automate b and c using Elastic Beanstalk Environment Resources. For the purposes of this demo, we assume you already have a VPC and a ElastiCache cluster.

Steps to deploy

  1. Clone

    git clone https://github.com/jweyrich/aws-demo-php-eb-elasticache.git
    cd aws-demo-php-eb-elasticache
    
  2. Configure required details

a) Edit VPC/EC2 details on .ebextensions\01_instance.config.

b) Edit the ElastiCache host on .ebextensions\04_memcached.config.

c) Add and commit your changes:

```
git commit -a -m 'My changes.'
```
  1. Deploy

    eb deploy
    

aws-demo-php-eb-elasticache's People

Contributors

jweyrich avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

sivalalthampi

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.