/flaskhelloworld

Flask application Hello World using AWS Elastic Beanstalk

Primary LanguagePython

Hello World - Flask application

Aplicação Flask Hello World usando AWS Elastic Beanstalk com Continuous Delivery through AWS CodeBuild

Pré-requisitos

Steps

  1. Create a folder with files:

    Makefile: with make instructions

    requirements.txt: with python packages

    buildspec.yml: with build specifications for CodeBuild

  2. Write a Flask application

    application.py

  3. Optionally, write tests

    test_application.py

  4. Create application and enviroment with Elastic Beanstalk CLI

    eb init -p python-3.7 flaskhelloworld --region sa-east-1
    eb init
    eb create flaskhelloworld-env
    eb open
    eb terminate flaskhelloworld-env
    
  5. Create CodeBuild project and link to github repository

  6. Commit changes and check CodeBuild project build status.

References