{"_id":"5bb512a23ceb9c0003a7514f","project":"54cf411f9d09bb0d00a17a1c","version":{"_id":"54cf411f9d09bb0d00a17a1f","project":"54cf411f9d09bb0d00a17a1c","__v":16,"createdAt":"2015-02-02T09:19:27.656Z","releaseDate":"2015-02-02T09:19:27.656Z","categories":["54cf41209d09bb0d00a17a20","54cfb99bbba1a023008741af","54cfb9a65ff7e617002bbd7f","54cfba03bba1a023008741b6","54cfba0ebba1a023008741b8","54cfba19bba1a023008741b9","54cfba29bba1a023008741bb","54cfba345ff7e617002bbd87","54cfba3ebba1a023008741bc","54cfba473995cf0d0006f6f0","54e371b18ef7552300409bf2","54e37aa5e887c50d005ef629","555a4e9b147f91190092d137","56b0e91802f4bc0d006ce254","5bb4f4e01635b500032b94fd","5c05a785ceb5b80220cf0e93"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"category":{"_id":"5bb4f4e01635b500032b94fd","project":"54cf411f9d09bb0d00a17a1c","version":"54cf411f9d09bb0d00a17a1f","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2018-10-03T16:57:04.619Z","from_sync":false,"order":7,"slug":"migrating","title":"Migrating Your Workspace"},"user":"5bac0709475b5d000364fa42","__v":0,"parentDoc":null,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2018-10-03T19:04:02.075Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":9,"body":"There are several ways that you can install a database in your development environment. \n\nFor example, for MongoDB, if you created an [AWS Cloud9 EC2 development environment](https://docs.aws.amazon.com/cloud9/latest/user-guide/environments.html), then with your environment [open](https://docs.aws.amazon.com/cloud9/latest/user-guide/open-environment.html), follow these instructions by AWS for [MongoDB (Community Edition)](https://docs.mongodb.com/manual/tutorial/install-mongodb-on-amazon/).\n\n:information-source: AWS Cloud9 EC2 development environments come preinstalled with MySQL. For a list of other preinstalled components, see [AMI Contents](https://docs.aws.amazon.com/cloud9/latest/user-guide/ami-contents.html) in the *AWS Cloud9 User Guide*.\n\nFor other examples, if you created an AWS Cloud9 development environment, then with your AWS Cloud9 environment [open](https://docs.aws.amazon.com/cloud9/latest/user-guide/open-environment.html), see the following web-provided content:\n\n* [MySQL](https://dev.mysql.com/doc/refman/8.0/en/installing.html)\n* [PostgreSQL](https://www.postgresql.org/download/)\n* [MongoDB](https://docs.mongodb.com/manual/installation/)\n\n:information-source: AWS also provides databases that you can create in the AWS Cloud instead of in an AWS Cloud9 development environment. Then you can use the AWS Cloud9 IDE or the AWS Management Console to work with those newly created databases. For more information, see [Databases on AWS](https://aws.amazon.com/products/databases/) on the AWS website, or:\n\n* [MySQL on Amazon RDS](https://aws.amazon.com/getting-started/tutorials/create-mysql-db/)\n* [PostgreSQL on Amazon RDS](https://aws.amazon.com/getting-started/tutorials/create-connect-postgresql-db/)","excerpt":"","slug":"installing-a-database","type":"basic","title":"Installing a Database"}

Installing a Database


There are several ways that you can install a database in your development environment. For example, for MongoDB, if you created an [AWS Cloud9 EC2 development environment](https://docs.aws.amazon.com/cloud9/latest/user-guide/environments.html), then with your environment [open](https://docs.aws.amazon.com/cloud9/latest/user-guide/open-environment.html), follow these instructions by AWS for [MongoDB (Community Edition)](https://docs.mongodb.com/manual/tutorial/install-mongodb-on-amazon/). :information-source: AWS Cloud9 EC2 development environments come preinstalled with MySQL. For a list of other preinstalled components, see [AMI Contents](https://docs.aws.amazon.com/cloud9/latest/user-guide/ami-contents.html) in the *AWS Cloud9 User Guide*. For other examples, if you created an AWS Cloud9 development environment, then with your AWS Cloud9 environment [open](https://docs.aws.amazon.com/cloud9/latest/user-guide/open-environment.html), see the following web-provided content: * [MySQL](https://dev.mysql.com/doc/refman/8.0/en/installing.html) * [PostgreSQL](https://www.postgresql.org/download/) * [MongoDB](https://docs.mongodb.com/manual/installation/) :information-source: AWS also provides databases that you can create in the AWS Cloud instead of in an AWS Cloud9 development environment. Then you can use the AWS Cloud9 IDE or the AWS Management Console to work with those newly created databases. For more information, see [Databases on AWS](https://aws.amazon.com/products/databases/) on the AWS website, or: * [MySQL on Amazon RDS](https://aws.amazon.com/getting-started/tutorials/create-mysql-db/) * [PostgreSQL on Amazon RDS](https://aws.amazon.com/getting-started/tutorials/create-connect-postgresql-db/)