Docker deployment of flask app with Celery and Redis in AWS, DB in AWS RDSHow is Docker different from a virtual machine?Should I use Vagrant or Docker for creating an isolated environment?How to list containers in DockerHow to get a Docker container's IP address from the host?How to remove old Docker containersHow to deal with persistent storage (e.g. databases) in DockerCopying files from Docker container to hostCopying files from host to Docker containerHow to copy Docker images from one host to another without using a repositorydocker compose application unable to see redis server

Nominativ or Akkusativ

"I'm know" is correct?

In Russian, how do you idiomatically express the idea of the figurative "overnight"?

Pressure inside an infinite ocean?

Introducing Gladys, an intrepid globetrotter

What does "Managed by Windows" do in the Power options for network connection?

Will 700 more planes a day fly because of the Heathrow expansion?

ZSPL language, anyone heard of it?

PWM 1Hz on solid state relay

Can there be a single technologically advanced nation, in a continent full of non-technologically advanced nations?

Did we get closer to another plane than we were supposed to, or was the pilot just protecting our delicate sensibilities?

Is the set of non invertible matrices simply connected? What are their homotopy and homology groups?

What does this wavy downward arrow preceding a piano chord mean?

Shutter speed -vs- effective image stabilisation

Are pressure-treated posts that have been submerged for a few days ruined?

Upside-Down Pyramid Addition...REVERSED!

IP addresses from public IP block in my LAN

Why does sound not move though a wall?

Emotional immaturity of comic-book version of superhero Shazam

What are the differences between credential stuffing and password spraying?

How does this change to the opportunity attack rule impact combat?

29er Road Tire?

Appropriate certificate to ask for a fibre installation (ANSI/TIA-568.3-D?)

Why are UK Bank Holidays on Mondays?



Docker deployment of flask app with Celery and Redis in AWS, DB in AWS RDS


How is Docker different from a virtual machine?Should I use Vagrant or Docker for creating an isolated environment?How to list containers in DockerHow to get a Docker container's IP address from the host?How to remove old Docker containersHow to deal with persistent storage (e.g. databases) in DockerCopying files from Docker container to hostCopying files from host to Docker containerHow to copy Docker images from one host to another without using a repositorydocker compose application unable to see redis server






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















I need to deploy a Flask app with Celery and Redis to Amazon AWS. I'm used to work with AWS Lightsail and this will be my option.



By the other side I must( as per company policy) deploy my Postgres DB to AWS RDS



Im planing to use Dockers with Ngix, Unicorn in the AWS Lightsail to deploy the app that as I said uses Celery and Redis. So all this will be in the docker in Lightsail



By the other side the DB will be in RDS without using docker



What I want with this approach is a quick deployment of changes and upgrades to the app .



What I want to know is this :



1-Is this a good approach to production, that will help me in quick deployments ?
2-Does anybody know of some examples of docker-compose files that could help me with this ?
3-Could someone please let me know some limitation in this approach and
4-Is Lightsail a good option in AWS for a Docker deployment of flask apps as the one described here ?



Thanks










share|improve this question






















  • I'm voting to close this question as off-topic because planning your whole system architecture is beyond the focus of Stack Overflow.

    – Klaus D.
    Mar 7 at 4:06

















0















I need to deploy a Flask app with Celery and Redis to Amazon AWS. I'm used to work with AWS Lightsail and this will be my option.



By the other side I must( as per company policy) deploy my Postgres DB to AWS RDS



Im planing to use Dockers with Ngix, Unicorn in the AWS Lightsail to deploy the app that as I said uses Celery and Redis. So all this will be in the docker in Lightsail



By the other side the DB will be in RDS without using docker



What I want with this approach is a quick deployment of changes and upgrades to the app .



What I want to know is this :



1-Is this a good approach to production, that will help me in quick deployments ?
2-Does anybody know of some examples of docker-compose files that could help me with this ?
3-Could someone please let me know some limitation in this approach and
4-Is Lightsail a good option in AWS for a Docker deployment of flask apps as the one described here ?



Thanks










share|improve this question






















  • I'm voting to close this question as off-topic because planning your whole system architecture is beyond the focus of Stack Overflow.

    – Klaus D.
    Mar 7 at 4:06













0












0








0


1






I need to deploy a Flask app with Celery and Redis to Amazon AWS. I'm used to work with AWS Lightsail and this will be my option.



By the other side I must( as per company policy) deploy my Postgres DB to AWS RDS



Im planing to use Dockers with Ngix, Unicorn in the AWS Lightsail to deploy the app that as I said uses Celery and Redis. So all this will be in the docker in Lightsail



By the other side the DB will be in RDS without using docker



What I want with this approach is a quick deployment of changes and upgrades to the app .



What I want to know is this :



1-Is this a good approach to production, that will help me in quick deployments ?
2-Does anybody know of some examples of docker-compose files that could help me with this ?
3-Could someone please let me know some limitation in this approach and
4-Is Lightsail a good option in AWS for a Docker deployment of flask apps as the one described here ?



Thanks










share|improve this question














I need to deploy a Flask app with Celery and Redis to Amazon AWS. I'm used to work with AWS Lightsail and this will be my option.



By the other side I must( as per company policy) deploy my Postgres DB to AWS RDS



Im planing to use Dockers with Ngix, Unicorn in the AWS Lightsail to deploy the app that as I said uses Celery and Redis. So all this will be in the docker in Lightsail



By the other side the DB will be in RDS without using docker



What I want with this approach is a quick deployment of changes and upgrades to the app .



What I want to know is this :



1-Is this a good approach to production, that will help me in quick deployments ?
2-Does anybody know of some examples of docker-compose files that could help me with this ?
3-Could someone please let me know some limitation in this approach and
4-Is Lightsail a good option in AWS for a Docker deployment of flask apps as the one described here ?



Thanks







python amazon-web-services docker flask docker-compose






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 7 at 3:57









DTGDTG

4210




4210












  • I'm voting to close this question as off-topic because planning your whole system architecture is beyond the focus of Stack Overflow.

    – Klaus D.
    Mar 7 at 4:06

















  • I'm voting to close this question as off-topic because planning your whole system architecture is beyond the focus of Stack Overflow.

    – Klaus D.
    Mar 7 at 4:06
















I'm voting to close this question as off-topic because planning your whole system architecture is beyond the focus of Stack Overflow.

– Klaus D.
Mar 7 at 4:06





I'm voting to close this question as off-topic because planning your whole system architecture is beyond the focus of Stack Overflow.

– Klaus D.
Mar 7 at 4:06












1 Answer
1






active

oldest

votes


















0














When I asked this question, was looking for some examples of easy deployment of medium complexity apps to AWS. The app itself used Celery Redis and Amazon AWS RDS postgress DB. The deployment to Amazon Lightsail was pretty simple after I look a video in you tube from an Amazon Engineer. I basically created the container in my local laptop , used an initial script while deploying an OS only Ubuntu instance and that scrip loaded a daemon so Ubuntu "system" could daemonize my Docker deployment when restarting. I created 3 videos in you tube where I explained everything.



If someone needs help with this see the videos at:



  1. Dockerize Flask API ,NGINX, GUNICORN, CELERY,REDIS to Amazon AWS
    Part1:3

  2. Dockerize Flask API ,NGINX, GUNICORN, CELERY,REDIS to Amazon
    AWS Part2:3

  3. Dockerize Flask API ,NGINX, GUNICORN, CELERY,REDIS to
    Amazon AWS Part3:3

Links below:




  • Part1:3


  • Part2:3

  • Part3:3





share|improve this answer























    Your Answer






    StackExchange.ifUsing("editor", function ()
    StackExchange.using("externalEditor", function ()
    StackExchange.using("snippets", function ()
    StackExchange.snippets.init();
    );
    );
    , "code-snippets");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "1"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55035816%2fdocker-deployment-of-flask-app-with-celery-and-redis-in-aws-db-in-aws-rds%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    When I asked this question, was looking for some examples of easy deployment of medium complexity apps to AWS. The app itself used Celery Redis and Amazon AWS RDS postgress DB. The deployment to Amazon Lightsail was pretty simple after I look a video in you tube from an Amazon Engineer. I basically created the container in my local laptop , used an initial script while deploying an OS only Ubuntu instance and that scrip loaded a daemon so Ubuntu "system" could daemonize my Docker deployment when restarting. I created 3 videos in you tube where I explained everything.



    If someone needs help with this see the videos at:



    1. Dockerize Flask API ,NGINX, GUNICORN, CELERY,REDIS to Amazon AWS
      Part1:3

    2. Dockerize Flask API ,NGINX, GUNICORN, CELERY,REDIS to Amazon
      AWS Part2:3

    3. Dockerize Flask API ,NGINX, GUNICORN, CELERY,REDIS to
      Amazon AWS Part3:3

    Links below:




    • Part1:3


    • Part2:3

    • Part3:3





    share|improve this answer



























      0














      When I asked this question, was looking for some examples of easy deployment of medium complexity apps to AWS. The app itself used Celery Redis and Amazon AWS RDS postgress DB. The deployment to Amazon Lightsail was pretty simple after I look a video in you tube from an Amazon Engineer. I basically created the container in my local laptop , used an initial script while deploying an OS only Ubuntu instance and that scrip loaded a daemon so Ubuntu "system" could daemonize my Docker deployment when restarting. I created 3 videos in you tube where I explained everything.



      If someone needs help with this see the videos at:



      1. Dockerize Flask API ,NGINX, GUNICORN, CELERY,REDIS to Amazon AWS
        Part1:3

      2. Dockerize Flask API ,NGINX, GUNICORN, CELERY,REDIS to Amazon
        AWS Part2:3

      3. Dockerize Flask API ,NGINX, GUNICORN, CELERY,REDIS to
        Amazon AWS Part3:3

      Links below:




      • Part1:3


      • Part2:3

      • Part3:3





      share|improve this answer

























        0












        0








        0







        When I asked this question, was looking for some examples of easy deployment of medium complexity apps to AWS. The app itself used Celery Redis and Amazon AWS RDS postgress DB. The deployment to Amazon Lightsail was pretty simple after I look a video in you tube from an Amazon Engineer. I basically created the container in my local laptop , used an initial script while deploying an OS only Ubuntu instance and that scrip loaded a daemon so Ubuntu "system" could daemonize my Docker deployment when restarting. I created 3 videos in you tube where I explained everything.



        If someone needs help with this see the videos at:



        1. Dockerize Flask API ,NGINX, GUNICORN, CELERY,REDIS to Amazon AWS
          Part1:3

        2. Dockerize Flask API ,NGINX, GUNICORN, CELERY,REDIS to Amazon
          AWS Part2:3

        3. Dockerize Flask API ,NGINX, GUNICORN, CELERY,REDIS to
          Amazon AWS Part3:3

        Links below:




        • Part1:3


        • Part2:3

        • Part3:3





        share|improve this answer













        When I asked this question, was looking for some examples of easy deployment of medium complexity apps to AWS. The app itself used Celery Redis and Amazon AWS RDS postgress DB. The deployment to Amazon Lightsail was pretty simple after I look a video in you tube from an Amazon Engineer. I basically created the container in my local laptop , used an initial script while deploying an OS only Ubuntu instance and that scrip loaded a daemon so Ubuntu "system" could daemonize my Docker deployment when restarting. I created 3 videos in you tube where I explained everything.



        If someone needs help with this see the videos at:



        1. Dockerize Flask API ,NGINX, GUNICORN, CELERY,REDIS to Amazon AWS
          Part1:3

        2. Dockerize Flask API ,NGINX, GUNICORN, CELERY,REDIS to Amazon
          AWS Part2:3

        3. Dockerize Flask API ,NGINX, GUNICORN, CELERY,REDIS to
          Amazon AWS Part3:3

        Links below:




        • Part1:3


        • Part2:3

        • Part3:3






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Mar 22 at 23:21









        DTGDTG

        4210




        4210





























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55035816%2fdocker-deployment-of-flask-app-with-celery-and-redis-in-aws-db-in-aws-rds%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

            용인 삼성생명 블루밍스 목차 통계 역대 감독 선수단 응원단 경기장 같이 보기 외부 링크 둘러보기 메뉴samsungblueminx.comeh선수 명단용인 삼성생명 블루밍스용인 삼성생명 블루밍스ehsamsungblueminx.comeheheheh

            155 수학 과학 기타 둘러보기 메뉴eh추가해eh문서를 완성해