Skip to content

A random images flask app deployed to AWS ElasticBeanstalk using Docker

Notifications You must be signed in to change notification settings

Vishalsolanki7/flask-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flask-app

A random images flask app deployed to AWS ElasticBeanstalk using Docker.

Using the Dockerfile run the below commands

#Commands required for docker image publish

  1. Build Docker Image docker build -t .

  2. Run container /w image docker run -d --publish 8888:5000

  3. Login to ECR aws ecr get-login-password --region | docker login --username AWS --password-stdin .dkr.ecr..amazonaws.com

  4. Tag the version docker tag test:latest .dkr.ecr.-1.amazonaws.com/:

  5. Upload docker push .dkr.ecr..amazonaws.com/YOURREPO:YOURTAG

#Commands required for Elastic Beanstalk

  1. From Elastic beanstalk console : Create New Application > choose : Web Server Environment and Under base configuration section > Choose Docker
  2. Upload Dockerrun.aws.json file as source code.

About

A random images flask app deployed to AWS ElasticBeanstalk using Docker

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published