简体   繁体   中英

Use database container or RDS database on AWS Elastic Beanstalk Multidocker containers

I am very new to Elastic Beanstalk Multidocker containers, I want something to be clarified.

Scenario : In my development environment, I have 3 docker containers - PHP , Nginx and MySQL containers.

Question: When deploying my project to AWS Elastic Beanstalk , should I deploy my project including MySQL container (Seems easier?), or should I create a new RDS database on AWS? What's the proper way to do it?

You should probably use the RDS instance instead of a MySQL container. Database scaling, redundancy and backups can be tricky. RDS does that heavy lifting for you. The database is the crown jewel of your stack; unless you're a DBA with experience, I would advise to steer clear of managing a database cluster yourself.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM