Giter Club home page Giter Club logo

php-beanstalk's Introduction

Elastic Beanstalk PHP Application Deployment

diagram-design

Part 1 - Launch an Application

  • First download the php-v1.zip and php-v2.zip files from GitHub and share them via Slack.

  • Go to Elastic Beanstalk service on AWS console.

  • Click Create Application.

  • Enter your application name MySampleApp. (You can also add Application tags if you need.)

  • Select PHP for Platform, PHP 8.0.13 running on 64bit Amazon Linux 2 for Platform Branch and (Recommended) for Platform Version.

  • Select Upload your code for Application code.

  • Type mysampleapp-source-V1 for Version label and select Local file. Then click choose file and upload php-v1.zip file. Check File successfully uploaded to be sure.

  • Click Create Application.

  • Wait for Elastic Beanstalk to create the environment for the application. Show the resources being created and listed on the console.

  • After the creation of the environment click the link (Application URL) and show the Web Page.

  • From the left-hand menu show the app and env menus, talk about them. Click on the tabs like Configuration, Monitoring etc. and explain them.

  • Go to EC2 service on AWS console and show the resources

  • Instances,

  • Load Balancers,

  • ASG,

  • CloudFormation

  • S3 bucket created by Elastic Beanstalk.

  • Show that even you copy and paste the public IP of the instace created by EB nothing happened in browser. Explian the security group and source part of it.

Part 2 - Update the Application

Step 1 - Update the Application

  • Go to Elastic Beanstalk service on AWS console.

  • Explain the deployment policies:

https://blog.shikisoft.com/which_elastic_beanstalk_deployment_should_you_use/

  • Click Mysampleapp-env on the left hand menu, and click Upload and deploy to update the application. (You can also click Application versions on the left hand menu, and then click Upload to update but you have to deploy it manually)
- Choose file           : php-v2.zip
- Version label         : mysampleapp-source-V2

- Deployment Preferences : Keep it as is `All At Once`
  • Wait for Elastic Beanstalk to update the application.

  • After the update completed click the link (Application URL) and show the Updated Web Page.

  • Click Mysampleapp >> Application versions and show we have one app but two versions.

version

php-beanstalk's People

Contributors

devenes avatar

Watchers

 avatar  avatar

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.