config files for installing mongodb in AWS Elastic Beanstalk instance
config files should be placed in root app folder in .ebextention folder.
taken from: http://agilisto.blogspot.ca/2013/05/deploy-applications-to-amazon-elastic.html
| files: | |
| "/etc/yum.repos.d/10gen.repo": | |
| mode: "000777" | |
| owner: root | |
| group: root | |
| content: | | |
| [10gen] | |
| name=10gen Repository | |
| baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64 | |
| gpgcheck=0 | |
| enabled=1 |
| packages: | |
| yum: | |
| mongo-10gen: [] | |
| mongo-10gen-server: [] |
| commands: | |
| 01UpdateConfig: | |
| command: "chkconfig mongod on" | |
| 02StartService: | |
| command: "/etc/init.d/mongod start" |
config files for installing mongodb in AWS Elastic Beanstalk instance
config files should be placed in root app folder in .ebextention folder.
taken from: http://agilisto.blogspot.ca/2013/05/deploy-applications-to-amazon-elastic.html