First Hand Experience with AWS – Elastic Beanstalk

Dear All

In this post, I will try to demonstrate how to use AWS – Elastic Beanstalk for an open source php application.

Pre-Requisite: AWS Account + GIT account

Difficulty level : Hard for novice (first comer) or Damn easy for expert

Target date to complete: 25 April ( in 2 day time)

Steps [ I will update as an when I make progress ]:

1:  Get a quick overview of AWS – Elastic Beanstalk.

2: Setup a GIT repository

3: Upload Code to AWS – Elastic Beanstalk application container

We may face issues and error. I will try to keep a screenshot of each and will let you know how i tried to tackle.

##########################################################

Lets start now

##########################################################

 

A: What is Amazon Elastic Beanstalk

URL : https://console.aws.amazon.com/elasticbeanstalk/home?region=us-east-1#/getting_started?applicationNameFilter=

With Elastic Beanstalk, you can deploy, monitor, and scale an application quickly and easily. Let us do the heavy lifting so you can focus on your busines

 

Step A.1 ->  Creating an Application Source Bundle  [http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features.deployment.source.html]

Fo this post, I will use some open source (wordpress).  Will download from wordpress [https://wordpress.org/download/]  and keep a ZIP file ready.

 

Step A.2 -> Create a new application

Simply follow one page wizard

 

Step A.3 ->  Choose “Worker” or ” Web Server” enviroment.

As it is wordpress ( kind of website / web application), I will use “Web server” enviroment.

 

Step A.4 -> Create IAM Role for  appropriate permissions else use existing one.

For this post, I will create a new Role

 

Thanks

Vishal