[英]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. 我是Elastic Beanstalk Multidocker容器的新手,我想要澄清一些事情。
Scenario : In my development environment, I have 3 docker containers - PHP , Nginx and MySQL containers. 场景 :在我的开发环境中,我有3个docker容器 - PHP , Nginx和MySQL容器。
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? 问题:在将项目部署到AWS Elastic Beanstalk时 ,是否应该部署包含MySQL容器的项目(似乎更容易?),还是应该在AWS上创建新的RDS数据库? What's the proper way to do it?
这样做的正确方法是什么?
You should probably use the RDS instance instead of a MySQL container. 您应该使用RDS实例而不是MySQL容器。 Database scaling, redundancy and backups can be tricky.
数据库扩展,冗余和备份可能很棘手。 RDS does that heavy lifting for you.
RDS为您做了那么重的事。 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.
除非你是一名有经验的DBA,否则我建议你不要自己管理数据库集群。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.