Update application in Develop environment

  1. Extract file nodejs.zip as a folder with name is nodejs-V2. Search BeanStalk

  2. Open nodejs-V2 folder, edit file index.html.

    • At line 38, replace 73A53E with 0000FF and save. Search BeanStalk
  3. Zip all files in folder nodejs-V2 to nodejs-V2.zip.

    You can download this file nodejs-V2.zip to skip these steps.

    Search BeanStalk

  4. Go to Environment of Elastic Beanstalk.

  5. Click to Develop environment FCJ-My-First-App-env-DEV. Search BeanStalk

  6. Click Upload and deploy. Search BeanStalk

  7. At Upload and deploy interface.

    • Click Choose file button to upload source code file from your local machine.
    • Select and upload file name nodejs-V2.zip.
    • Input V2-BLUE-DEV at Version label.
    • Click Deploy. Deploy App
  8. After few seconds, your application is uploaded successfully into Develop environment. Click to Domain to see the results. Deploy App Deploy App

At this time, background of Develop environment is Blue and Production environment is Green.