DEV Community

Discussion on: How I Structure My Flask Apps

Collapse
 
costular profile image
Diego Francisco Concepción

The fourth question means:
How do you deploy your monolith/microservices to your server?

Thread Thread
 
itachiuchiha profile image
Itachi Uchiha

Hmm. I'm using the EB CLI.

Firstly, I install it.

pip install awsebcli — upgrade

I also set secret keys for the elastic bean in the ~/.aws/config file.

[profile eb-cli]
aws_access_key_id = MY_KEY
aws_secret_access_key = MY_SECRET

and then I use these commands.

eb init -p python-3.6 my-flask-app — region WHICH_REGION_DO_YOU_USE

eb init

eb create flask-env

eb open

Did you mean this? :P I hope :/)

Thread Thread
 
dbanty profile image
Dylan Anthony

Yes, thank you. I’ve never used elastic beanstalk before, I’ll add it to the list of services to explore. Thanks for all your answers!

Thread Thread
 
itachiuchiha profile image
Itachi Uchiha • Edited

Actually, I only used it twice times. I'll use gcloud or azure next times. (This is my plan). Thanks :)